Class NoOpHttpSigner<T extends Identity>
- java.lang.Object
-
- software.amazon.awssdk.http.auth.spi.internal.signer.NoOpHttpSigner<T>
-
- All Implemented Interfaces:
HttpSigner<T>
@SdkInternalApi public class NoOpHttpSigner<T extends Identity> extends Object implements HttpSigner<T>
-
-
Field Summary
-
Fields inherited from interface software.amazon.awssdk.http.auth.spi.signer.HttpSigner
SIGNING_CLOCK
-
-
Constructor Summary
Constructors Constructor Description NoOpHttpSigner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SignedRequestsign(SignRequest<? extends T> request)Method that takes in inputs to sign a request with sync payload and returns a signed version of the request.CompletableFuture<AsyncSignedRequest>signAsync(AsyncSignRequest<? extends T> request)Method that takes in inputs to sign a request with async payload and returns a future containing the signed version of the request.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.http.auth.spi.signer.HttpSigner
doNotSign, sign, signAsync
-
-
-
-
Method Detail
-
sign
public SignedRequest sign(SignRequest<? extends T> request)
Description copied from interface:HttpSignerMethod that takes in inputs to sign a request with sync payload and returns a signed version of the request.- Specified by:
signin interfaceHttpSigner<T extends Identity>- Parameters:
request- The inputs to sign a request.- Returns:
- A signed version of the request.
-
signAsync
public CompletableFuture<AsyncSignedRequest> signAsync(AsyncSignRequest<? extends T> request)
Description copied from interface:HttpSignerMethod that takes in inputs to sign a request with async payload and returns a future containing the signed version of the request.- Specified by:
signAsyncin interfaceHttpSigner<T extends Identity>- Parameters:
request- The inputs to sign a request.- Returns:
- A future containing the signed version of the request.
-
-