public interface HttpRequestExecutor
HttpRequest.| Modifier and Type | Method and Description |
|---|---|
<T> T |
execute(java.net.URI uri,
HttpRequest<T> request)
Sends the given
HttpRequest to the given URI and returns the result. |
<T> T execute(java.net.URI uri,
HttpRequest<T> request)
throws java.io.IOException,
ProtocolError,
ProtocolException,
RedirectionException,
UnexpectedStatusException
HttpRequest to the given URI and returns the result.uri - The URI to send this request to.request - The request to execute.java.io.IOExceptionProtocolErrorProtocolExceptionRedirectionExceptionUnexpectedStatusException