com.netease.cloud.services.nos.internal
public class NosSigner extends AbstractSigner
Constructor and Description |
---|
NosSigner(String httpVerb,
String resourcePath)
Constructs a new S3Signer to sign requests based on the credentials, HTTP
method and canonical S3 resource path.
|
Modifier and Type | Method and Description |
---|---|
void |
sign(Request<?> request,
Credentials credentials) |
getCanonicalizedEndpoint, getCanonicalizedQueryString, getCanonicalizedQueryString, getCanonicalizedResourcePath, getRequestPayload, getRequestPayloadWithoutQueryParams, hash, sanitizeCredentials, sign, sign, signAndBase64Encode, signAndBase64Encode
public NosSigner(String httpVerb, String resourcePath)
httpVerb
- The HTTP verb (GET, PUT, POST, HEAD, DELETE) the request is
using.resourcePath
- The canonical Nos resource path (ex: "/", "/public void sign(Request<?> request, Credentials credentials) throws ClientException
ClientException
Copyright © 2017. All Rights Reserved.