Class AwsS3ClientTelemetryInterceptor

java.lang.Object
ru.tinkoff.kora.s3.client.aws.AwsS3ClientTelemetryInterceptor
All Implemented Interfaces:
software.amazon.awssdk.core.interceptor.ExecutionInterceptor

@Experimental public final class AwsS3ClientTelemetryInterceptor extends Object implements software.amazon.awssdk.core.interceptor.ExecutionInterceptor
  • Constructor Summary

    Constructors
    Constructor
    Description
    AwsS3ClientTelemetryInterceptor(ru.tinkoff.kora.s3.client.telemetry.S3ClientTelemetry telemetry, AwsS3ClientConfig.AddressStyle addressStyle)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    afterExecution(software.amazon.awssdk.core.interceptor.Context.AfterExecution execContext, software.amazon.awssdk.core.interceptor.ExecutionAttributes executionAttributes)
     
    void
    afterMarshalling(software.amazon.awssdk.core.interceptor.Context.AfterMarshalling execContext, software.amazon.awssdk.core.interceptor.ExecutionAttributes executionAttributes)
     
    void
    beforeExecution(software.amazon.awssdk.core.interceptor.Context.BeforeExecution execContext, software.amazon.awssdk.core.interceptor.ExecutionAttributes executionAttributes)
     
    void
    onExecutionFailure(software.amazon.awssdk.core.interceptor.Context.FailedExecution execContext, 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

    afterTransmission, afterUnmarshalling, beforeMarshalling, beforeTransmission, beforeUnmarshalling, modifyAsyncHttpContent, modifyAsyncHttpResponseContent, modifyException, modifyHttpContent, modifyHttpRequest, modifyHttpResponse, modifyHttpResponseContent, modifyRequest, modifyResponse
  • Constructor Details

    • AwsS3ClientTelemetryInterceptor

      public AwsS3ClientTelemetryInterceptor(ru.tinkoff.kora.s3.client.telemetry.S3ClientTelemetry telemetry, AwsS3ClientConfig.AddressStyle addressStyle)
  • Method Details

    • beforeExecution

      public void beforeExecution(software.amazon.awssdk.core.interceptor.Context.BeforeExecution execContext, software.amazon.awssdk.core.interceptor.ExecutionAttributes executionAttributes)
      Specified by:
      beforeExecution in interface software.amazon.awssdk.core.interceptor.ExecutionInterceptor
    • afterMarshalling

      public void afterMarshalling(software.amazon.awssdk.core.interceptor.Context.AfterMarshalling execContext, software.amazon.awssdk.core.interceptor.ExecutionAttributes executionAttributes)
      Specified by:
      afterMarshalling in interface software.amazon.awssdk.core.interceptor.ExecutionInterceptor
    • afterExecution

      public void afterExecution(software.amazon.awssdk.core.interceptor.Context.AfterExecution execContext, 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 execContext, software.amazon.awssdk.core.interceptor.ExecutionAttributes executionAttributes)
      Specified by:
      onExecutionFailure in interface software.amazon.awssdk.core.interceptor.ExecutionInterceptor