Package | Description |
---|---|
org.apache.http |
Core HTTP component APIs and primitives.
|
org.apache.http.client |
Client HTTP communication APIs.
|
org.apache.http.client.methods |
Standard HTTP method implementations.
|
org.apache.http.client.protocol |
Client specific HTTP protocol handlers.
|
org.apache.http.client.utils |
Client utility classes.
|
org.apache.http.conn |
Client connection management APIs.
|
org.apache.http.impl |
Default implementations of HTTP connections for synchronous,
blocking communication.
|
org.apache.http.impl.auth |
Default implementations of standard and common HTTP authentication
schemes.
|
org.apache.http.impl.client |
Default HTTP client implementation.
|
org.apache.http.impl.conn |
Default implementations of client connection management
functions.
|
org.apache.http.impl.execchain |
HTTP request execution chain APIs.
|
org.apache.http.impl.io |
Default implementations of message parses and writers
for synchronous, blocking communication.
|
org.apache.http.message |
Core HTTP message components, message element parser
and writer APIs and their default implementations.
|
org.apache.http.protocol |
Core HTTP protocol execution framework and HTTP protocol handlers
for synchronous, blocking communication.
|
org.apache.http.util |
Core utility classes.
|
Modifier and Type | Method and Description |
---|---|
HttpResponse |
HttpResponseFactory.newHttpResponse(ProtocolVersion ver,
int status,
HttpContext context)
Creates a new response from status line elements.
|
HttpResponse |
HttpResponseFactory.newHttpResponse(StatusLine statusline,
HttpContext context)
Creates a new response from a status line.
|
HttpResponse |
HttpClientConnection.receiveResponseHeader()
Receives the request line and headers of the next response available from
this connection.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ConnectionReuseStrategy.keepAlive(HttpResponse response,
HttpContext context)
Decides whether a connection can be kept open after a request.
|
void |
HttpResponseInterceptor.process(HttpResponse response,
HttpContext context)
Processes a response.
|
void |
HttpClientConnection.receiveResponseEntity(HttpResponse response)
Receives the next response entity available from this connection and
attaches it to an existing HttpResponse object.
|
void |
HttpServerConnection.sendResponseEntity(HttpResponse response)
Sends the response entity of a response over this connection.
|
void |
HttpServerConnection.sendResponseHeader(HttpResponse response)
Sends the response line and headers of a response over this connection.
|
Modifier and Type | Method and Description |
---|---|
HttpResponse |
HttpClient.execute(HttpHost target,
HttpRequest request)
Executes HTTP request using the default context.
|
HttpResponse |
RequestDirector.execute(HttpHost target,
HttpRequest request,
HttpContext context)
Deprecated.
Executes a request.
|
HttpResponse |
HttpClient.execute(HttpHost target,
HttpRequest request,
HttpContext context)
Executes HTTP request using the given context.
|
HttpResponse |
HttpClient.execute(HttpUriRequest request)
Executes HTTP request using the default context.
|
HttpResponse |
HttpClient.execute(HttpUriRequest request,
HttpContext context)
Executes HTTP request using the given context.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,Header> |
AuthenticationStrategy.getChallenges(HttpHost authhost,
HttpResponse response,
HttpContext context)
Extracts from the given HTTP response a collection of authentication
challenges, each of which represents an authentication scheme supported
by the authentication host.
|
java.util.Map<java.lang.String,Header> |
AuthenticationHandler.getChallenges(HttpResponse response,
HttpContext context)
Deprecated.
Extracts from the given HTTP response a collection of authentication
challenges, each of which represents an authentication scheme supported
by the authentication host.
|
java.net.URI |
RedirectHandler.getLocationURI(HttpResponse response,
HttpContext context)
Deprecated.
Determines the location request is expected to be redirected to
given the response from the target server and the current request
execution context.
|
HttpUriRequest |
RedirectStrategy.getRedirect(HttpRequest request,
HttpResponse response,
HttpContext context)
Determines the redirect location given the response from the target
server and the current request execution context and generates a new
request to be sent to the location.
|
T |
ResponseHandler.handleResponse(HttpResponse response)
Processes an
HttpResponse and returns some value
corresponding to that response. |
boolean |
AuthenticationStrategy.isAuthenticationRequested(HttpHost authhost,
HttpResponse response,
HttpContext context)
Determines if the given HTTP response response represents
an authentication challenge that was sent back as a result
of authentication failure.
|
boolean |
AuthenticationHandler.isAuthenticationRequested(HttpResponse response,
HttpContext context)
Deprecated.
Determines if the given HTTP response response represents
an authentication challenge that was sent back as a result
of authentication failure
|
boolean |
RedirectStrategy.isRedirected(HttpRequest request,
HttpResponse response,
HttpContext context)
Determines if a request should be redirected to a new location
given the response from the target server.
|
boolean |
RedirectHandler.isRedirectRequested(HttpResponse response,
HttpContext context)
Deprecated.
Determines if a request should be redirected to a new location
given the response from the target server.
|
boolean |
ServiceUnavailableRetryStrategy.retryRequest(HttpResponse response,
int executionCount,
HttpContext context)
Determines if a method should be retried given the response from the target server.
|
java.util.Queue<AuthOption> |
AuthenticationStrategy.select(java.util.Map<java.lang.String,Header> challenges,
HttpHost authhost,
HttpResponse response,
HttpContext context)
Selects one authentication challenge out of all available and
creates and generates
AuthOption instance capable of
processing that challenge. |
AuthScheme |
AuthenticationHandler.selectScheme(java.util.Map<java.lang.String,Header> challenges,
HttpResponse response,
HttpContext context)
Deprecated.
Selects one authentication challenge out of all available and
creates and generates
AuthScheme instance capable of
processing that challenge. |
boolean |
ConnectionBackoffStrategy.shouldBackoff(HttpResponse resp)
Determines whether receiving the given
HttpResponse as
a result of request execution should result in a backoff
signal. |
Modifier and Type | Interface and Description |
---|---|
interface |
CloseableHttpResponse
Extended version of the
HttpResponse interface that also extends Closeable . |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
HttpOptions.getAllowedMethods(HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
ResponseAuthCache.process(HttpResponse response,
HttpContext context)
Deprecated.
|
void |
ResponseProcessCookies.process(HttpResponse response,
HttpContext context) |
void |
ResponseContentEncoding.process(HttpResponse response,
HttpContext context) |
Modifier and Type | Method and Description |
---|---|
static void |
HttpClientUtils.closeQuietly(HttpResponse response)
Unconditionally close a response.
|
Modifier and Type | Method and Description |
---|---|
long |
ConnectionKeepAliveStrategy.getKeepAliveDuration(HttpResponse response,
HttpContext context)
Returns the duration of time which this connection can be safely kept
idle.
|
Modifier and Type | Method and Description |
---|---|
HttpResponse |
DefaultHttpResponseFactory.newHttpResponse(ProtocolVersion ver,
int status,
HttpContext context) |
HttpResponse |
DefaultHttpResponseFactory.newHttpResponse(StatusLine statusline,
HttpContext context) |
HttpResponse |
AbstractHttpClientConnection.receiveResponseHeader()
Deprecated.
|
HttpResponse |
DefaultBHttpClientConnection.receiveResponseHeader() |
Modifier and Type | Method and Description |
---|---|
protected HttpMessageParser<HttpResponse> |
AbstractHttpClientConnection.createResponseParser(SessionInputBuffer buffer,
HttpResponseFactory responseFactory,
HttpParams params)
Deprecated.
Creates an instance of
HttpMessageParser to be used for parsing
HTTP responses received over this connection. |
protected HttpMessageWriter<HttpResponse> |
AbstractHttpServerConnection.createResponseWriter(SessionOutputBuffer buffer,
HttpParams params)
Deprecated.
Creates an instance of
HttpMessageWriter to be used for
writing out HTTP responses sent over this connection. |
Modifier and Type | Method and Description |
---|---|
boolean |
NoConnectionReuseStrategy.keepAlive(HttpResponse response,
HttpContext context) |
boolean |
DefaultConnectionReuseStrategy.keepAlive(HttpResponse response,
HttpContext context) |
protected void |
DefaultBHttpClientConnection.onResponseReceived(HttpResponse response) |
protected void |
DefaultBHttpServerConnection.onResponseSubmitted(HttpResponse response) |
void |
AbstractHttpClientConnection.receiveResponseEntity(HttpResponse response)
Deprecated.
|
void |
DefaultBHttpClientConnection.receiveResponseEntity(HttpResponse response) |
void |
AbstractHttpServerConnection.sendResponseEntity(HttpResponse response)
Deprecated.
|
void |
DefaultBHttpServerConnection.sendResponseEntity(HttpResponse response) |
void |
AbstractHttpServerConnection.sendResponseHeader(HttpResponse response)
Deprecated.
|
void |
DefaultBHttpServerConnection.sendResponseHeader(HttpResponse response) |
Constructor and Description |
---|
DefaultBHttpClientConnection(int buffersize,
int fragmentSizeHint,
java.nio.charset.CharsetDecoder chardecoder,
java.nio.charset.CharsetEncoder charencoder,
MessageConstraints constraints,
ContentLengthStrategy incomingContentStrategy,
ContentLengthStrategy outgoingContentStrategy,
HttpMessageWriterFactory<HttpRequest> requestWriterFactory,
HttpMessageParserFactory<HttpResponse> responseParserFactory)
Creates new instance of DefaultBHttpClientConnection.
|
DefaultBHttpClientConnectionFactory(ConnectionConfig cconfig,
ContentLengthStrategy incomingContentStrategy,
ContentLengthStrategy outgoingContentStrategy,
HttpMessageWriterFactory<HttpRequest> requestWriterFactory,
HttpMessageParserFactory<HttpResponse> responseParserFactory) |
DefaultBHttpClientConnectionFactory(ConnectionConfig cconfig,
HttpMessageWriterFactory<HttpRequest> requestWriterFactory,
HttpMessageParserFactory<HttpResponse> responseParserFactory) |
DefaultBHttpServerConnection(int buffersize,
int fragmentSizeHint,
java.nio.charset.CharsetDecoder chardecoder,
java.nio.charset.CharsetEncoder charencoder,
MessageConstraints constraints,
ContentLengthStrategy incomingContentStrategy,
ContentLengthStrategy outgoingContentStrategy,
HttpMessageParserFactory<HttpRequest> requestParserFactory,
HttpMessageWriterFactory<HttpResponse> responseWriterFactory)
Creates new instance of DefaultBHttpServerConnection.
|
DefaultBHttpServerConnectionFactory(ConnectionConfig cconfig,
ContentLengthStrategy incomingContentStrategy,
ContentLengthStrategy outgoingContentStrategy,
HttpMessageParserFactory<HttpRequest> requestParserFactory,
HttpMessageWriterFactory<HttpResponse> responseWriterFactory) |
DefaultBHttpServerConnectionFactory(ConnectionConfig cconfig,
HttpMessageParserFactory<HttpRequest> requestParserFactory,
HttpMessageWriterFactory<HttpResponse> responseWriterFactory) |
Modifier and Type | Method and Description |
---|---|
boolean |
HttpAuthenticator.handleAuthChallenge(HttpHost host,
HttpResponse response,
AuthenticationStrategy authStrategy,
AuthState authState,
HttpContext context) |
boolean |
HttpAuthenticator.isAuthenticationRequested(HttpHost host,
HttpResponse response,
AuthenticationStrategy authStrategy,
AuthState authState,
HttpContext context) |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
AutoRetryHttpClient.execute(HttpHost target,
HttpRequest request)
Deprecated.
|
HttpResponse |
DecompressingHttpClient.execute(HttpHost target,
HttpRequest request)
Deprecated.
|
HttpResponse |
AutoRetryHttpClient.execute(HttpHost target,
HttpRequest request,
HttpContext context)
Deprecated.
|
HttpResponse |
DefaultRequestDirector.execute(HttpHost targetHost,
HttpRequest request,
HttpContext context)
Deprecated.
|
HttpResponse |
DecompressingHttpClient.execute(HttpHost target,
HttpRequest request,
HttpContext context)
Deprecated.
|
HttpResponse |
AutoRetryHttpClient.execute(HttpUriRequest request)
Deprecated.
|
HttpResponse |
DecompressingHttpClient.execute(HttpUriRequest request)
Deprecated.
|
HttpResponse |
AutoRetryHttpClient.execute(HttpUriRequest request,
HttpContext context)
Deprecated.
|
HttpResponse |
DecompressingHttpClient.execute(HttpUriRequest request,
HttpContext context)
Deprecated.
|
HttpResponse |
TunnelRefusedException.getResponse()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
HttpAuthenticator.authenticate(HttpHost host,
HttpResponse response,
AuthenticationStrategy authStrategy,
AuthState authState,
HttpContext context)
Deprecated.
|
protected java.util.List<java.lang.String> |
DefaultTargetAuthenticationHandler.getAuthPreferences(HttpResponse response,
HttpContext context)
Deprecated.
|
protected java.util.List<java.lang.String> |
AbstractAuthenticationHandler.getAuthPreferences(HttpResponse response,
HttpContext context)
Deprecated.
Returns default list of auth scheme names in their order of preference
based on the HTTP response and the current execution context.
|
protected java.util.List<java.lang.String> |
DefaultProxyAuthenticationHandler.getAuthPreferences(HttpResponse response,
HttpContext context)
Deprecated.
|
java.util.Map<java.lang.String,Header> |
AuthenticationStrategyAdaptor.getChallenges(HttpHost authhost,
HttpResponse response,
HttpContext context)
Deprecated.
|
java.util.Map<java.lang.String,Header> |
AuthenticationStrategyImpl.getChallenges(HttpHost authhost,
HttpResponse response,
HttpContext context)
Generates a map of challenge auth-scheme => Header entries.
|
java.util.Map<java.lang.String,Header> |
DefaultTargetAuthenticationHandler.getChallenges(HttpResponse response,
HttpContext context)
Deprecated.
|
java.util.Map<java.lang.String,Header> |
DefaultProxyAuthenticationHandler.getChallenges(HttpResponse response,
HttpContext context)
Deprecated.
|
long |
DefaultConnectionKeepAliveStrategy.getKeepAliveDuration(HttpResponse response,
HttpContext context) |
java.net.URI |
DefaultRedirectStrategy.getLocationURI(HttpRequest request,
HttpResponse response,
HttpContext context) |
java.net.URI |
DefaultRedirectHandler.getLocationURI(HttpResponse response,
HttpContext context)
Deprecated.
|
HttpUriRequest |
DefaultRedirectStrategyAdaptor.getRedirect(HttpRequest request,
HttpResponse response,
HttpContext context)
Deprecated.
|
HttpUriRequest |
DefaultRedirectStrategy.getRedirect(HttpRequest request,
HttpResponse response,
HttpContext context) |
T |
AbstractResponseHandler.handleResponse(HttpResponse response)
Read the entity from the response body and pass it to the entity handler
method if the response was successful (a 2xx status code).
|
java.lang.String |
BasicResponseHandler.handleResponse(HttpResponse response) |
protected RoutedRequest |
DefaultRequestDirector.handleResponse(RoutedRequest roureq,
HttpResponse response,
HttpContext context)
Deprecated.
Analyzes a response to check need for a followup.
|
boolean |
AuthenticationStrategyAdaptor.isAuthenticationRequested(HttpHost authhost,
HttpResponse response,
HttpContext context)
Deprecated.
|
boolean |
AuthenticationStrategyImpl.isAuthenticationRequested(HttpHost authhost,
HttpResponse response,
HttpContext context) |
boolean |
DefaultTargetAuthenticationHandler.isAuthenticationRequested(HttpResponse response,
HttpContext context)
Deprecated.
|
boolean |
DefaultProxyAuthenticationHandler.isAuthenticationRequested(HttpResponse response,
HttpContext context)
Deprecated.
|
boolean |
DefaultRedirectStrategyAdaptor.isRedirected(HttpRequest request,
HttpResponse response,
HttpContext context)
Deprecated.
|
boolean |
DefaultRedirectStrategy.isRedirected(HttpRequest request,
HttpResponse response,
HttpContext context) |
boolean |
DefaultRedirectHandler.isRedirectRequested(HttpResponse response,
HttpContext context)
Deprecated.
|
boolean |
DefaultClientConnectionReuseStrategy.keepAlive(HttpResponse response,
HttpContext context) |
static CloseableHttpResponse |
CloseableHttpResponseProxy.newProxy(HttpResponse original)
Deprecated.
|
boolean |
DefaultServiceUnavailableRetryStrategy.retryRequest(HttpResponse response,
int executionCount,
HttpContext context) |
java.util.Queue<AuthOption> |
AuthenticationStrategyAdaptor.select(java.util.Map<java.lang.String,Header> challenges,
HttpHost authhost,
HttpResponse response,
HttpContext context)
Deprecated.
|
java.util.Queue<AuthOption> |
AuthenticationStrategyImpl.select(java.util.Map<java.lang.String,Header> challenges,
HttpHost authhost,
HttpResponse response,
HttpContext context) |
AuthScheme |
AbstractAuthenticationHandler.selectScheme(java.util.Map<java.lang.String,Header> challenges,
HttpResponse response,
HttpContext context)
Deprecated.
|
boolean |
NullBackoffStrategy.shouldBackoff(HttpResponse resp) |
boolean |
DefaultBackoffStrategy.shouldBackoff(HttpResponse resp) |
Constructor and Description |
---|
CloseableHttpResponseProxy(HttpResponse original)
Deprecated.
|
TunnelRefusedException(java.lang.String message,
HttpResponse response)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected HttpResponse |
DefaultHttpResponseParser.parseHead(SessionInputBuffer sessionBuffer) |
HttpResponse |
DefaultClientConnection.receiveResponseHeader()
Deprecated.
|
HttpResponse |
AbstractClientConnAdapter.receiveResponseHeader()
Deprecated.
|
HttpResponse |
ManagedClientConnectionImpl.receiveResponseHeader()
Deprecated.
|
HttpResponse |
CPoolProxy.receiveResponseHeader() |
Modifier and Type | Method and Description |
---|---|
HttpMessageParser<HttpResponse> |
DefaultHttpResponseParserFactory.create(SessionInputBuffer buffer,
MessageConstraints constraints) |
protected HttpMessageParser<HttpResponse> |
DefaultClientConnection.createResponseParser(SessionInputBuffer buffer,
HttpResponseFactory responseFactory,
HttpParams params)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
LoggingManagedHttpClientConnection.onResponseReceived(HttpResponse response) |
void |
AbstractClientConnAdapter.receiveResponseEntity(HttpResponse response)
Deprecated.
|
void |
ManagedClientConnectionImpl.receiveResponseEntity(HttpResponse response)
Deprecated.
|
void |
CPoolProxy.receiveResponseEntity(HttpResponse response) |
Constructor and Description |
---|
DefaultManagedHttpClientConnection(java.lang.String id,
int buffersize,
int fragmentSizeHint,
java.nio.charset.CharsetDecoder chardecoder,
java.nio.charset.CharsetEncoder charencoder,
MessageConstraints constraints,
ContentLengthStrategy incomingContentStrategy,
ContentLengthStrategy outgoingContentStrategy,
HttpMessageWriterFactory<HttpRequest> requestWriterFactory,
HttpMessageParserFactory<HttpResponse> responseParserFactory) |
LoggingManagedHttpClientConnection(java.lang.String id,
Log log,
Log headerlog,
Log wirelog,
int buffersize,
int fragmentSizeHint,
java.nio.charset.CharsetDecoder chardecoder,
java.nio.charset.CharsetEncoder charencoder,
MessageConstraints constraints,
ContentLengthStrategy incomingContentStrategy,
ContentLengthStrategy outgoingContentStrategy,
HttpMessageWriterFactory<HttpRequest> requestWriterFactory,
HttpMessageParserFactory<HttpResponse> responseParserFactory) |
ManagedHttpClientConnectionFactory(HttpMessageParserFactory<HttpResponse> responseParserFactory) |
ManagedHttpClientConnectionFactory(HttpMessageWriterFactory<HttpRequest> requestWriterFactory,
HttpMessageParserFactory<HttpResponse> responseParserFactory) |
ManagedHttpClientConnectionFactory(HttpMessageWriterFactory<HttpRequest> requestWriterFactory,
HttpMessageParserFactory<HttpResponse> responseParserFactory,
ContentLengthStrategy incomingContentStrategy,
ContentLengthStrategy outgoingContentStrategy) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
HttpResponseProxy
A proxy class for
HttpResponse that can be used to release client connection
associated with the original response. |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
TunnelRefusedException.getResponse() |
Modifier and Type | Method and Description |
---|---|
static void |
ResponseEntityProxy.enchance(HttpResponse response,
ConnectionHolder connHolder) |
Constructor and Description |
---|
HttpResponseProxy(HttpResponse original,
ConnectionHolder connHolder) |
TunnelRefusedException(java.lang.String message,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
protected HttpResponse |
DefaultHttpResponseParser.parseHead(SessionInputBuffer sessionBuffer) |
Modifier and Type | Method and Description |
---|---|
HttpMessageParser<HttpResponse> |
DefaultHttpResponseParserFactory.create(SessionInputBuffer buffer,
MessageConstraints constraints) |
HttpMessageWriter<HttpResponse> |
DefaultHttpResponseWriterFactory.create(SessionOutputBuffer buffer) |
Modifier and Type | Method and Description |
---|---|
protected void |
HttpResponseWriter.writeHeadLine(HttpResponse message)
Deprecated.
|
protected void |
DefaultHttpResponseWriter.writeHeadLine(HttpResponse message) |
Modifier and Type | Class and Description |
---|---|
class |
BasicHttpResponse
Basic implementation of
HttpResponse . |
Modifier and Type | Method and Description |
---|---|
protected HttpResponse |
HttpRequestExecutor.doReceiveResponse(HttpRequest request,
HttpClientConnection conn,
HttpContext context)
Waits for and receives a response.
|
protected HttpResponse |
HttpRequestExecutor.doSendRequest(HttpRequest request,
HttpClientConnection conn,
HttpContext context)
Send the given request over the given connection.
|
HttpResponse |
HttpRequestExecutor.execute(HttpRequest request,
HttpClientConnection conn,
HttpContext context)
Sends the request and obtain a response.
|
HttpResponse |
HttpCoreContext.getResponse() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
HttpRequestExecutor.canResponseHaveBody(HttpRequest request,
HttpResponse response)
Decide whether a response comes with an entity.
|
protected void |
HttpService.doService(HttpRequest request,
HttpResponse response,
HttpContext context)
The default implementation of this method attempts to resolve an
HttpRequestHandler for the request URI of the given request
and, if found, executes its
HttpRequestHandler.handle(HttpRequest, HttpResponse, HttpContext)
method. |
void |
HttpRequestHandler.handle(HttpRequest request,
HttpResponse response,
HttpContext context)
Handles the request and produces a response to be sent back to
the client.
|
protected void |
HttpService.handleException(HttpException ex,
HttpResponse response)
Handles the given exception and generates an HTTP response to be sent
back to the client to inform about the exceptional condition encountered
in the course of the request processing.
|
void |
HttpRequestExecutor.postProcess(HttpResponse response,
HttpProcessor processor,
HttpContext context)
Post-processes the given response using the given protocol processor and
completes the process of request execution.
|
void |
BasicHttpProcessor.process(HttpResponse response,
HttpContext context)
Deprecated.
|
void |
ImmutableHttpProcessor.process(HttpResponse response,
HttpContext context) |
void |
ResponseDate.process(HttpResponse response,
HttpContext context) |
void |
ResponseContent.process(HttpResponse response,
HttpContext context)
Processes the response (possibly updating or inserting) Content-Length and Transfer-Encoding headers.
|
void |
ResponseConnControl.process(HttpResponse response,
HttpContext context) |
void |
ResponseServer.process(HttpResponse response,
HttpContext context) |
void |
HttpExpectationVerifier.verify(HttpRequest request,
HttpResponse response,
HttpContext context)
Verifies whether the given request meets the server's expectations.
|
Modifier and Type | Method and Description |
---|---|
static void |
EntityUtils.updateEntity(HttpResponse response,
HttpEntity entity)
Updates an entity in a response by first consuming an existing entity, then setting the new one.
|