@Deprecated public class DefaultRequestHandlerChain extends BaseRequestHandlerChain<HandlerInput,Optional<Response>> implements RequestHandlerChain
RequestHandlerChain
. Handlers are typed to GenericRequestHandler
.Modifier and Type | Class and Description |
---|---|
static class |
DefaultRequestHandlerChain.Builder
Deprecated.
DefaultRequestHandlerChain Builder.
|
exceptionHandlers, handler, requestInterceptors, responseInterceptors
Modifier | Constructor and Description |
---|---|
protected |
DefaultRequestHandlerChain(GenericRequestHandler<HandlerInput,Optional<Response>> handler,
List<GenericRequestInterceptor<HandlerInput>> requestInterceptors,
List<GenericResponseInterceptor<HandlerInput,Optional<Response>>> responseInterceptors,
List<GenericExceptionHandler<HandlerInput,Optional<Response>>> exceptionHandlers)
Deprecated.
Constructor to build an instance of DefaultRequestHandlerChain.
|
Modifier and Type | Method and Description |
---|---|
static DefaultRequestHandlerChain.Builder |
builder()
Deprecated.
Static method to return an instance of Builder.
|
RequestHandler |
getRequestHandler()
Deprecated.
Returns the request handler.
|
forTypes, getExceptionHandlers, getRequestInterceptors, getResponseInterceptors
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExceptionHandlers, getRequestInterceptors, getResponseInterceptors
protected DefaultRequestHandlerChain(GenericRequestHandler<HandlerInput,Optional<Response>> handler, List<GenericRequestInterceptor<HandlerInput>> requestInterceptors, List<GenericResponseInterceptor<HandlerInput,Optional<Response>>> responseInterceptors, List<GenericExceptionHandler<HandlerInput,Optional<Response>>> exceptionHandlers)
handler
- request handler responsible for processing an incoming request.requestInterceptors
- list of request interceptors.responseInterceptors
- list of response interceptors.exceptionHandlers
- list of exception handlers.public RequestHandler getRequestHandler()
getRequestHandler
in interface GenericRequestHandlerChain<HandlerInput,Optional<Response>>
getRequestHandler
in class BaseRequestHandlerChain<HandlerInput,Optional<Response>>
public static DefaultRequestHandlerChain.Builder builder()
DefaultRequestHandlerChain.Builder
.Copyright © 2023. All rights reserved.