public class RestServiceMethodHandler extends java.lang.Object implements IRestCallHandler
Constructor and Description |
---|
RestServiceMethodHandler(Endpoint endpoint,
RestServiceApiDescriptor.MethodDescriptor methodDescriptor,
java.util.List<java.lang.String> pathParamNames,
ParameterBuilder<? extends java.lang.Object>[] parameterBuilders,
java.util.regex.Pattern pathRegexp,
ResponseBuilder responseBuilder,
java.util.List<IRestFilter> filters) |
Modifier and Type | Method and Description |
---|---|
void |
call(RestRequest request,
AsyncHandler<RestResponse> response) |
static RestServiceMethodHandler |
getInstance(RestService service,
RestServiceApiDescriptor.MethodDescriptor methodDescriptor,
java.util.List<IRestFilter> filters) |
protected void |
handle(SecurityContext securityContext,
RestRequest request,
AsyncHandler<RestResponse> response) |
java.lang.String |
name() |
public RestServiceMethodHandler(Endpoint endpoint, RestServiceApiDescriptor.MethodDescriptor methodDescriptor, java.util.List<java.lang.String> pathParamNames, ParameterBuilder<? extends java.lang.Object>[] parameterBuilders, java.util.regex.Pattern pathRegexp, ResponseBuilder responseBuilder, java.util.List<IRestFilter> filters)
public java.lang.String name()
name
in interface IRestCallHandler
public static RestServiceMethodHandler getInstance(RestService service, RestServiceApiDescriptor.MethodDescriptor methodDescriptor, java.util.List<IRestFilter> filters)
public void call(RestRequest request, AsyncHandler<RestResponse> response)
call
in interface IRestCallHandler
protected void handle(SecurityContext securityContext, RestRequest request, AsyncHandler<RestResponse> response) throws ServerFault
ServerFault
Copyright © 2021. All Rights Reserved.