Package net.bluemind.core.rest.base
Class RestServiceMethodHandler
java.lang.Object
net.bluemind.core.rest.base.RestServiceMethodHandler
- All Implemented Interfaces:
IRestCallHandler
-
Constructor Summary
ConstructorDescriptionRestServiceMethodHandler
(Endpoint endpoint, RestServiceApiDescriptor.MethodDescriptor methodDescriptor, List<String> pathParamNames, ParameterBuilder<? extends Object>[] parameterBuilders, Pattern pathRegexp, ResponseBuilder responseBuilder, List<IRestFilter> filters) -
Method Summary
Modifier and TypeMethodDescriptionvoid
call
(RestRequest request, AsyncHandler<RestResponse> response) static RestServiceMethodHandler
getInstance
(RestService service, RestServiceApiDescriptor.MethodDescriptor methodDescriptor, List<IRestFilter> filters) name()
-
Constructor Details
-
RestServiceMethodHandler
public RestServiceMethodHandler(Endpoint endpoint, RestServiceApiDescriptor.MethodDescriptor methodDescriptor, List<String> pathParamNames, ParameterBuilder<? extends Object>[] parameterBuilders, Pattern pathRegexp, ResponseBuilder responseBuilder, List<IRestFilter> filters)
-
-
Method Details
-
name
- Specified by:
name
in interfaceIRestCallHandler
-
getInstance
public static RestServiceMethodHandler getInstance(RestService service, RestServiceApiDescriptor.MethodDescriptor methodDescriptor, List<IRestFilter> filters) -
call
- Specified by:
call
in interfaceIRestCallHandler
-