程序包 | 说明 |
---|---|
com.sinacloud.scs | |
com.sinacloud.scs.auth | |
com.sinacloud.scs.http | |
com.sinacloud.scs.services.scs | |
com.sinacloud.scs.services.scs.internal | |
com.sinacloud.scs.util |
限定符和类型 | 类和说明 |
---|---|
class |
DefaultRequest<T>
Default implementation of the com.amazonaws.Request interface.
|
限定符和类型 | 方法和说明 |
---|---|
Request<T> |
DefaultRequest.withParameter(String name,
String value) |
Request<T> |
Request.withParameter(String name,
String value)
Adds the specified request parameter to this request, and returns the
updated request object.
|
Request<T> |
DefaultRequest.withTimeOffset(int timeOffset) |
Request<T> |
Request.withTimeOffset(int timeOffset)
Sets the optional value for time offset for this request.
|
限定符和类型 | 方法和说明 |
---|---|
protected <T> HttpRequest |
SCSWebServiceClient.convertToHttpRequest(Request<T> request,
HttpMethodName methodName)
已过时。
|
protected ExecutionContext |
SCSWebServiceClient.createExecutionContext(Request<?> req) |
限定符和类型 | 方法和说明 |
---|---|
protected abstract void |
AbstractAWSSigner.addSessionCredentials(Request<?> request,
AWSSessionCredentials credentials)
Adds session credentials to the request given.
|
protected byte[] |
AbstractAWSSigner.getBinaryRequestPayload(Request<?> request)
Returns the request's payload as binary data.
|
protected InputStream |
AbstractAWSSigner.getBinaryRequestPayloadStream(Request<?> request) |
protected InputStream |
AbstractAWSSigner.getBinaryRequestPayloadStreamWithoutQueryParams(Request<?> request) |
protected byte[] |
AbstractAWSSigner.getBinaryRequestPayloadWithoutQueryParams(Request<?> request)
Returns the request's payload contents as binary data, without processing
any query string params (i.e. no form encoding for query params).
|
protected String |
AbstractAWSSigner.getCanonicalizedQueryString(Request<?> request) |
protected String |
AbstractAWSSigner.getRequestPayload(Request<?> request)
Returns the request's payload as a String.
|
protected String |
AbstractAWSSigner.getRequestPayloadWithoutQueryParams(Request<?> request)
Returns the request's payload contents as a String, without processing
any query string params (i.e. no form encoding for query params).
|
protected int |
AbstractAWSSigner.getTimeOffset(Request<?> request) |
void |
Signer.sign(Request<?> request,
AWSCredentials credentials) |
限定符和类型 | 方法和说明 |
---|---|
Request<?> |
HttpResponse.getRequest()
Returns the original request associated with this response.
|
限定符和类型 | 方法和说明 |
---|---|
<T> Response<T> |
HttpConnect.execute(Request<?> request,
HttpResponseHandler<SCSWebServiceResponse<T>> responseHandler,
HttpResponseHandler<SCSServiceException> errorResponseHandler,
ExecutionContext executionContext)
Executes the request and returns the result.
|
构造器和说明 |
---|
HttpResponse(Request<?> request,
org.apache.http.client.methods.HttpRequestBase httpRequest)
Constructs a new HttpResponse associated with the specified request.
|
限定符和类型 | 方法和说明 |
---|---|
protected <X extends SCSWebServiceRequest> |
SCSClient.createRequest(String bucketName,
String key,
X originalRequest,
HttpMethodName httpMethod)
Creates and initializes a new request object for the specified S3
resource.
|
限定符和类型 | 方法和说明 |
---|---|
protected Signer |
SCSClient.createSigner(Request<?> request,
String bucketName,
String key) |
protected static void |
SCSClient.populateRequestMetadata(Request<?> request,
ObjectMetadata metadata)
Populates the specified request object with the appropriate headers from
the
ObjectMetadata object. |
protected <T> void |
SCSClient.presignRequest(Request<T> request,
HttpMethod methodName,
String bucketName,
String key,
Date expiration,
String subResource)
Pre-signs the specified request, using a signature query-string
parameter.
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
S3QueryStringSigner.addSessionCredentials(Request<?> request,
AWSSessionCredentials credentials) |
protected void |
S3Signer.addSessionCredentials(Request<?> request,
AWSSessionCredentials credentials) |
static URL |
ServiceUtils.convertRequestToUrl(Request<?> request)
Converts the specified request object into a URL, containing all the
specified parameters, the specified request endpoint, etc.
|
static URL |
ServiceUtils.convertRequestToUrl(Request<?> request,
boolean removeLeadingSlashInResourcePath)
Converts the specified request object into a URL, containing all the
specified parameters, the specified request endpoint, etc.
|
static <T> String |
RestUtils.makeS3CanonicalString(String method,
String resource,
Request<T> request,
String expires)
Calculate the canonical string for a REST/HTTP request to S3.
|
void |
S3QueryStringSigner.sign(Request<?> request,
AWSCredentials credentials) |
void |
S3Signer.sign(Request<?> request,
AWSCredentials credentials) |
限定符和类型 | 方法和说明 |
---|---|
static String |
HttpUtils.encodeParameters(Request<?> request)
Creates an encoded query string from all the parameters in the specified
request.
|
static boolean |
HttpUtils.usePayloadForQueryParameters(Request<?> request) |
Copyright © 2016. All rights reserved.