Modifier and Type | Method and Description |
---|---|
List<GenericResponseInterceptor<Input,Output>> |
GenericSkillConfiguration.getResponseInterceptors()
Getter method for list of GenericResponseInterceptor.
|
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<GenericResponseInterceptor<Input,Output>> |
AbstractSkillConfiguration.responseInterceptors
List of response interceptors.
|
protected List<GenericResponseInterceptor<Input,Output>> |
AbstractSkillConfiguration.Builder.responseInterceptors
List of response interceptors.
|
protected List<GenericResponseInterceptor<Input,Output>> |
AbstractSkillBuilder.responseInterceptors
List of response interceptors.
|
Modifier and Type | Method and Description |
---|---|
List<GenericResponseInterceptor<Input,Output>> |
AbstractSkillConfiguration.getResponseInterceptors()
Getter method for list of GenericResponseInterceptor.
|
List<GenericResponseInterceptor<Input,Output>> |
AbstractSkillConfiguration.Builder.getResponseInterceptors()
Getter for response interceptors.
|
Modifier and Type | Method and Description |
---|---|
Self |
AbstractSkillConfiguration.Builder.addResponseInterceptor(GenericResponseInterceptor<Input,Output> responseInterceptor)
Add a response interceptor to Skill config.
|
Self |
AbstractSkillBuilder.addResponseInterceptor(GenericResponseInterceptor<Input,Output> interceptor)
Add a response interceptor to Skill config.
|
Self |
AbstractSkillBuilder.addResponseInterceptors(GenericResponseInterceptor<Input,Output>... interceptors)
Add multiple response interceptors to Skill config.
|
Modifier and Type | Method and Description |
---|---|
Self |
AbstractSkillBuilder.addResponseInterceptors(List<GenericResponseInterceptor<Input,Output>> interceptors)
Add multiple response interceptors to Skill config.
|
Self |
AbstractSkillConfiguration.Builder.withResponseInterceptors(List<GenericResponseInterceptor<Input,Output>> responseInterceptors)
Add multiple response 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 |
ResponseInterceptor
Response interceptors are invoked immediately after execution of the request handler.
|
Modifier and Type | Method and Description |
---|---|
List<GenericResponseInterceptor<HandlerInput,Optional<Response>>> |
SdkModuleContext.getResponseInterceptors()
Getter for Response interceptors.
|
Modifier and Type | Method and Description |
---|---|
SdkModuleContext |
SdkModuleContext.addResponseInterceptor(GenericResponseInterceptor<HandlerInput,Optional<Response>> responseInterceptor)
Adds Response interceptor to SkillConfiguration Builder.
|
Modifier and Type | Field and Description |
---|---|
protected Collection<GenericResponseInterceptor<Input,Output>> |
BaseRequestDispatcher.responseInterceptors
Collection of response interceptors.
|
protected Collection<GenericResponseInterceptor<Input,Output>> |
BaseRequestDispatcher.Builder.responseInterceptors
Collection of response interceptors.
|
Modifier and Type | Method and Description |
---|---|
Self |
BaseRequestDispatcher.Builder.addResponseInterceptor(GenericResponseInterceptor<Input,Output> responseInterceptor)
Add a response interceptor to BaseRequestDispatcher.
|
Self |
BaseRequestDispatcher.Builder.withResponseInterceptors(GenericResponseInterceptor<Input,Output>... responseInterceptors)
Add multiple response interceptors to BaseRequestDispatcher.
|
Modifier and Type | Method and Description |
---|---|
Self |
BaseRequestDispatcher.Builder.withResponseInterceptors(Collection<GenericResponseInterceptor<Input,Output>> responseInterceptors)
Add multiple response 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<GenericResponseInterceptor<Input,Output>> |
GenericRequestHandlerChain.getResponseInterceptors() |
Modifier and Type | Field and Description |
---|---|
protected List<GenericResponseInterceptor<Input,Output>> |
BaseRequestHandlerChain.responseInterceptors
List of response interceptors.
|
protected List<GenericResponseInterceptor<Input,Output>> |
BaseRequestHandlerChain.Builder.responseInterceptors
List of response interceptors.
|
Modifier and Type | Method and Description |
---|---|
List<GenericResponseInterceptor<Input,Output>> |
BaseRequestHandlerChain.getResponseInterceptors()
.
|
Modifier and Type | Method and Description |
---|---|
Self |
BaseRequestHandlerChain.Builder.addResponseInterceptor(GenericResponseInterceptor<Input,Output> responseInterceptor)
Adds a single response interceptor of type
GenericResponseInterceptor to request handler chain. |
Modifier and Type | Method and Description |
---|---|
Self |
BaseRequestHandlerChain.Builder.withResponseInterceptor(List<GenericResponseInterceptor<Input,Output>> responseInterceptors)
Adds multiple response interceptors of type
GenericResponseInterceptor 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.