public class GenericRequestHandlerChain extends Object implements RequestHandlerChain
| Modifier and Type | Class and Description |
|---|---|
static class |
GenericRequestHandlerChain.Builder<T extends GenericRequestHandlerChain.Builder<T>> |
| Modifier and Type | Field and Description |
|---|---|
protected Object |
handler |
protected List<RequestInterceptor> |
requestInterceptors |
protected List<ResponseInterceptor> |
responseInterceptors |
| Modifier | Constructor and Description |
|---|---|
protected |
GenericRequestHandlerChain(Object handler,
List<RequestInterceptor> requestInterceptors,
List<ResponseInterceptor> responseInterceptors) |
| Modifier and Type | Method and Description |
|---|---|
static GenericRequestHandlerChain.Builder |
builder() |
Object |
getRequestHandler()
Returns the request handler
|
List<RequestInterceptor> |
getRequestInterceptors() |
List<ResponseInterceptor> |
getResponseInterceptors() |
protected final Object handler
protected final List<RequestInterceptor> requestInterceptors
protected final List<ResponseInterceptor> responseInterceptors
protected GenericRequestHandlerChain(Object handler, List<RequestInterceptor> requestInterceptors, List<ResponseInterceptor> responseInterceptors)
public static GenericRequestHandlerChain.Builder builder()
public Object getRequestHandler()
RequestHandlerChaingetRequestHandler in interface RequestHandlerChainpublic List<RequestInterceptor> getRequestInterceptors()
getRequestInterceptors in interface RequestHandlerChainpublic List<ResponseInterceptor> getResponseInterceptors()
getResponseInterceptors in interface RequestHandlerChainCopyright © 2018. All rights reserved.