public class GetObjectInterceptor extends Object implements ExecutionInterceptor
GetObjectRequest messages.| Modifier and Type | Field and Description |
|---|---|
static Pattern |
MULTIPART_CHECKSUM_PATTERN |
| Constructor and Description |
|---|
GetObjectInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterTransmission(Context.AfterTransmission context,
ExecutionAttributes executionAttributes)
Read the HTTP response as it was returned by the HTTP client, before it is modified by other interceptors.
|
SdkResponse |
modifyResponse(Context.ModifyResponse context,
ExecutionAttributes executionAttributes)
Modify the
SdkResponse before it is returned by the client. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterExecution, afterMarshalling, afterUnmarshalling, beforeExecution, beforeMarshalling, beforeTransmission, beforeUnmarshalling, modifyAsyncHttpContent, modifyAsyncHttpResponseContent, modifyException, modifyHttpContent, modifyHttpRequest, modifyHttpResponse, modifyHttpResponseContent, modifyRequest, onExecutionFailurepublic static final Pattern MULTIPART_CHECKSUM_PATTERN
public void afterTransmission(Context.AfterTransmission context, ExecutionAttributes executionAttributes)
ExecutionInterceptorExecutionInterceptor.beforeUnmarshalling(com.ibm.cos.v2.core.interceptor.Context.BeforeUnmarshalling, com.ibm.cos.v2.core.interceptor.ExecutionAttributes) should be used in most circumstances for reading the HTTP response because it includes
modifications made by other interceptors.
It is possible that the HTTP client could have already modified this response, so debug-level wire logging should be trusted over the parameters to this method.
Note: Unlike many other lifecycle methods, this one may be invoked multiple times. If the RetryPolicy determines
the error code returned by the service is retriable, this will be invoked for each response returned by the service.
afterTransmission in interface ExecutionInterceptorcontext - The current state of the execution, including the SDK and HTTP requests and the unmodified HTTP response.executionAttributes - A mutable set of attributes scoped to one specific request/response cycle that can be used topublic SdkResponse modifyResponse(Context.ModifyResponse context, ExecutionAttributes executionAttributes)
ExecutionInterceptorSdkResponse before it is returned by the client.modifyResponse in interface ExecutionInterceptorcontext - The current state of the execution, including the SDK and HTTP requests as well as the SDK and HTTP
response.executionAttributes - A mutable set of attributes scoped to one specific request/response cycle that can be used to
give data to future lifecycle methods.Copyright © 2026. All rights reserved.