Package com.amazonaws.xray.interceptors
Class TracingInterceptor
- java.lang.Object
-
- com.amazonaws.xray.interceptors.TracingInterceptor
-
- All Implemented Interfaces:
software.amazon.awssdk.core.interceptor.ExecutionInterceptor
public class TracingInterceptor extends java.lang.Object implements software.amazon.awssdk.core.interceptor.ExecutionInterceptor
-
-
Field Summary
Fields Modifier and Type Field Description static software.amazon.awssdk.core.interceptor.ExecutionAttribute<Subsegment>entityKeyDeprecated.For internal use only.
-
Constructor Summary
Constructors Constructor Description TracingInterceptor()TracingInterceptor(AWSXRayRecorder recorder, java.lang.String accountId, java.net.URL parameterWhitelist)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterExecution(software.amazon.awssdk.core.interceptor.Context.AfterExecution context, software.amazon.awssdk.core.interceptor.ExecutionAttributes executionAttributes)voidbeforeExecution(software.amazon.awssdk.core.interceptor.Context.BeforeExecution context, software.amazon.awssdk.core.interceptor.ExecutionAttributes executionAttributes)voidbeforeTransmission(software.amazon.awssdk.core.interceptor.Context.BeforeTransmission context, software.amazon.awssdk.core.interceptor.ExecutionAttributes executionAttributes)software.amazon.awssdk.http.SdkHttpRequestmodifyHttpRequest(software.amazon.awssdk.core.interceptor.Context.ModifyHttpRequest context, software.amazon.awssdk.core.interceptor.ExecutionAttributes executionAttributes)voidonExecutionFailure(software.amazon.awssdk.core.interceptor.Context.FailedExecution context, software.amazon.awssdk.core.interceptor.ExecutionAttributes executionAttributes)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.core.interceptor.ExecutionInterceptor
afterMarshalling, afterTransmission, afterUnmarshalling, beforeMarshalling, beforeUnmarshalling, modifyAsyncHttpContent, modifyAsyncHttpResponseContent, modifyException, modifyHttpContent, modifyHttpResponse, modifyHttpResponseContent, modifyRequest, modifyResponse
-
-
-
-
Field Detail
-
entityKey
@Deprecated public static final software.amazon.awssdk.core.interceptor.ExecutionAttribute<Subsegment> entityKey
Deprecated.For internal use only.
-
-
Constructor Detail
-
TracingInterceptor
public TracingInterceptor()
-
TracingInterceptor
public TracingInterceptor(AWSXRayRecorder recorder, java.lang.String accountId, java.net.URL parameterWhitelist)
-
-
Method Detail
-
beforeExecution
public void beforeExecution(software.amazon.awssdk.core.interceptor.Context.BeforeExecution context, software.amazon.awssdk.core.interceptor.ExecutionAttributes executionAttributes)- Specified by:
beforeExecutionin interfacesoftware.amazon.awssdk.core.interceptor.ExecutionInterceptor
-
modifyHttpRequest
public software.amazon.awssdk.http.SdkHttpRequest modifyHttpRequest(software.amazon.awssdk.core.interceptor.Context.ModifyHttpRequest context, software.amazon.awssdk.core.interceptor.ExecutionAttributes executionAttributes)- Specified by:
modifyHttpRequestin interfacesoftware.amazon.awssdk.core.interceptor.ExecutionInterceptor
-
beforeTransmission
public void beforeTransmission(software.amazon.awssdk.core.interceptor.Context.BeforeTransmission context, software.amazon.awssdk.core.interceptor.ExecutionAttributes executionAttributes)- Specified by:
beforeTransmissionin interfacesoftware.amazon.awssdk.core.interceptor.ExecutionInterceptor
-
afterExecution
public void afterExecution(software.amazon.awssdk.core.interceptor.Context.AfterExecution context, software.amazon.awssdk.core.interceptor.ExecutionAttributes executionAttributes)- Specified by:
afterExecutionin interfacesoftware.amazon.awssdk.core.interceptor.ExecutionInterceptor
-
onExecutionFailure
public void onExecutionFailure(software.amazon.awssdk.core.interceptor.Context.FailedExecution context, software.amazon.awssdk.core.interceptor.ExecutionAttributes executionAttributes)- Specified by:
onExecutionFailurein interfacesoftware.amazon.awssdk.core.interceptor.ExecutionInterceptor
-
-