Client operations are thread safe, the HTTP connection may be shared between different threads.
If a response entity is obtained that is an instance of {@link Closeable} then the instance MUST be closed after processing the entity to release connection-based resources.
If a {@link ClientResponse} is obtained and an entity is not read from theresponse then {@link ClientResponse#close() } MUST be called after processingthe response to release connection-based resources.
The following methods are currently supported: HEAD, GET, POST, PUT, DELETE and OPTIONS.
Chunked transfer encoding can be enabled or disabled but configuration of the chunked encoding size is not possible. If the {@link ClientConfig#PROPERTY_CHUNKED_ENCODING_SIZE} property is setto a non-null value then chunked transfer encoding is enabled. @author jorgeluisw@mac.com @author Paul.Sandoz@Sun.Com
|
|
|
|
|
|
|
|