Class 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> entityKey
      Deprecated.
      For internal use only.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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 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:
        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