public interface Http
Modifier and Type | Method and Description |
---|---|
HttpResponse |
executeHttpRequest(java.net.URI uri,
HttpMethod method,
HttpHeader[] headers,
java.io.InputStream content)
Executes an HTTP request.
|
HttpResponse executeHttpRequest(java.net.URI uri, HttpMethod method, HttpHeader[] headers, java.io.InputStream content)
uri
- the uri to contact.method
- the HTTP method.headers
- the headers of the request.content
- the content of the request, or null when there is no content. For methods GET and DELETE this value
is ignored.