Package org.jclouds.aws.filters
Class FormSignerV4
- java.lang.Object
-
- org.jclouds.aws.filters.FormSignerV4
-
- All Implemented Interfaces:
FormSigner
,HttpRequestFilter
public final class FormSignerV4 extends Object implements FormSigner
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
FormSignerV4.ServiceAndRegion
-
Nested classes/interfaces inherited from interface org.jclouds.aws.filters.FormSigner
FormSigner.FormSignerV2
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpRequest
filter(HttpRequest request)
Adds the Authorization header to the request.
-
-
-
Method Detail
-
filter
public HttpRequest filter(HttpRequest request) throws HttpException
Adds the Authorization header to the request. Also if the method for the operation (or its class) is annotated with a version that is higher than the default (apiVersion), then the Version parameter of the request is set to be the value from the annotation.- Specified by:
filter
in interfaceHttpRequestFilter
- Parameters:
request
- The HTTP request for the API call.- Returns:
- The request
- Throws:
HttpException
-
-