@Override
    public HttpResponse serve(ServiceRequestContext ctx, HttpRequest req) throws Exception {
        return function.serve((HttpService) unwrap(), ctx, req);
    }
Creates a new instance with the specified function.
core/src/main/java/com/linecorp/armeria/server/FunctionalDecoratingHttpService.java