Uses of Interface
org.apache.http.HttpResponse
Packages that use HttpResponse
Package
Description
Core HTTP component APIs and primitives.
Default implementations of HTTP connections for synchronous,
blocking communication.
Default implementations of message parses and writers
for synchronous, blocking communication.
Default implementations of HTTP connections for asynchronous,
even driven communication.
Default implementations of message parses and writers
for asynchronous, even driven communication.
Default implementations of client side connection pools
for asynchronous, even driven communication.
Core HTTP message components, message element parser
and writer APIs and their default implementations.
Core HTTP component APIs and primitives for asynchronous, event
driven communication.
Core HTTP protocol execution framework and HTTP protocol handlers
for asynchronous, event driven communication.
Core HTTP protocol execution framework and HTTP protocol handlers
for synchronous, blocking communication.
Core utility classes.
-
Uses of HttpResponse in org.apache.http
Methods in org.apache.http that return HttpResponseModifier and TypeMethodDescriptionHttpResponseFactory.newHttpResponse
(ProtocolVersion ver, int status, HttpContext context) Creates a new response from status line elements.HttpResponseFactory.newHttpResponse
(StatusLine statusline, HttpContext context) Creates a new response from a status line.HttpClientConnection.receiveResponseHeader()
Receives the request line and headers of the next response available from this connection.Methods in org.apache.http with parameters of type HttpResponseModifier and TypeMethodDescriptionboolean
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. -
Uses of HttpResponse in org.apache.http.impl
Fields in org.apache.http.impl with type parameters of type HttpResponseModifier and TypeFieldDescriptionprivate HttpMessageParser
<HttpResponse> AbstractHttpClientConnection.responseParser
Deprecated.private final HttpMessageParser
<HttpResponse> DefaultBHttpClientConnection.responseParser
private final HttpMessageParserFactory
<HttpResponse> DefaultBHttpClientConnectionFactory.responseParserFactory
private HttpMessageWriter
<HttpResponse> AbstractHttpServerConnection.responseWriter
Deprecated.private final HttpMessageWriter
<HttpResponse> DefaultBHttpServerConnection.responseWriter
private final HttpMessageWriterFactory
<HttpResponse> DefaultBHttpServerConnectionFactory.responseWriterFactory
Methods in org.apache.http.impl that return HttpResponseModifier and TypeMethodDescriptionDefaultHttpResponseFactory.newHttpResponse
(ProtocolVersion ver, int status, HttpContext context) DefaultHttpResponseFactory.newHttpResponse
(StatusLine statusline, HttpContext context) AbstractHttpClientConnection.receiveResponseHeader()
Deprecated.DefaultBHttpClientConnection.receiveResponseHeader()
Methods in org.apache.http.impl that return types with arguments of type HttpResponseModifier and TypeMethodDescriptionprotected HttpMessageParser
<HttpResponse> AbstractHttpClientConnection.createResponseParser
(SessionInputBuffer buffer, HttpResponseFactory responseFactory, HttpParams params) Deprecated.Creates an instance ofHttpMessageParser
to be used for parsing HTTP responses received over this connection.protected HttpMessageWriter
<HttpResponse> AbstractHttpServerConnection.createResponseWriter
(SessionOutputBuffer buffer, HttpParams params) Deprecated.Creates an instance ofHttpMessageWriter
to be used for writing out HTTP responses sent over this connection.Methods in org.apache.http.impl with parameters of type HttpResponseModifier and TypeMethodDescriptionprivate boolean
DefaultConnectionReuseStrategy.canResponseHaveBody
(HttpRequest request, HttpResponse response) boolean
DefaultConnectionReuseStrategy.keepAlive
(HttpResponse response, HttpContext context) boolean
NoConnectionReuseStrategy.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 parameters in org.apache.http.impl with type arguments of type HttpResponseModifierConstructorDescriptionDefaultBHttpClientConnection
(int bufferSize, int fragmentSizeHint, CharsetDecoder charDecoder, 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, CharsetDecoder charDecoder, 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) -
Uses of HttpResponse in org.apache.http.impl.io
Methods in org.apache.http.impl.io that return HttpResponseModifier and TypeMethodDescriptionprotected HttpResponse
DefaultHttpResponseParser.parseHead
(SessionInputBuffer sessionBuffer) Methods in org.apache.http.impl.io that return types with arguments of type HttpResponseModifier and TypeMethodDescriptionDefaultHttpResponseParserFactory.create
(SessionInputBuffer buffer, MessageConstraints constraints) DefaultHttpResponseWriterFactory.create
(SessionOutputBuffer buffer) Methods in org.apache.http.impl.io with parameters of type HttpResponseModifier and TypeMethodDescriptionprotected void
DefaultHttpResponseWriter.writeHeadLine
(HttpResponse message) protected void
HttpResponseWriter.writeHeadLine
(HttpResponse message) Deprecated. -
Uses of HttpResponse in org.apache.http.impl.nio
Fields in org.apache.http.impl.nio declared as HttpResponseFields in org.apache.http.impl.nio with type parameters of type HttpResponseModifier and TypeFieldDescriptionprotected final NHttpMessageParser
<HttpResponse> DefaultNHttpClientConnection.responseParser
private final NHttpMessageParserFactory
<HttpResponse> DefaultNHttpClientConnectionFactory.responseParserFactory
private final NHttpMessageParserFactory
<HttpResponse> SSLNHttpClientConnectionFactory.responseParserFactory
protected final NHttpMessageWriter
<HttpResponse> DefaultNHttpServerConnection.responseWriter
private final NHttpMessageWriterFactory
<HttpResponse> DefaultNHttpServerConnectionFactory.responseWriterFactory
private final NHttpMessageWriterFactory
<HttpResponse> SSLNHttpServerConnectionFactory.responseWriterFactory
Methods in org.apache.http.impl.nio that return HttpResponseMethods in org.apache.http.impl.nio that return types with arguments of type HttpResponseModifier and TypeMethodDescriptionprotected NHttpMessageParser
<HttpResponse> DefaultNHttpClientConnection.createResponseParser
(SessionInputBuffer buffer, HttpResponseFactory responseFactory, HttpParams params) Deprecated.(4.3) use constructor.protected NHttpMessageWriter
<HttpResponse> DefaultNHttpServerConnection.createResponseWriter
(SessionOutputBuffer buffer, HttpParams params) Deprecated.(4.3) use constructor.Methods in org.apache.http.impl.nio with parameters of type HttpResponseModifier and TypeMethodDescriptionprotected void
DefaultNHttpClientConnection.onResponseReceived
(HttpResponse response) protected void
DefaultNHttpServerConnection.onResponseSubmitted
(HttpResponse response) void
DefaultNHttpServerConnection.submitResponse
(HttpResponse response) Constructor parameters in org.apache.http.impl.nio with type arguments of type HttpResponseModifierConstructorDescriptionDefaultNHttpClientConnection
(IOSession session, int bufferSize, int fragmentSizeHint, ByteBufferAllocator allocator, CharsetDecoder charDecoder, CharsetEncoder charEncoder, MessageConstraints constraints, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, NHttpMessageWriterFactory<HttpRequest> requestWriterFactory, NHttpMessageParserFactory<HttpResponse> responseParserFactory) Creates new instance DefaultNHttpClientConnection given the underlying I/O session.DefaultNHttpClientConnectionFactory
(ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, NHttpMessageParserFactory<HttpResponse> responseParserFactory, NHttpMessageWriterFactory<HttpRequest> requestWriterFactory, ByteBufferAllocator allocator, ConnectionConfig cconfig) DefaultNHttpClientConnectionFactory
(NHttpMessageParserFactory<HttpResponse> responseParserFactory, NHttpMessageWriterFactory<HttpRequest> requestWriterFactory, ConnectionConfig cconfig) DefaultNHttpClientConnectionFactory
(NHttpMessageParserFactory<HttpResponse> responseParserFactory, NHttpMessageWriterFactory<HttpRequest> requestWriterFactory, ByteBufferAllocator allocator, ConnectionConfig cconfig) DefaultNHttpServerConnection
(IOSession session, int bufferSize, int fragmentSizeHint, ByteBufferAllocator allocator, CharsetDecoder charDecoder, CharsetEncoder charEncoder, MessageConstraints constraints, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory) Creates new instance DefaultNHttpServerConnection given the underlying I/O session.DefaultNHttpServerConnectionFactory
(ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, ByteBufferAllocator allocator, ConnectionConfig cconfig) DefaultNHttpServerConnectionFactory
(ByteBufferAllocator allocator, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, ConnectionConfig cconfig) SSLNHttpClientConnectionFactory
(SSLContext sslContext, SSLSetupHandler sslHandler, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, NHttpMessageParserFactory<HttpResponse> responseParserFactory, NHttpMessageWriterFactory<HttpRequest> requestWriterFactory, ByteBufferAllocator allocator, ConnectionConfig cconfig) SSLNHttpClientConnectionFactory
(SSLContext sslContext, SSLSetupHandler sslHandler, NHttpMessageParserFactory<HttpResponse> responseParserFactory, NHttpMessageWriterFactory<HttpRequest> requestWriterFactory, ConnectionConfig cconfig) SSLNHttpClientConnectionFactory
(SSLContext sslContext, SSLSetupHandler sslHandler, NHttpMessageParserFactory<HttpResponse> responseParserFactory, NHttpMessageWriterFactory<HttpRequest> requestWriterFactory, ByteBufferAllocator allocator, ConnectionConfig cconfig) SSLNHttpServerConnectionFactory
(SSLContext sslContext, SSLSetupHandler sslHandler, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, ByteBufferAllocator allocator, ConnectionConfig cconfig) SSLNHttpServerConnectionFactory
(SSLContext sslContext, SSLSetupHandler sslHandler, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, ConnectionConfig cconfig) SSLNHttpServerConnectionFactory
(SSLContext sslContext, SSLSetupHandler sslHandler, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, ByteBufferAllocator allocator, ConnectionConfig cconfig) -
Uses of HttpResponse in org.apache.http.impl.nio.codecs
Methods in org.apache.http.impl.nio.codecs that return HttpResponseModifier and TypeMethodDescriptionprotected HttpResponse
DefaultHttpResponseParser.createMessage
(CharArrayBuffer buffer) Methods in org.apache.http.impl.nio.codecs that return types with arguments of type HttpResponseModifier and TypeMethodDescriptionDefaultHttpResponseParserFactory.create
(SessionInputBuffer buffer, MessageConstraints constraints) DefaultHttpResponseWriterFactory.create
(SessionOutputBuffer buffer) Methods in org.apache.http.impl.nio.codecs with parameters of type HttpResponseModifier and TypeMethodDescriptionprotected void
DefaultHttpResponseWriter.writeHeadLine
(HttpResponse message) -
Uses of HttpResponse in org.apache.http.impl.nio.pool
Constructor parameters in org.apache.http.impl.nio.pool with type arguments of type HttpResponseModifierConstructorDescriptionBasicNIOConnFactory
(SSLContext sslContext, SSLSetupHandler sslHandler, NHttpMessageParserFactory<HttpResponse> responseParserFactory, NHttpMessageWriterFactory<HttpRequest> requestWriterFactory, ByteBufferAllocator allocator, ConnectionConfig config) -
Uses of HttpResponse in org.apache.http.message
Classes in org.apache.http.message that implement HttpResponse -
Uses of HttpResponse in org.apache.http.nio
Methods in org.apache.http.nio that return HttpResponseModifier and TypeMethodDescriptionNHttpConnection.getHttpResponse()
Returns the current HTTP response if one is being received / transmitted.Methods in org.apache.http.nio with parameters of type HttpResponseModifier and TypeMethodDescriptionvoid
NHttpServerConnection.submitResponse
(HttpResponse response) Submits {link @HttpResponse} to be sent to the client. -
Uses of HttpResponse in org.apache.http.nio.protocol
Fields in org.apache.http.nio.protocol declared as HttpResponseModifier and TypeFieldDescriptionprivate HttpResponse
AsyncNHttpClientHandler.ClientConnState.response
private HttpResponse
AsyncNHttpServiceHandler.ServerConnState.response
private HttpResponse
BasicAsyncResponseConsumer.response
private final HttpResponse
BasicAsyncResponseProducer.response
private final HttpResponse
ErrorResponseProducer.response
private HttpResponse
HttpAsyncRequestExecutor.State.response
private final HttpResponse
HttpAsyncService.HttpAsyncExchangeImpl.response
private final HttpResponse
HttpAsyncService.Outgoing.response
private HttpResponse
ThrottlingHttpClientHandler.ClientConnState.response
private HttpResponse
ThrottlingHttpServiceHandler.ServerConnState.response
Methods in org.apache.http.nio.protocol that return HttpResponseModifier and TypeMethodDescriptionprotected HttpResponse
BasicAsyncResponseConsumer.buildResult
(HttpContext context) protected HttpResponse
HttpAsyncService.createHttpResponse
(int status, HttpContext context) BasicAsyncResponseProducer.generateResponse()
ErrorResponseProducer.generateResponse()
HttpAsyncResponseProducer.generateResponse()
Invoked to generate a HTTP response message head.AsyncNHttpClientHandler.ClientConnState.getResponse()
AsyncNHttpServiceHandler.ServerConnState.getResponse()
HttpAsyncExchange.getResponse()
Returns the default HTTP response message.HttpAsyncRequestExecutor.State.getResponse()
HttpAsyncService.HttpAsyncExchangeImpl.getResponse()
HttpAsyncService.Outgoing.getResponse()
ThrottlingHttpClientHandler.ClientConnState.getResponse()
ThrottlingHttpServiceHandler.ServerConnState.getResponse()
Methods in org.apache.http.nio.protocol with parameters of type HttpResponseModifier and TypeMethodDescriptionprivate boolean
HttpAsyncRequestExecutor.canResponseHaveBody
(HttpRequest request, HttpResponse response) private boolean
HttpAsyncService.canResponseHaveBody
(HttpRequest request, HttpResponse response) protected boolean
NHttpHandlerBase.canResponseHaveBody
(HttpRequest request, HttpResponse response) Deprecated.void
BufferingHttpServiceHandler.RequestHandlerAdaptor.handle
(HttpRequest request, HttpResponse response, HttpContext context) void
NHttpRequestHandler.handle
(HttpRequest request, HttpResponse response, NHttpResponseTrigger trigger, HttpContext context) Deprecated.Initiates processing of the request.final void
SimpleNHttpRequestHandler.handle
(HttpRequest request, HttpResponse response, NHttpResponseTrigger trigger, HttpContext context) Deprecated.abstract void
SimpleNHttpRequestHandler.handle
(HttpRequest request, HttpResponse response, HttpContext context) Deprecated.private void
AsyncNHttpServiceHandler.handleException
(HttpException ex, HttpResponse response) Deprecated.private void
ThrottlingHttpServiceHandler.handleException
(HttpException ex, HttpResponse response) Deprecated.void
BufferingHttpClientHandler.ExecutionHandlerAdaptor.handleResponse
(HttpResponse response, HttpContext context) void
HttpRequestExecutionHandler.handleResponse
(HttpResponse response, HttpContext context) Deprecated.Triggered when an HTTP response is ready to be processed.void
NHttpRequestExecutionHandler.handleResponse
(HttpResponse response, HttpContext context) Deprecated.Triggered when an HTTP response is ready to be processed.private void
ThrottlingHttpClientHandler.handleResponse
(HttpResponse response, ThrottlingHttpClientHandler.ClientConnState connState, NHttpClientConnection conn) Deprecated.protected abstract void
AbstractAsyncResponseConsumer.onResponseReceived
(HttpResponse response) Invoked when a HTTP response message is received.protected void
BasicAsyncResponseConsumer.onResponseReceived
(HttpResponse response) protected void
AsyncNHttpServiceHandler.responseComplete
(HttpResponse response, HttpContext context) Deprecated.Signals that this response has been fully sent.BufferingHttpClientHandler.ExecutionHandlerAdaptor.responseEntity
(HttpResponse response, HttpContext context) NHttpRequestExecutionHandler.responseEntity
(HttpResponse response, HttpContext context) Deprecated.Triggered when a response is received with an entity.final void
AbstractAsyncResponseConsumer.responseReceived
(HttpResponse response) void
BasicAsyncClientExchangeHandler.responseReceived
(HttpResponse response) void
BasicAsyncRequestExecutionHandler.responseReceived
(HttpResponse response) Deprecated.void
HttpAsyncClientExchangeHandler.responseReceived
(HttpResponse response) Invoked when a HTTP response message is received.void
HttpAsyncResponseConsumer.responseReceived
(HttpResponse response) Invoked when a HTTP response message is received.void
PipeliningClientExchangeHandler.responseReceived
(HttpResponse response) private void
AsyncNHttpServiceHandler.sendResponse
(NHttpServerConnection conn, HttpRequest request, HttpResponse response) Deprecated.void
AsyncNHttpClientHandler.ClientConnState.setResponse
(HttpResponse response) void
AsyncNHttpServiceHandler.ServerConnState.setResponse
(HttpResponse response) void
HttpAsyncRequestExecutor.State.setResponse
(HttpResponse response) void
ThrottlingHttpClientHandler.ClientConnState.setResponse
(HttpResponse response) void
ThrottlingHttpServiceHandler.ServerConnState.setResponse
(HttpResponse response) void
AsyncNHttpServiceHandler.ResponseTriggerImpl.submitResponse
(HttpResponse response) void
NHttpResponseTrigger.submitResponse
(HttpResponse response) Deprecated.Submits a response to be sent back to the client as a result of processing of the request.Constructors in org.apache.http.nio.protocol with parameters of type HttpResponseModifierConstructorDescriptionBasicAsyncResponseProducer
(HttpResponse response) Creates a producer that can be used to transmit the given response message.protected
BasicAsyncResponseProducer
(HttpResponse response, HttpAsyncContentProducer producer) Creates a producer that can be used to transmit the given response message.ErrorResponseProducer
(HttpResponse response, HttpEntity entity, boolean keepAlive) HttpAsyncExchangeImpl
(HttpRequest request, HttpResponse response, HttpAsyncService.State state, NHttpServerConnection conn, HttpContext context) (package private)
Outgoing
(HttpRequest request, HttpResponse response, HttpAsyncResponseProducer producer, HttpContext context) -
Uses of HttpResponse in org.apache.http.protocol
Methods in org.apache.http.protocol that return HttpResponseModifier and TypeMethodDescriptionprotected 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.HttpRequestExecutor.execute
(HttpRequest request, HttpClientConnection conn, HttpContext context) Sends the request and obtain a response.HttpCoreContext.getResponse()
Methods in org.apache.http.protocol with parameters of type HttpResponseModifier and TypeMethodDescriptionprotected boolean
HttpRequestExecutor.canResponseHaveBody
(HttpRequest request, HttpResponse response) Decide whether a response comes with an entity.private boolean
HttpService.canResponseHaveBody
(HttpRequest request, HttpResponse response) protected void
HttpService.doService
(HttpRequest request, HttpResponse response, HttpContext context) The default implementation of this method attempts to resolve anHttpRequestHandler
for the request URI of the given request and, if found, executes itsHttpRequestHandler.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
ResponseConnControl.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
ResponseDate.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. -
Uses of HttpResponse in org.apache.http.util
Methods in org.apache.http.util with parameters of type HttpResponseModifier and TypeMethodDescriptionstatic void
EntityUtils.updateEntity
(HttpResponse response, HttpEntity entity) Updates an entity in a response by first consuming an existing entity, then setting the new one.