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 Object
implements software.amazon.awssdk.core.interceptor.ExecutionInterceptor
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final software.amazon.awssdk.core.interceptor.ExecutionAttribute<Subsegment>
Deprecated.For internal use only. -
Constructor Summary
ConstructorsConstructorDescriptionTracingInterceptor
(AWSXRayRecorder recorder, String accountId, URL parameterWhitelist) -
Method Summary
Modifier and TypeMethodDescriptionvoid
afterExecution
(software.amazon.awssdk.core.interceptor.Context.AfterExecution context, software.amazon.awssdk.core.interceptor.ExecutionAttributes executionAttributes) void
beforeExecution
(software.amazon.awssdk.core.interceptor.Context.BeforeExecution context, software.amazon.awssdk.core.interceptor.ExecutionAttributes executionAttributes) void
beforeTransmission
(software.amazon.awssdk.core.interceptor.Context.BeforeTransmission context, software.amazon.awssdk.core.interceptor.ExecutionAttributes executionAttributes) software.amazon.awssdk.http.SdkHttpRequest
modifyHttpRequest
(software.amazon.awssdk.core.interceptor.Context.ModifyHttpRequest context, software.amazon.awssdk.core.interceptor.ExecutionAttributes executionAttributes) void
onExecutionFailure
(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 Details
-
entityKey
@Deprecated public static final software.amazon.awssdk.core.interceptor.ExecutionAttribute<Subsegment> entityKeyDeprecated.For internal use only.
-
-
Constructor Details
-
TracingInterceptor
public TracingInterceptor() -
TracingInterceptor
-
-
Method Details
-
beforeExecution
public void beforeExecution(software.amazon.awssdk.core.interceptor.Context.BeforeExecution context, software.amazon.awssdk.core.interceptor.ExecutionAttributes executionAttributes) - Specified by:
beforeExecution
in 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:
modifyHttpRequest
in 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:
beforeTransmission
in 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:
afterExecution
in 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:
onExecutionFailure
in interfacesoftware.amazon.awssdk.core.interceptor.ExecutionInterceptor
-