Input
- Skill input type.Output
- Skill output type.public abstract class AbstractSkillConfiguration<Input,Output> extends Object implements GenericSkillConfiguration<Input,Output>
GenericRequestMapper
, GenericHandlerAdapter
, GenericRequestInterceptor
,
GenericResponseInterceptor
and GenericExceptionMapper
.Modifier and Type | Class and Description |
---|---|
static class |
AbstractSkillConfiguration.Builder<Input,Output,Self extends AbstractSkillConfiguration.Builder>
Abstract Skill Configuration Builder.
|
Modifier and Type | Field and Description |
---|---|
protected GenericExceptionMapper<Input,Output> |
exceptionMapper
Exception mapper.
|
protected List<GenericHandlerAdapter<Input,Output>> |
handlerAdapters
List of handler adapters.
|
protected List<GenericRequestInterceptor<Input>> |
requestInterceptors
List of request interceptors.
|
protected List<GenericRequestMapper<Input,Output>> |
requestMappers
List of request mappers.
|
protected List<GenericResponseInterceptor<Input,Output>> |
responseInterceptors
List of response interceptors.
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractSkillConfiguration(List<GenericRequestMapper<Input,Output>> requestMappers,
List<GenericHandlerAdapter<Input,Output>> handlerAdapters,
List<GenericRequestInterceptor<Input>> requestInterceptors,
List<GenericResponseInterceptor<Input,Output>> responseInterceptors,
GenericExceptionMapper<Input,Output> exceptionMapper)
Constructor for AbstractSkillConfiguration.
|
Modifier and Type | Method and Description |
---|---|
GenericExceptionMapper<Input,Output> |
getExceptionMapper()
Getter method for GenericExceptionMapper.
|
List<GenericHandlerAdapter<Input,Output>> |
getHandlerAdapters()
Getter method for list of GenericHandlerAdapter.
|
List<GenericRequestInterceptor<Input>> |
getRequestInterceptors()
Getter method for list of GenericRequestInterceptor.
|
List<GenericRequestMapper<Input,Output>> |
getRequestMappers()
Getter method for list of GenericRequestMapper.
|
List<GenericResponseInterceptor<Input,Output>> |
getResponseInterceptors()
Getter method for list of GenericResponseInterceptor.
|
protected final List<GenericRequestMapper<Input,Output>> requestMappers
protected final List<GenericHandlerAdapter<Input,Output>> handlerAdapters
protected final List<GenericRequestInterceptor<Input>> requestInterceptors
protected final List<GenericResponseInterceptor<Input,Output>> responseInterceptors
protected final GenericExceptionMapper<Input,Output> exceptionMapper
protected AbstractSkillConfiguration(List<GenericRequestMapper<Input,Output>> requestMappers, List<GenericHandlerAdapter<Input,Output>> handlerAdapters, List<GenericRequestInterceptor<Input>> requestInterceptors, List<GenericResponseInterceptor<Input,Output>> responseInterceptors, GenericExceptionMapper<Input,Output> exceptionMapper)
requestMappers
- list of request mappers.handlerAdapters
- list of handler adapters.requestInterceptors
- list of request interceptors.responseInterceptors
- list of response interceptors.exceptionMapper
- exception mapper.public List<GenericRequestMapper<Input,Output>> getRequestMappers()
getRequestMappers
in interface GenericSkillConfiguration<Input,Output>
GenericRequestMapper
.public List<GenericHandlerAdapter<Input,Output>> getHandlerAdapters()
getHandlerAdapters
in interface GenericSkillConfiguration<Input,Output>
GenericHandlerAdapter
.public List<GenericRequestInterceptor<Input>> getRequestInterceptors()
getRequestInterceptors
in interface GenericSkillConfiguration<Input,Output>
GenericRequestInterceptor
.public List<GenericResponseInterceptor<Input,Output>> getResponseInterceptors()
getResponseInterceptors
in interface GenericSkillConfiguration<Input,Output>
GenericResponseInterceptor
.public GenericExceptionMapper<Input,Output> getExceptionMapper()
getExceptionMapper
in interface GenericSkillConfiguration<Input,Output>
GenericExceptionMapper
.Copyright © 2023. All rights reserved.