Class MgnResolveEndpointInterceptor
java.lang.Object
software.amazon.awssdk.services.mgn.endpoints.internal.MgnResolveEndpointInterceptor
- All Implemented Interfaces:
ExecutionInterceptor
@Generated("software.amazon.awssdk:codegen")
@SdkInternalApi
public final class MgnResolveEndpointInterceptor
extends Object
implements ExecutionInterceptor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmodifyHttpRequest(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes) Modify theSdkHttpFullRequestbefore it is sent to the service.modifyRequest(Context.ModifyRequest context, ExecutionAttributes executionAttributes) Modify anSdkRequestgiven to a service client before it is marshalled into anSdkHttpFullRequest.static MgnEndpointParamsruleParams(SdkRequest request, ExecutionAttributes executionAttributes) 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, modifyHttpContent, modifyHttpResponse, modifyHttpResponseContent, modifyResponse, onExecutionFailure
-
Constructor Details
-
MgnResolveEndpointInterceptor
public MgnResolveEndpointInterceptor()
-
-
Method Details
-
modifyRequest
public 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 interfaceExecutionInterceptor- 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.
-
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.
-
ruleParams
public static MgnEndpointParams ruleParams(SdkRequest request, ExecutionAttributes executionAttributes)
-