public class AsyncHttpClientRequestAdapter extends java.lang.Object implements AsyncHttpClientRequest
| Constructor and Description |
|---|
AsyncHttpClientRequestAdapter(HttpClientRequest source) |
AsyncHttpClientRequestAdapter(HttpClientRequest source,
java.util.concurrent.Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
com.github.ljtfreitas.restify.http.client.message.request.HttpRequestBody |
body() |
java.nio.charset.Charset |
charset() |
HttpClientResponse |
execute() |
java.util.concurrent.CompletionStage<HttpClientResponse> |
executeAsync() |
com.github.ljtfreitas.restify.http.client.message.Headers |
headers() |
java.lang.String |
method() |
com.github.ljtfreitas.restify.http.client.message.request.HttpRequestMessage |
replace(com.github.ljtfreitas.restify.http.client.message.Header header) |
java.net.URI |
uri() |
public AsyncHttpClientRequestAdapter(HttpClientRequest source)
public AsyncHttpClientRequestAdapter(HttpClientRequest source, java.util.concurrent.Executor executor)
public HttpClientResponse execute() throws HttpClientException
execute in interface AsyncHttpClientRequestexecute in interface HttpClientRequestHttpClientExceptionpublic java.net.URI uri()
uri in interface com.github.ljtfreitas.restify.http.client.message.request.HttpRequestMessagepublic java.lang.String method()
method in interface com.github.ljtfreitas.restify.http.client.message.request.HttpRequestMessagepublic com.github.ljtfreitas.restify.http.client.message.request.HttpRequestBody body()
body in interface com.github.ljtfreitas.restify.http.client.message.request.HttpRequestMessagepublic java.nio.charset.Charset charset()
charset in interface com.github.ljtfreitas.restify.http.client.message.request.HttpRequestMessagepublic com.github.ljtfreitas.restify.http.client.message.request.HttpRequestMessage replace(com.github.ljtfreitas.restify.http.client.message.Header header)
replace in interface com.github.ljtfreitas.restify.http.client.message.request.HttpRequestMessagepublic com.github.ljtfreitas.restify.http.client.message.Headers headers()
headers in interface com.github.ljtfreitas.restify.http.client.message.HttpMessagepublic java.util.concurrent.CompletionStage<HttpClientResponse> executeAsync() throws HttpClientException
executeAsync in interface AsyncHttpClientRequestHttpClientExceptionCopyright © 2019. All Rights Reserved.