public static class GenericRequestHandlerChain.Builder<T extends GenericRequestHandlerChain.Builder<T>> extends Object
| Modifier and Type | Method and Description |
|---|---|
T |
addExceptionHandler(ExceptionHandler exceptionHandler) |
T |
addRequestInterceptor(RequestInterceptor requestInterceptor) |
T |
addResponseInterceptor(ResponseInterceptor responseInterceptor) |
GenericRequestHandlerChain |
build() |
T |
withExceptionHandlers(List<ExceptionHandler> exceptionHandlers) |
T |
withRequestHandler(Object handler) |
T |
withRequestInterceptors(List<RequestInterceptor> requestInterceptors) |
T |
withResponseInterceptor(List<ResponseInterceptor> responseInterceptors) |
public T addRequestInterceptor(RequestInterceptor requestInterceptor)
public T withRequestInterceptors(List<RequestInterceptor> requestInterceptors)
public T addResponseInterceptor(ResponseInterceptor responseInterceptor)
public T withResponseInterceptor(List<ResponseInterceptor> responseInterceptors)
public T withExceptionHandlers(List<ExceptionHandler> exceptionHandlers)
public T addExceptionHandler(ExceptionHandler exceptionHandler)
public GenericRequestHandlerChain build()
Copyright © Amazon.com, Inc. or its affiliates. All Rights Reserved.