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

    Fields
    Modifier and Type
    Field
    Description
    static final software.amazon.awssdk.core.interceptor.ExecutionAttribute<Subsegment>
    Deprecated.
    For internal use only.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    TracingInterceptor(AWSXRayRecorder recorder, String accountId, URL parameterWhitelist)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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> entityKey
      Deprecated.
      For internal use only.
  • Constructor Details

    • TracingInterceptor

      public TracingInterceptor()
    • TracingInterceptor

      public TracingInterceptor(AWSXRayRecorder recorder, String accountId, URL parameterWhitelist)
  • 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 interface software.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 interface software.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 interface software.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 interface software.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 interface software.amazon.awssdk.core.interceptor.ExecutionInterceptor