public class InterceptorChain extends Object implements SdkAutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
addConfigurationInterceptor(ConfigurationInterceptor interceptor) |
void |
addHttpRequestInterceptor(HttpRequestInterceptor interceptor) |
void |
addOutputInterceptor(OutputInterceptor interceptor) |
void |
addRequestInterceptor(RequestInterceptor interceptor) |
void |
addResponseInterceptor(ResponseInterceptor interceptor) |
void |
close() |
static InterceptorChain |
create() |
InterceptorContext |
modifyConfiguration(InterceptorContext context,
AttributeMap attributes) |
InterceptorContext |
modifyHttpRequest(InterceptorContext context,
AttributeMap attributes) |
InterceptorContext |
modifyOutput(InterceptorContext context,
AttributeMap attributes) |
InterceptorContext |
modifyRequest(InterceptorContext context,
AttributeMap attributes) |
InterceptorContext |
modifyResponse(InterceptorContext context,
AttributeMap attributes) |
public static InterceptorChain create()
public void addConfigurationInterceptor(ConfigurationInterceptor interceptor)
public void addRequestInterceptor(RequestInterceptor interceptor)
public void addHttpRequestInterceptor(HttpRequestInterceptor interceptor)
public void addResponseInterceptor(ResponseInterceptor interceptor)
public void addOutputInterceptor(OutputInterceptor interceptor)
public void close()
close in interface SdkAutoCloseableclose in interface AutoCloseablepublic InterceptorContext modifyConfiguration(InterceptorContext context, AttributeMap attributes)
public InterceptorContext modifyRequest(InterceptorContext context, AttributeMap attributes)
public InterceptorContext modifyHttpRequest(InterceptorContext context, AttributeMap attributes)
public InterceptorContext modifyResponse(InterceptorContext context, AttributeMap attributes)
public InterceptorContext modifyOutput(InterceptorContext context, AttributeMap attributes)
Copyright © 2022. All rights reserved.