|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClientHttpRequestFactory
Factory for ClientHttpRequest
objects.
Requests are created by the createRequest(URI, HttpMethod)
method.
Method Summary | |
---|---|
ClientHttpRequest |
createRequest(URI uri,
HttpMethod httpMethod)
Create a new ClientHttpRequest for the specified URI and HTTP method. |
Method Detail |
---|
ClientHttpRequest createRequest(URI uri, HttpMethod httpMethod) throws IOException
ClientHttpRequest
for the specified URI and HTTP method.
The returned request can be written to, and then executed by calling
ClientHttpRequest.execute()
.
uri
- the URI to create a request forhttpMethod
- the HTTP method to execute
IOException
- in case of I/O errors
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |