Package ru.tinkoff.kora.s3.client.aws
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
ConstructorsConstructorDescriptionAwsS3ClientTelemetryInterceptor(ru.tinkoff.kora.s3.client.telemetry.S3ClientTelemetry telemetry, AwsS3ClientConfig.AddressStyle addressStyle) -
Method Summary
Modifier and TypeMethodDescriptionvoidafterExecution(software.amazon.awssdk.core.interceptor.Context.AfterExecution execContext, software.amazon.awssdk.core.interceptor.ExecutionAttributes executionAttributes) voidafterMarshalling(software.amazon.awssdk.core.interceptor.Context.AfterMarshalling execContext, software.amazon.awssdk.core.interceptor.ExecutionAttributes executionAttributes) voidbeforeExecution(software.amazon.awssdk.core.interceptor.Context.BeforeExecution execContext, software.amazon.awssdk.core.interceptor.ExecutionAttributes executionAttributes) voidonExecutionFailure(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, waitMethods 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:
beforeExecutionin interfacesoftware.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:
afterMarshallingin interfacesoftware.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:
afterExecutionin interfacesoftware.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:
onExecutionFailurein interfacesoftware.amazon.awssdk.core.interceptor.ExecutionInterceptor
-