Input
- handler input type.Output
- handler output type.Self
- of type Builder.public static class BaseRequestMapper.Builder<Input,Output,Self extends BaseRequestMapper.Builder<Input,Output,Self>> extends Object
Modifier and Type | Field and Description |
---|---|
protected List<BaseRequestHandlerChain<Input,Output>> |
handlerChains
List of handler chains.
|
Modifier | Constructor and Description |
---|---|
protected |
Builder()
Constructor for Builder.
|
Modifier and Type | Method and Description |
---|---|
Self |
addRequestHandlerChain(BaseRequestHandlerChain<Input,Output> handlerChain)
Add a request handler chain to BaseRequestMapper.
|
GenericRequestMapper<Input,Output> |
build()
Builder method to build an instance of BaseRequestMapper.
|
Self |
withRequestHandlerChains(List<BaseRequestHandlerChain<Input,Output>> handlerChains)
Add multiple request handler chains to BaseRequestMapper.
|
protected List<BaseRequestHandlerChain<Input,Output>> handlerChains
public Self withRequestHandlerChains(List<BaseRequestHandlerChain<Input,Output>> handlerChains)
handlerChains
- list of handler chains.BaseRequestMapper.Builder
.public Self addRequestHandlerChain(BaseRequestHandlerChain<Input,Output> handlerChain)
handlerChain
- handler chain.BaseRequestMapper.Builder
.public GenericRequestMapper<Input,Output> build()
GenericRequestMapper
.Copyright © 2023. All rights reserved.