Uses of Interface
org.apache.http.HttpRequest
Packages that use HttpRequest
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.
Core HTTP message components, message element parser
and writer APIs and their default implementations.
Core HTTP protocol execution framework and HTTP protocol handlers
for synchronous, blocking communication.
-
Uses of HttpRequest in org.apache.http
Subinterfaces of HttpRequest in org.apache.httpModifier and TypeInterfaceDescriptioninterface
A request with an entity.Methods in org.apache.http that return HttpRequestModifier and TypeMethodDescriptionHttpRequestFactory.newHttpRequest
(String method, String uri) HttpRequestFactory.newHttpRequest
(RequestLine requestline) HttpServerConnection.receiveRequestHeader()
Receives the request line and all headers available from this connection.Methods in org.apache.http with parameters of type HttpRequestModifier and TypeMethodDescriptionvoid
HttpRequestInterceptor.process
(HttpRequest request, HttpContext context) Processes a request.void
HttpClientConnection.sendRequestHeader
(HttpRequest request) Sends the request line and all headers over the connection. -
Uses of HttpRequest in org.apache.http.impl
Methods in org.apache.http.impl that return HttpRequestModifier and TypeMethodDescriptionDefaultHttpRequestFactory.newHttpRequest
(String method, String uri) DefaultHttpRequestFactory.newHttpRequest
(RequestLine requestline) AbstractHttpServerConnection.receiveRequestHeader()
Deprecated.DefaultBHttpServerConnection.receiveRequestHeader()
Methods in org.apache.http.impl that return types with arguments of type HttpRequestModifier and TypeMethodDescriptionprotected HttpMessageParser<HttpRequest>
AbstractHttpServerConnection.createRequestParser
(SessionInputBuffer buffer, HttpRequestFactory requestFactory, HttpParams params) Deprecated.Creates an instance ofHttpMessageParser
to be used for parsing HTTP requests received over this connection.protected HttpMessageWriter<HttpRequest>
AbstractHttpClientConnection.createRequestWriter
(SessionOutputBuffer buffer, HttpParams params) Deprecated.Creates an instance ofHttpMessageWriter
to be used for writing out HTTP requests sent over this connection.Methods in org.apache.http.impl with parameters of type HttpRequestModifier and TypeMethodDescriptionprotected void
DefaultBHttpServerConnection.onRequestReceived
(HttpRequest request) protected void
DefaultBHttpClientConnection.onRequestSubmitted
(HttpRequest request) void
AbstractHttpClientConnection.sendRequestHeader
(HttpRequest request) Deprecated.void
DefaultBHttpClientConnection.sendRequestHeader
(HttpRequest request) Constructor parameters in org.apache.http.impl with type arguments of type HttpRequestModifierConstructorDescriptionDefaultBHttpClientConnection
(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 HttpRequest in org.apache.http.impl.io
Methods in org.apache.http.impl.io that return HttpRequestModifier and TypeMethodDescriptionprotected HttpRequest
DefaultHttpRequestParser.parseHead
(SessionInputBuffer sessionBuffer) Methods in org.apache.http.impl.io that return types with arguments of type HttpRequestModifier and TypeMethodDescriptionDefaultHttpRequestParserFactory.create
(SessionInputBuffer buffer, MessageConstraints constraints) DefaultHttpRequestWriterFactory.create
(SessionOutputBuffer buffer) Methods in org.apache.http.impl.io with parameters of type HttpRequestModifier and TypeMethodDescriptionprotected void
DefaultHttpRequestWriter.writeHeadLine
(HttpRequest message) protected void
HttpRequestWriter.writeHeadLine
(HttpRequest message) Deprecated. -
Uses of HttpRequest in org.apache.http.message
Classes in org.apache.http.message that implement HttpRequestModifier and TypeClassDescriptionclass
Basic implementation ofHttpEntityEnclosingRequest
.class
Basic implementation ofHttpRequest
. -
Uses of HttpRequest in org.apache.http.protocol
Methods in org.apache.http.protocol that return HttpRequestMethods in org.apache.http.protocol with parameters of type HttpRequestModifier and TypeMethodDescriptionprotected boolean
HttpRequestExecutor.canResponseHaveBody
(HttpRequest request, HttpResponse response) Decide whether a response comes with an entity.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.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.HttpRequestExecutor.execute
(HttpRequest request, HttpClientConnection conn, HttpContext context) Sends the request and obtain a response.protected String
UriHttpRequestHandlerMapper.getRequestPath
(HttpRequest request) Extracts request path from the givenHttpRequest
void
HttpRequestHandler.handle
(HttpRequest request, HttpResponse response, HttpContext context) Handles the request and produces a response to be sent back to the client.HttpRequestHandlerMapper.lookup
(HttpRequest request) Looks up a handler matching the given request.UriHttpRequestHandlerMapper.lookup
(HttpRequest request) Looks up a handler matching the given request URI.void
HttpRequestExecutor.preProcess
(HttpRequest request, HttpProcessor processor, HttpContext context) Pre-process the given request using the given protocol processor and initiates the process of request execution.void
BasicHttpProcessor.process
(HttpRequest request, HttpContext context) Deprecated.void
ImmutableHttpProcessor.process
(HttpRequest request, HttpContext context) void
RequestConnControl.process
(HttpRequest request, HttpContext context) void
RequestContent.process
(HttpRequest request, HttpContext context) void
RequestDate.process
(HttpRequest request, HttpContext context) void
RequestExpectContinue.process
(HttpRequest request, HttpContext context) void
RequestTargetHost.process
(HttpRequest request, HttpContext context) void
RequestUserAgent.process
(HttpRequest request, HttpContext context) void
HttpExpectationVerifier.verify
(HttpRequest request, HttpResponse response, HttpContext context) Verifies whether the given request meets the server's expectations.