Class TracingRequestHandler

  • All Implemented Interfaces:
    com.amazonaws.handlers.IRequestHandler2

    public class TracingRequestHandler
    extends com.amazonaws.handlers.RequestHandler2
    • Constructor Summary

      Constructors 
      Constructor Description
      TracingRequestHandler​(io.opentelemetry.api.OpenTelemetry openTelemetry)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterError​(com.amazonaws.Request<?> request, com.amazonaws.Response<?> response, java.lang.Exception e)  
      void afterResponse​(com.amazonaws.Request<?> request, com.amazonaws.Response<?> response)  
      com.amazonaws.AmazonWebServiceRequest beforeMarshalling​(com.amazonaws.AmazonWebServiceRequest request)  
      void beforeRequest​(com.amazonaws.Request<?> request)  
      • Methods inherited from class com.amazonaws.handlers.RequestHandler2

        adapt, afterAttempt, beforeAttempt, beforeExecution, beforeUnmarshalling
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TracingRequestHandler

        public TracingRequestHandler​(io.opentelemetry.api.OpenTelemetry openTelemetry)
    • Method Detail

      • beforeRequest

        public void beforeRequest​(com.amazonaws.Request<?> request)
        Specified by:
        beforeRequest in interface com.amazonaws.handlers.IRequestHandler2
        Overrides:
        beforeRequest in class com.amazonaws.handlers.RequestHandler2
      • beforeMarshalling

        public com.amazonaws.AmazonWebServiceRequest beforeMarshalling​(com.amazonaws.AmazonWebServiceRequest request)
        Specified by:
        beforeMarshalling in interface com.amazonaws.handlers.IRequestHandler2
        Overrides:
        beforeMarshalling in class com.amazonaws.handlers.RequestHandler2
      • afterResponse

        public void afterResponse​(com.amazonaws.Request<?> request,
                                  com.amazonaws.Response<?> response)
        Specified by:
        afterResponse in interface com.amazonaws.handlers.IRequestHandler2
        Overrides:
        afterResponse in class com.amazonaws.handlers.RequestHandler2
      • afterError

        public void afterError​(com.amazonaws.Request<?> request,
                               com.amazonaws.Response<?> response,
                               java.lang.Exception e)
        Specified by:
        afterError in interface com.amazonaws.handlers.IRequestHandler2
        Overrides:
        afterError in class com.amazonaws.handlers.RequestHandler2