Package | Description |
---|---|
com.iijgio.dag |
IIJ GIOストレージ&アナリシスサービス SDKのすべてのクラスを含みます。
|
com.iijgio.dag.auth |
IIJ GIOストレージ&アナリシスサービス SDKの認証に関したクラスを含みます。
|
com.iijgio.dag.handlers |
IIJ GIOストレージ&アナリシスサービス へのリクエストを扱うクラスを含みます
|
com.iijgio.dag.http |
IIJ GIOストレージ&アナリシスサービス SDKで使用する http処理を行うクラスを含みます
|
com.iijgio.dag.services.storage |
IIJ GIOストレージ&アナリシスサービスへアクセスする同期クライアント実装です
|
com.iijgio.dag.services.storage.internal |
IIJ GIOストレージ&アナリシスサービス SDKで内部的に使用するクラスを含みます
|
com.iijgio.dag.util |
IIJ GIOストレージ&アナリシスサービス SDKで内部的に使用するユーティリティクラスを含みます
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultRequest<T>
Requestインターフェースのデフォルト実装クラスです。
|
Modifier and Type | Method and Description |
---|---|
Request<T> |
Request.withParameter(String name,
String value)
リクエストにパラメタを追加し、更新したリクエストを返します。
|
Request<T> |
DefaultRequest.withParameter(String name,
String value) |
Request<T> |
Request.withTimeOffset(int timeOffset)
このリクエストに対する時間オフセットの任意の値を設定します。
|
Request<T> |
DefaultRequest.withTimeOffset(int timeOffset) |
Modifier and Type | Method and Description |
---|---|
protected <T> HttpRequest |
IIJGIOWebServiceClient.convertToHttpRequest(Request<T> request,
HttpMethodName methodName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractIIJGIOSigner.addSessionCredentials(Request<?> request,
IIJGIOSessionCredentials credentials)
所定のリクエストにセッション資格情報を加えます。
|
protected byte[] |
AbstractIIJGIOSigner.getBinaryRequestPayload(Request<?> request)
リクエストのペイロードをバイナリデータとして返します。
|
protected InputStream |
AbstractIIJGIOSigner.getBinaryRequestPayloadStream(Request<?> request) |
protected InputStream |
AbstractIIJGIOSigner.getBinaryRequestPayloadStreamWithoutQueryParams(Request<?> request) |
protected byte[] |
AbstractIIJGIOSigner.getBinaryRequestPayloadWithoutQueryParams(Request<?> request)
リクエストのペイロード内容をバイナリデータとして返します。
どんなクエリ文字列のパラメータを処理しません。
(すなわち、クエリ・パラメータに対してエンコードを行いません)
|
protected String |
AbstractIIJGIOSigner.getCanonicalizedQueryString(Request<?> request) |
protected String |
AbstractIIJGIOSigner.getRequestPayload(Request<?> request)
リクエストのペイロードを文字列として返します。
|
protected String |
AbstractIIJGIOSigner.getRequestPayloadWithoutQueryParams(Request<?> request)
リクエストのペイロード内容を文字列として返します。
どんなクエリ文字列のパラメータを処理しません。
(すなわち、クエリ・パラメータに対してエンコードを行いません)
|
protected int |
AbstractIIJGIOSigner.getTimeOffset(Request<?> request) |
void |
Signer.sign(Request<?> request,
IIJGIOCredentials credentials)
IIJ GIOストレージ&アナリシスサービス APIへのリクエストに対して
認証情報を生成してサインを行います
|
Modifier and Type | Method and Description |
---|---|
void |
RequestHandler.afterError(Request<?> request,
Exception e)
リクエストが失敗した後に、特定のリクエストに対する追加処理を実行します。
|
void |
AbstractRequestHandler.afterError(Request<?> request,
Exception e) |
void |
RequestHandler.afterResponse(Request<?> request,
Object response)
(クライアントランタイムによって実行された後に)
特定のリクエストに対する追加処理を実行します。
|
void |
AbstractRequestHandler.afterResponse(Request<?> request,
Object response) |
void |
RequestHandler.beforeRequest(Request<?> request)
(クライアントランタイムによって実行される前に)
特定のリクエストに対する追加処理を実行します。
|
void |
AbstractRequestHandler.beforeRequest(Request<?> request) |
Modifier and Type | Method and Description |
---|---|
Request<?> |
HttpResponse.getRequest()
このレスポンスオブジェクトと関連するオリジナルのリクエストを返します
|
Modifier and Type | Method and Description |
---|---|
<T> T |
HttpClient.execute(Request<?> request,
HttpResponseHandler<IIJGIOWebServiceResponse<T>> responseHandler,
HttpResponseHandler<IIJGIOServiceException> errorResponseHandler,
ExecutionContext executionContext)
リクエストを実行し、結果を返します。
|
Constructor and Description |
---|
HttpResponse(Request<?> request,
org.apache.http.client.methods.HttpUriRequest httpRequest)
指定したリクエストに関連付けて新規のHttpResponseを構築します
|
Modifier and Type | Method and Description |
---|---|
protected <X extends IIJGIOWebServiceRequest> |
StorageClient.createRequest(String bucketName,
String key,
X originalRequest,
HttpMethodName httpMethod)
指定されたリソースの新しいリクエストオブジェクトを作成、初期化します。
|
Modifier and Type | Method and Description |
---|---|
protected void |
StorageClient.configRequest(Request<?> request,
String bucketName,
String key)
指定したバケットとキーを用いて与えられたリクエストを設定する。
|
protected Signer |
StorageClient.createSigner(Request<?> request,
String bucketName,
String key) |
protected <X,Y extends IIJGIOWebServiceRequest> |
StorageClient.invoke(Request<Y> request,
HttpResponseHandler<IIJGIOWebServiceResponse<X>> responseHandler,
String bucket,
String key) |
protected <X,Y extends IIJGIOWebServiceRequest> |
StorageClient.invoke(Request<Y> request,
Unmarshaller<X,InputStream> unmarshaller,
String bucketName,
String key) |
protected static void |
StorageClient.populateRequestMetadata(Request<?> request,
ObjectMetadata metadata)
指定されたリクエストオブジェクトに
ObjectMetadata からの
適切なヘッダー情報を取り込みます。 |
protected <T> void |
StorageClient.presignRequest(Request<T> request,
HttpMethod methodName,
String bucketName,
String key,
Date expiration,
String subResource)
シグニチャのクエリ文字列パラメータを使った指定されたリクエストを前署名を行う。
|
Modifier and Type | Method and Description |
---|---|
protected void |
StorageSigner.addSessionCredentials(Request<?> request,
IIJGIOSessionCredentials credentials) |
protected void |
StorageQueryStringSigner.addSessionCredentials(Request<?> request,
IIJGIOSessionCredentials credentials) |
static URL |
ServiceUtils.convertRequestToUrl(Request<?> request)
指定されたリクエストオブジェクトを、エンドポイント・パラメタなどから
URLオブジェクトに変換します。
|
static <T> String |
RestUtils.makeCanonicalString(String method,
String resource,
Request<T> request,
String expires)
REST/HTTP リクエストのために、正規化された文字列を生成します
|
void |
StorageSigner.sign(Request<?> request,
IIJGIOCredentials credentials) |
void |
StorageQueryStringSigner.sign(Request<?> request,
IIJGIOCredentials credentials) |
Modifier and Type | Method and Description |
---|---|
static String |
HttpUtils.encodeParameters(Request<?> request)
指定したリクエスト内の全パラメータからエンコードされた
クエリ文字列を生成します。
|
static boolean |
HttpUtils.usePayloadForQueryParameters(Request<?> request) |
Copyright © 2018. All rights reserved.