Uses of Interface
org.apache.hc.core5.http.ClassicHttpResponse
Packages that use ClassicHttpResponse
Package
Description
HTTP/1.1 requester and server bootstrap.
Default implementation of HTTP/1.1 transport based on the classic
(blocking) I/O model.
Core HTTP transport APIs based on the classic (blocking) I/O model.
Support classes for the classic (blocking) I/O model.
Core HTTP message components, message element parser
and writer APIs and their default implementations.
-
Uses of ClassicHttpResponse in org.apache.hc.core5.http.impl.bootstrap
Fields in org.apache.hc.core5.http.impl.bootstrap with type parameters of type ClassicHttpResponseModifier and TypeFieldDescriptionprivate HttpResponseFactory
<ClassicHttpResponse> ServerBootstrap.responseFactory
Methods in org.apache.hc.core5.http.impl.bootstrap that return ClassicHttpResponseModifier and TypeMethodDescriptionHttpRequester.execute
(HttpHost targetHost, ClassicHttpRequest request, HttpResponseInformationCallback informationCallback, Timeout connectTimeout, HttpContext context) HttpRequester.execute
(HttpHost targetHost, ClassicHttpRequest request, Timeout connectTimeout, HttpContext context) HttpRequester.execute
(HttpClientConnection connection, ClassicHttpRequest request, HttpResponseInformationCallback informationCallback, HttpContext context) HttpRequester.execute
(HttpClientConnection connection, ClassicHttpRequest request, HttpContext context) Methods in org.apache.hc.core5.http.impl.bootstrap with parameters of type ClassicHttpResponseModifier and TypeMethodDescriptionboolean
HttpRequester.keepAlive
(HttpClientConnection connection, ClassicHttpRequest request, ClassicHttpResponse response, HttpContext context) Method parameters in org.apache.hc.core5.http.impl.bootstrap with type arguments of type ClassicHttpResponseModifier and TypeMethodDescriptionfinal ServerBootstrap
ServerBootstrap.setResponseFactory
(HttpResponseFactory<ClassicHttpResponse> responseFactory) AssignsHttpResponseFactory
instance. -
Uses of ClassicHttpResponse in org.apache.hc.core5.http.impl.io
Fields in org.apache.hc.core5.http.impl.io with type parameters of type ClassicHttpResponseModifier and TypeFieldDescriptionprivate final HttpResponseFactory
<ClassicHttpResponse> DefaultHttpResponseParser.responseFactory
private final HttpResponseFactory
<ClassicHttpResponse> DefaultHttpResponseParserFactory.responseFactory
private final HttpMessageParser
<ClassicHttpResponse> DefaultBHttpClientConnection.responseParser
DefaultBHttpClientConnectionFactory.Builder.responseParserFactory
private final HttpMessageParserFactory
<ClassicHttpResponse> DefaultBHttpClientConnectionFactory.responseParserFactory
private final HttpMessageWriter
<ClassicHttpResponse> DefaultBHttpServerConnection.responseWriter
DefaultBHttpServerConnectionFactory.Builder.responseWriterFactory
private final HttpMessageWriterFactory
<ClassicHttpResponse> DefaultBHttpServerConnectionFactory.responseWriterFactory
Methods in org.apache.hc.core5.http.impl.io that return ClassicHttpResponseModifier and TypeMethodDescriptionprotected ClassicHttpResponse
DefaultHttpResponseParser.createMessage
(CharArrayBuffer buffer) HttpRequestExecutor.execute
(ClassicHttpRequest request, HttpClientConnection conn, HttpResponseInformationCallback informationCallback, HttpContext context) Sends the request and obtain a response.HttpRequestExecutor.execute
(ClassicHttpRequest request, HttpClientConnection conn, HttpContext context) Sends the request and obtain a response.DefaultClassicHttpResponseFactory.newHttpResponse
(int status) DefaultClassicHttpResponseFactory.newHttpResponse
(int status, String reasonPhrase) DefaultBHttpClientConnection.receiveResponseHeader()
Methods in org.apache.hc.core5.http.impl.io that return types with arguments of type ClassicHttpResponseModifier and TypeMethodDescriptionDefaultHttpResponseParserFactory.create
(Http1Config http1Config) DefaultHttpResponseWriterFactory.create()
Methods in org.apache.hc.core5.http.impl.io with parameters of type ClassicHttpResponseModifier and TypeMethodDescriptionprotected void
HttpService.handleException
(HttpException ex, ClassicHttpResponse 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.boolean
HttpRequestExecutor.keepAlive
(ClassicHttpRequest request, ClassicHttpResponse response, HttpClientConnection connection, HttpContext context) Determines whether the connection can be kept alive and is safe to be re-used for subsequent message exchanges.protected void
DefaultBHttpClientConnection.onResponseReceived
(ClassicHttpResponse response) protected void
DefaultBHttpServerConnection.onResponseSubmitted
(ClassicHttpResponse response) void
HttpRequestExecutor.postProcess
(ClassicHttpResponse response, HttpProcessor processor, HttpContext context) Post-processes the given response using the given protocol processor and completes the process of request execution.void
DefaultBHttpClientConnection.receiveResponseEntity
(ClassicHttpResponse response) void
DefaultBHttpServerConnection.sendResponseEntity
(ClassicHttpResponse response) void
DefaultBHttpServerConnection.sendResponseHeader
(ClassicHttpResponse response) protected void
DefaultHttpResponseWriter.writeHeadLine
(ClassicHttpResponse message, CharArrayBuffer lineBuf) Method parameters in org.apache.hc.core5.http.impl.io with type arguments of type ClassicHttpResponseModifier and TypeMethodDescriptionDefaultBHttpClientConnectionFactory.Builder.responseParserFactory
(HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory) DefaultBHttpServerConnectionFactory.Builder.responseWriterFactory
(HttpMessageWriterFactory<ClassicHttpResponse> responseWriterFactory) Constructor parameters in org.apache.hc.core5.http.impl.io with type arguments of type ClassicHttpResponseModifierConstructorDescriptionDefaultBHttpClientConnection
(Http1Config http1Config, CharsetDecoder charDecoder, CharsetEncoder charEncoder, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory, HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory) Creates new instance of DefaultBHttpClientConnection.DefaultBHttpClientConnection
(Http1Config http1Config, CharsetDecoder charDecoder, CharsetEncoder charEncoder, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, ResponseOutOfOrderStrategy responseOutOfOrderStrategy, HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory, HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory) Creates new instance of DefaultBHttpClientConnection.DefaultBHttpClientConnectionFactory
(Http1Config http1Config, CharCodingConfig charCodingConfig, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory, HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory) private
DefaultBHttpClientConnectionFactory
(Http1Config http1Config, CharCodingConfig charCodingConfig, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, ResponseOutOfOrderStrategy responseOutOfOrderStrategy, HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory, HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory) DefaultBHttpClientConnectionFactory
(Http1Config http1Config, CharCodingConfig charCodingConfig, HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory, HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory) DefaultBHttpServerConnection
(String scheme, Http1Config http1Config, CharsetDecoder charDecoder, CharsetEncoder charEncoder, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, HttpMessageParserFactory<ClassicHttpRequest> requestParserFactory, HttpMessageWriterFactory<ClassicHttpResponse> responseWriterFactory) Creates new instance of DefaultBHttpServerConnection.DefaultBHttpServerConnectionFactory
(String scheme, Http1Config http1Config, CharCodingConfig charCodingConfig, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, HttpMessageParserFactory<ClassicHttpRequest> requestParserFactory, HttpMessageWriterFactory<ClassicHttpResponse> responseWriterFactory) DefaultBHttpServerConnectionFactory
(String scheme, Http1Config http1Config, CharCodingConfig charCodingConfig, HttpMessageParserFactory<ClassicHttpRequest> requestParserFactory, HttpMessageWriterFactory<ClassicHttpResponse> responseWriterFactory) DefaultHttpResponseParser
(LineParser lineParser, HttpResponseFactory<ClassicHttpResponse> responseFactory, Http1Config http1Config) Creates new instance of DefaultHttpResponseParser.DefaultHttpResponseParserFactory
(LineParser lineParser, HttpResponseFactory<ClassicHttpResponse> responseFactory) HttpService
(HttpProcessor processor, HttpRequestMapper<HttpRequestHandler> handlerMapper, ConnectionReuseStrategy connReuseStrategy, HttpResponseFactory<ClassicHttpResponse> responseFactory) Create a new HTTP service.HttpService
(HttpProcessor processor, HttpRequestMapper<HttpRequestHandler> handlerMapper, ConnectionReuseStrategy connReuseStrategy, HttpResponseFactory<ClassicHttpResponse> responseFactory, Http1StreamListener streamListener) Create a new HTTP service. -
Uses of ClassicHttpResponse in org.apache.hc.core5.http.io
Methods in org.apache.hc.core5.http.io that return ClassicHttpResponseModifier and TypeMethodDescriptionHttpClientConnection.receiveResponseHeader()
Receives the request line and headers of the next response available from this connection.Methods in org.apache.hc.core5.http.io with parameters of type ClassicHttpResponseModifier and TypeMethodDescriptionvoid
HttpRequestHandler.handle
(ClassicHttpRequest request, ClassicHttpResponse response, HttpContext context) Handles the request and produces a response to be sent back to the client.HttpClientResponseHandler.handleResponse
(ClassicHttpResponse response) Processes anClassicHttpResponse
and returns some value corresponding to that response.void
HttpClientConnection.receiveResponseEntity
(ClassicHttpResponse response) Receives the next response entity available from this connection and attaches it to an existing HttpResponse object.void
HttpFilterChain.ResponseTrigger.sendInformation
(ClassicHttpResponse response) Sends an intermediate informational HTTP response to the client.void
HttpServerRequestHandler.ResponseTrigger.sendInformation
(ClassicHttpResponse response) Sends an intermediate informational HTTP response to the client.void
HttpServerConnection.sendResponseEntity
(ClassicHttpResponse response) Sends the response entity of a response over this connection.void
HttpServerConnection.sendResponseHeader
(ClassicHttpResponse response) Sends the response line and headers of a response over this connection.void
HttpFilterChain.ResponseTrigger.submitResponse
(ClassicHttpResponse response) Sends a final HTTP response to the client.void
HttpServerRequestHandler.ResponseTrigger.submitResponse
(ClassicHttpResponse response) Sends a final HTTP response to the client. -
Uses of ClassicHttpResponse in org.apache.hc.core5.http.io.support
Fields in org.apache.hc.core5.http.io.support with type parameters of type ClassicHttpResponseModifier and TypeFieldDescriptionprivate final HttpResponseFactory
<ClassicHttpResponse> BasicHttpServerRequestHandler.responseFactory
private final HttpResponseFactory
<ClassicHttpResponse> TerminalServerFilter.responseFactory
Methods in org.apache.hc.core5.http.io.support that return ClassicHttpResponseModifier and TypeMethodDescriptionClassicResponseBuilder.build()
protected ClassicHttpResponse
BasicHttpServerExpectationDecorator.verify
(ClassicHttpRequest request, HttpContext context) Verifies the HTTP request and decides whether it meets server expectations and the request processing can continue.Methods in org.apache.hc.core5.http.io.support with parameters of type ClassicHttpResponseModifier and TypeMethodDescriptionstatic ClassicResponseBuilder
ClassicResponseBuilder.copy
(ClassicHttpResponse response) protected void
ClassicResponseBuilder.digest
(ClassicHttpResponse response) Constructor parameters in org.apache.hc.core5.http.io.support with type arguments of type ClassicHttpResponseModifierConstructorDescriptionBasicHttpServerRequestHandler
(HttpRequestMapper<HttpRequestHandler> handlerMapper, HttpResponseFactory<ClassicHttpResponse> responseFactory) TerminalServerFilter
(HttpRequestMapper<HttpRequestHandler> handlerMapper, HttpResponseFactory<ClassicHttpResponse> responseFactory) -
Uses of ClassicHttpResponse in org.apache.hc.core5.http.message
Classes in org.apache.hc.core5.http.message that implement ClassicHttpResponse -
Uses of ClassicHttpResponse in org.apache.hc.core5.testing.classic
Fields in org.apache.hc.core5.testing.classic with type parameters of type ClassicHttpResponseModifier and TypeFieldDescriptionprivate final HttpMessageParserFactory
<ClassicHttpResponse> LoggingBHttpClientConnectionFactory.responseParserFactory
private final HttpMessageWriterFactory
<ClassicHttpResponse> LoggingBHttpServerConnectionFactory.responseWriterFactory
Methods in org.apache.hc.core5.testing.classic that return ClassicHttpResponseModifier and TypeMethodDescriptionClassicTestClient.execute
(HttpHost targetHost, ClassicHttpRequest request, HttpContext context) Methods in org.apache.hc.core5.testing.classic with parameters of type ClassicHttpResponseModifier and TypeMethodDescriptionprotected void
LoggingBHttpClientConnection.onResponseReceived
(ClassicHttpResponse response) protected void
LoggingBHttpServerConnection.onResponseSubmitted
(ClassicHttpResponse response) Constructor parameters in org.apache.hc.core5.testing.classic with type arguments of type ClassicHttpResponseModifierConstructorDescriptionLoggingBHttpClientConnection
(Http1Config http1Config, CharsetDecoder charDecoder, CharsetEncoder charEncoder, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory, HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory) LoggingBHttpClientConnectionFactory
(Http1Config http1Config, CharCodingConfig charCodingConfig, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory, HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory) LoggingBHttpClientConnectionFactory
(Http1Config http1Config, CharCodingConfig charCodingConfig, HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory, HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory) LoggingBHttpServerConnection
(String scheme, Http1Config http1Config, CharsetDecoder charDecoder, CharsetEncoder charEncoder, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, HttpMessageParserFactory<ClassicHttpRequest> requestParserFactory, HttpMessageWriterFactory<ClassicHttpResponse> responseWriterFactory) LoggingBHttpServerConnectionFactory
(String scheme, Http1Config http1Config, CharCodingConfig charCodingConfig, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, HttpMessageParserFactory<ClassicHttpRequest> requestParserFactory, HttpMessageWriterFactory<ClassicHttpResponse> responseWriterFactory) LoggingBHttpServerConnectionFactory
(String scheme, Http1Config http1Config, CharCodingConfig charCodingConfig, HttpMessageParserFactory<ClassicHttpRequest> requestParserFactory, HttpMessageWriterFactory<ClassicHttpResponse> responseWriterFactory) -
Uses of ClassicHttpResponse in org.apache.hc.core5.testing.framework
Methods in org.apache.hc.core5.testing.framework with parameters of type ClassicHttpResponseModifier and TypeMethodDescriptionvoid
TestingFrameworkRequestHandler.handle
(ClassicHttpRequest request, ClassicHttpResponse response, HttpContext context) Checks the HTTP request against the requestExpectations that it was previously given.