public final class CopySourceInterceptor extends Object implements ExecutionInterceptor
sourceBucket, sourceKey, and sourceVersionId parameters for
CopyObjectRequest and UploadPartCopyRequest into a copySource parameter. The logic needed to
construct a copySource can be considered non-trivial, so this interceptor facilitates allowing users to
use higher-level constructs that more closely match other APIs, like PutObjectRequest. Additionally, this
interceptor is responsible for URL encoding the relevant portions of the copySource value.
| Constructor and Description |
|---|
CopySourceInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
SdkRequest |
modifyRequest(Context.ModifyRequest context,
ExecutionAttributes executionAttributes) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterExecution, afterMarshalling, afterTransmission, afterUnmarshalling, beforeExecution, beforeMarshalling, beforeTransmission, beforeUnmarshalling, modifyAsyncHttpContent, modifyAsyncHttpResponseContent, modifyException, modifyHttpContent, modifyHttpRequest, modifyHttpResponse, modifyHttpResponseContent, modifyResponse, onExecutionFailurepublic SdkRequest modifyRequest(Context.ModifyRequest context, ExecutionAttributes executionAttributes)
modifyRequest in interface ExecutionInterceptorCopyright © 2022. All rights reserved.