@DeprecatedSE public class MockAsyncClientHttpRequest extends MockClientHttpRequest implements AsyncClientHttpRequest
コンストラクターと説明 |
---|
MockAsyncClientHttpRequest() 使用すべきではありません。 |
MockAsyncClientHttpRequest(HttpMethod httpMethod, URISE uri) 使用すべきではありません。 |
修飾子と型 | メソッドと説明 |
---|---|
ListenableFuture<ClientHttpResponse> | executeAsync() 使用すべきではありません。 このリクエストを非同期で実行し、Future ハンドルを生成します。 |
execute, executeInternal, getMethod, getMethodValue, getURI, isExecuted, setMethod, setResponse, setURI, toString
getBody, getBodyAsBytes, getBodyAsString, getBodyAsString, getHeaders
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
getMethod, getMethodValue, getURI
getBody
getHeaders
public MockAsyncClientHttpRequest()
public MockAsyncClientHttpRequest(HttpMethod httpMethod, URISE uri)
public ListenableFuture<ClientHttpResponse> executeAsync() throws IOExceptionSE
AsyncClientHttpRequest
ClientHttpResponse
。AsyncClientHttpRequest
の executeAsync
IOExceptionSE
- I/O エラーの場合