@DeprecatedSE public class InterceptingAsyncClientHttpRequestFactory extends ObjectSE implements AsyncClientHttpRequestFactory
AsyncClientHttpRequestInterceptors をサポートする AsyncClientHttpRequestFactory のラッパー。InterceptingAsyncClientHttpRequest| コンストラクターと説明 |
|---|
InterceptingAsyncClientHttpRequestFactory(AsyncClientHttpRequestFactory delegate, ListSE<AsyncClientHttpRequestInterceptor> interceptors) 使用すべきではありません。 委譲されたリクエストファクトリとインターセプターのリストを使用して、 InterceptingAsyncClientHttpRequestFactory の新しいインスタンスを作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
AsyncClientHttpRequest | createAsyncRequest(URISE uri, HttpMethod method) 使用すべきではありません。 指定された URI および HTTP メソッドの新しい非同期 AsyncClientHttpRequest を作成します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic InterceptingAsyncClientHttpRequestFactory(AsyncClientHttpRequestFactory delegate, @Nullable ListSE<AsyncClientHttpRequestInterceptor> interceptors)
InterceptingAsyncClientHttpRequestFactory の新しいインスタンスを作成します。delegate - 委譲するリクエストファクトリ interceptors - 使用するインターセプターのリスト public AsyncClientHttpRequest createAsyncRequest(URISE uri, HttpMethod method)
AsyncClientHttpRequestFactoryAsyncClientHttpRequest を作成します。 返されたリクエストは、AsyncClientHttpRequest.executeAsync() を呼び出して書き込み、実行できます。
AsyncClientHttpRequestFactory の createAsyncRequest uri - リクエストを作成する URImethod - 実行する HTTP メソッド