public class AwsSignatureProcessor extends Object
Constructor and Description |
---|
AwsSignatureProcessor(javax.ws.rs.container.ContainerRequestContext context)
Create a new
AwsSignatureProcessor . |
AwsSignatureProcessor(io.netty.handler.codec.http.HttpRequest httpRequest)
Create a new
AwsSignatureProcessor with HttpRequest
as the info marshall source. |
AwsSignatureProcessor(javax.servlet.http.HttpServletRequest request)
Create a new
AwsSignatureProcessor with HttpServletRequest
as the info marshall source. |
Modifier and Type | Method and Description |
---|---|
AwsAuthInfo |
getAuthInfo()
Convert SignatureInfo to AwsAuthInfo.
|
SignatureInfo |
parseSignature()
Extract signature info from request.
|
public AwsSignatureProcessor(javax.ws.rs.container.ContainerRequestContext context)
AwsSignatureProcessor
.context
- ContainerRequestContextpublic AwsSignatureProcessor(javax.servlet.http.HttpServletRequest request)
AwsSignatureProcessor
with HttpServletRequest
as the info marshall source.
Used by the new architecture in HttpServletRequest
request
- public AwsSignatureProcessor(io.netty.handler.codec.http.HttpRequest httpRequest)
AwsSignatureProcessor
with HttpRequest
as the info marshall source.
Used by the new architecture in HttpRequest
httpRequest
- public SignatureInfo parseSignature() throws S3Exception
S3Exception
public AwsAuthInfo getAuthInfo() throws S3Exception
S3Exception
Copyright © 2023. All Rights Reserved.