Class ApplyUserAgentInterceptor
java.lang.Object
software.amazon.awssdk.transfer.s3.internal.ApplyUserAgentInterceptor
- All Implemented Interfaces:
- ExecutionInterceptor
@SdkInternalApi
public final class ApplyUserAgentInterceptor
extends Object
implements ExecutionInterceptor
Apply TM specific user agent to the request
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionmodifyRequest(Context.ModifyRequest context, ExecutionAttributes executionAttributes) Modify anSdkRequestgiven to a service client before it is marshalled into anSdkHttpFullRequest.Methods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.core.interceptor.ExecutionInterceptorafterExecution, afterMarshalling, afterTransmission, afterUnmarshalling, beforeExecution, beforeMarshalling, beforeTransmission, beforeUnmarshalling, modifyAsyncHttpContent, modifyAsyncHttpResponseContent, modifyException, modifyHttpContent, modifyHttpRequest, modifyHttpResponse, modifyHttpResponseContent, modifyResponse, onExecutionFailure
- 
Constructor Details- 
ApplyUserAgentInterceptorpublic ApplyUserAgentInterceptor()
 
- 
- 
Method Details- 
modifyRequestpublic SdkRequest modifyRequest(Context.ModifyRequest context, ExecutionAttributes executionAttributes) Description copied from interface:ExecutionInterceptorModify anSdkRequestgiven to a service client before it is marshalled into anSdkHttpFullRequest.- Specified by:
- modifyRequestin interface- ExecutionInterceptor
- Parameters:
- context- The current state of the execution, including the current SDK request from the service client call.
- 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 request that should be used for the rest of the execution. Must not be null.
 
 
-