Class CreateMultipartUploadRequestInterceptor
java.lang.Object
software.amazon.awssdk.services.s3.internal.handlers.CreateMultipartUploadRequestInterceptor
- All Implemented Interfaces:
ExecutionInterceptor
@SdkInternalApi
public class CreateMultipartUploadRequestInterceptor
extends Object
implements ExecutionInterceptor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmodifyHttpContent(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes) modifyHttpRequest(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes) Modify theSdkHttpFullRequestbefore it is sent to the service.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.core.interceptor.ExecutionInterceptor
afterExecution, afterMarshalling, afterTransmission, afterUnmarshalling, beforeExecution, beforeMarshalling, beforeTransmission, beforeUnmarshalling, modifyAsyncHttpContent, modifyAsyncHttpResponseContent, modifyException, modifyHttpResponse, modifyHttpResponseContent, modifyRequest, modifyResponse, onExecutionFailure
-
Constructor Details
-
CreateMultipartUploadRequestInterceptor
public CreateMultipartUploadRequestInterceptor()
-
-
Method Details
-
modifyHttpContent
public Optional<RequestBody> modifyHttpContent(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes) - Specified by:
modifyHttpContentin interfaceExecutionInterceptor
-
modifyHttpRequest
public SdkHttpRequest modifyHttpRequest(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes) Description copied from interface:ExecutionInterceptorModify theSdkHttpFullRequestbefore it is sent to the service.- Specified by:
modifyHttpRequestin interfaceExecutionInterceptor- Parameters:
context- The current state of the execution, including the SDK and current HTTP request.executionAttributes- A mutable set of attributes scoped to one specific request/response cycle that can be used to give data to future lifecycle methods.- Returns:
- The potentially-modified HTTP request that should be sent to the service. Must not be null.
-