Свойство | Тип | Описание | |
---|---|---|---|
ALTERNATIVE_DATE_HEADER | string | ||
AMAZON_HEADER_PREFIX | string | ||
DEFAULT_SERVER | string | ||
METADATA_PREFIX | string |
Метод | Описание | |
---|---|---|
Host ( string bucket ) : string | ||
addAuthHeader ( |
Add the appropriate Authorization header to the WebRequest
|
|
addHeaders ( |
Add the given headers to the WebRequest
|
|
addHeaders ( |
Add the given headers to the WebRequest with a prefix before the keys.
|
|
addMetadataHeaders ( |
Add the given metadata fields to the WebRequest.
|
|
currentTimeMillis ( ) : long | ||
encode ( string awsSecretAccessKey, string canonicalString, bool urlEncode ) : string | ||
getHttpDate ( ) : string | ||
makeCanonicalString ( string resource, |
||
makeCanonicalString ( string verb, string resource, |
||
makeURL ( string server, string resource, bool isSecure ) : string |
Create a new URL object for the given resource.
|
|
parseDate ( string dateStr ) : System.DateTime | ||
slurpInputStream ( Stream stream ) : string |
public static Host ( string bucket ) : string | ||
bucket | string | |
Результат | string |
public static addAuthHeader ( |
||
request | Request to add the header to | |
resource | string | The resource name (bucketName + "/" + key) |
awsAccessKeyId | string | |
awsSecretAccessKey | string | |
Результат | void |
public static addHeaders ( |
||
req | Web request to add the headers to. | |
headers | A map of string to string representing the HTTP headers to pass (can be null) | |
Результат | void |
public static addHeaders ( |
||
req | WebRequest to add the headers to. | |
headers | Headers to add. | |
prefix | string | String to prepend to each before ebfore adding it to the WebRequest |
Результат | void |
public static addMetadataHeaders ( |
||
req | Web request to add the headers to. | |
metadata | A map of string to string representing the S3 metadata for this resource. | |
Результат | void |
public static currentTimeMillis ( ) : long | ||
Результат | long |
public static encode ( string awsSecretAccessKey, string canonicalString, bool urlEncode ) : string | ||
awsSecretAccessKey | string | |
canonicalString | string | |
urlEncode | bool | |
Результат | string |
public static makeCanonicalString ( string resource, |
||
resource | string | |
request | ||
Результат | string |
public static makeCanonicalString ( string verb, string resource, |
||
verb | string | |
resource | string | |
headers | ||
expires | string | |
Результат | string |
public static makeURL ( string server, string resource, bool isSecure ) : string | ||
server | string | |
resource | string | The resource name (bucketName + "/" + key) |
isSecure | bool | |
Результат | string |
public static parseDate ( string dateStr ) : System.DateTime | ||
dateStr | string | |
Результат | System.DateTime |
public static slurpInputStream ( Stream stream ) : string | ||
stream | Stream | |
Результат | string |
public static string ALTERNATIVE_DATE_HEADER | ||
Результат | string |
public static string AMAZON_HEADER_PREFIX | ||
Результат | string |