Class Sigv4
java.lang.Object
org.apache.tinkerpop.gremlin.driver.auth.Sigv4
- All Implemented Interfaces:
Auth,RequestInterceptor
A
RequestInterceptor that signs requests with AWS SigV4.
This interceptor calls HttpRequest.serializeBody() to ensure the body is serialized before
computing the payload hash for signing. It should typically be the last interceptor in the chain.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.driver.auth.Auth
Auth.AuthenticationException -
Field Summary
Fields inherited from interface org.apache.tinkerpop.gremlin.driver.auth.Auth
AUTH_BASIC, AUTH_SIGV4 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidintercept(HttpRequest httpRequest) Intercept and mutate the HTTP request before it is sent.
-
Constructor Details
-
Sigv4
-
Sigv4
-
-
Method Details
-
intercept
Description copied from interface:RequestInterceptorIntercept and mutate the HTTP request before it is sent.- Specified by:
interceptin interfaceRequestInterceptor- Parameters:
httpRequest- the mutable HTTP request
-