Modifier and Type | Method and Description |
---|---|
List<GenericRequestInterceptor<Input>> |
GenericSkillConfiguration.getRequestInterceptors()
Getter method for list of GenericRequestInterceptor.
|
Constructor and Description |
---|
SkillConfiguration(List<GenericRequestMapper<HandlerInput,Optional<Response>>> requestMappers,
List<GenericHandlerAdapter<HandlerInput,Optional<Response>>> handlerAdapters,
List<GenericRequestInterceptor<HandlerInput>> requestInterceptors,
List<GenericResponseInterceptor<HandlerInput,Optional<Response>>> responseInterceptors,
GenericExceptionMapper<HandlerInput,Optional<Response>> exceptionMapper,
PersistenceAdapter persistenceAdapter,
com.amazon.ask.model.services.ApiClient apiClient,
String customUserAgent,
String skillId,
TemplateFactory<HandlerInput,Response> templateFactory)
Constructor for SkillConfiguration.
|
Modifier and Type | Field and Description |
---|---|
protected List<GenericRequestInterceptor<Input>> |
AbstractSkillConfiguration.requestInterceptors
List of request interceptors.
|
protected List<GenericRequestInterceptor<Input>> |
AbstractSkillConfiguration.Builder.requestInterceptors
List of request interceptors.
|
protected List<GenericRequestInterceptor<Input>> |
AbstractSkillBuilder.requestInterceptors
List of request interceptors.
|
Modifier and Type | Method and Description |
---|---|
List<GenericRequestInterceptor<Input>> |
AbstractSkillConfiguration.getRequestInterceptors()
Getter method for list of GenericRequestInterceptor.
|
List<GenericRequestInterceptor<Input>> |
AbstractSkillConfiguration.Builder.getRequestInterceptors()
Getter for request interceptors.
|
Modifier and Type | Method and Description |
---|---|
Self |
AbstractSkillConfiguration.Builder.addRequestInterceptor(GenericRequestInterceptor<Input> requestInterceptor)
Add a request interceptor to Skill config.
|
Self |
AbstractSkillBuilder.addRequestInterceptor(GenericRequestInterceptor<Input> interceptor)
Add request interceptor to Skill config.
|
Self |
AbstractSkillBuilder.addRequestInterceptors(GenericRequestInterceptor<Input>... interceptors)
Add multiple request interceptors to Skill config.
|
Modifier and Type | Method and Description |
---|---|
Self |
AbstractSkillBuilder.addRequestInterceptors(List<GenericRequestInterceptor<Input>> interceptors)
Add multiple request interceptors to Skill config.
|
Self |
AbstractSkillConfiguration.Builder.withRequestInterceptors(List<GenericRequestInterceptor<Input>> requestInterceptors)
Add multiple request interceptors to Skill config.
|
Constructor and Description |
---|
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.
|
Constructor and Description |
---|
DefaultRequestDispatcher(Collection<GenericHandlerAdapter<HandlerInput,Optional<Response>>> handlerAdapters,
Collection<GenericRequestMapper<HandlerInput,Optional<Response>>> requestMappers,
GenericExceptionMapper<HandlerInput,Optional<Response>> exceptionMapper,
Collection<GenericRequestInterceptor<HandlerInput>> requestInterceptors,
Collection<GenericResponseInterceptor<HandlerInput,Optional<Response>>> responseInterceptors)
Deprecated.
Constructor for DefaultRequestDispatcher.
|
Constructor and Description |
---|
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 | Interface and Description |
---|---|
interface |
RequestInterceptor
Request interceptors are invoked immediately prior to execution of the request handler for an incoming request.
|
Modifier and Type | Method and Description |
---|---|
List<GenericRequestInterceptor<HandlerInput>> |
SdkModuleContext.getRequestInterceptors()
Getter for Request interceptors.
|
Modifier and Type | Method and Description |
---|---|
SdkModuleContext |
SdkModuleContext.addRequestInterceptor(GenericRequestInterceptor<HandlerInput> requestInterceptor)
Adds Request interceptor to SkillConfiguration Builder.
|
Modifier and Type | Field and Description |
---|---|
protected Collection<GenericRequestInterceptor<Input>> |
BaseRequestDispatcher.requestInterceptors
Collection of request interceptors.
|
protected Collection<GenericRequestInterceptor<Input>> |
BaseRequestDispatcher.Builder.requestInterceptors
Collection of request interceptors.
|
Modifier and Type | Method and Description |
---|---|
Self |
BaseRequestDispatcher.Builder.addRequestInterceptor(GenericRequestInterceptor<Input> requestInterceptor)
Add a request interceptor to BaseRequestDispatcher.
|
Self |
BaseRequestDispatcher.Builder.withRequestInterceptors(GenericRequestInterceptor<Input>... requestInterceptors)
Add multiple request interceptors to BaseRequestDispatcher.
|
Modifier and Type | Method and Description |
---|---|
Self |
BaseRequestDispatcher.Builder.withRequestInterceptors(Collection<GenericRequestInterceptor<Input>> requestInterceptors)
Add multiple request interceptors to BaseRequestDispatcher.
|
Constructor and Description |
---|
BaseRequestDispatcher(Collection<GenericRequestMapper<Input,Output>> requestMappers,
GenericExceptionMapper<Input,Output> exceptionMapper,
Collection<GenericHandlerAdapter<Input,Output>> handlerAdapters,
Collection<GenericRequestInterceptor<Input>> requestInterceptors,
Collection<GenericResponseInterceptor<Input,Output>> responseInterceptors) |
Modifier and Type | Method and Description |
---|---|
List<GenericRequestInterceptor<Input>> |
GenericRequestHandlerChain.getRequestInterceptors() |
Modifier and Type | Field and Description |
---|---|
protected List<GenericRequestInterceptor<Input>> |
BaseRequestHandlerChain.requestInterceptors
List of request interceptors.
|
protected List<GenericRequestInterceptor<Input>> |
BaseRequestHandlerChain.Builder.requestInterceptors
List of request interceptors.
|
Modifier and Type | Method and Description |
---|---|
List<GenericRequestInterceptor<Input>> |
BaseRequestHandlerChain.getRequestInterceptors()
.
|
Modifier and Type | Method and Description |
---|---|
Self |
BaseRequestHandlerChain.Builder.addRequestInterceptor(GenericRequestInterceptor<Input> requestInterceptor)
Adds a single request interceptor of type
GenericRequestInterceptor to request handler chain. |
Modifier and Type | Method and Description |
---|---|
Self |
BaseRequestHandlerChain.Builder.withRequestInterceptors(List<GenericRequestInterceptor<Input>> requestInterceptors)
Adds multiple request interceptors of type
GenericRequestInterceptor to request handler chain. |
Constructor and Description |
---|
BaseRequestHandlerChain(GenericRequestHandler<Input,Output> handler,
List<GenericRequestInterceptor<Input>> requestInterceptors,
List<GenericResponseInterceptor<Input,Output>> responseInterceptors,
List<GenericExceptionHandler<Input,Output>> exceptionHandlers)
Constructor to build an instance of BaseRequestHandlerChain.
|
Copyright © 2023. All rights reserved.