Class ClasspathInterceptorChainFactory
java.lang.Object
software.amazon.awssdk.core.interceptor.ClasspathInterceptorChainFactory
Factory for creating request/response handler chains from the classpath.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionLoad the global handlers by reading the global execution interceptors resource.getInterceptors(String resource) Constructs a new request handler chain by analyzing the specified classpath resource.
-
Constructor Details
-
ClasspathInterceptorChainFactory
public ClasspathInterceptorChainFactory()
-
-
Method Details
-
getInterceptors
Constructs a new request handler chain by analyzing the specified classpath resource.- Parameters:
resource- The resource to load from the classpath containing the list of request handlers to instantiate.- Returns:
- A list of request handlers based on the handlers referenced in the specified resource.
-
getGlobalInterceptors
Load the global handlers by reading the global execution interceptors resource.
-