Uses of Class
org.apache.http.HttpException
Packages that use HttpException
Package
Description
Core HTTP component APIs and primitives.
Core HTTP entity implementations.
Default implementations of HTTP connections for synchronous,
blocking communication.
Default implementations of entity content strategies.
Default implementations of message parses and writers
for synchronous, blocking communication.
HTTP message parser and writer APIs for synchronous, blocking
communication.
Core HTTP protocol execution framework and HTTP protocol handlers
for synchronous, blocking communication.
-
Uses of HttpException in org.apache.http
Subclasses of HttpException in org.apache.httpModifier and TypeClassDescriptionclassSignals that an HTTP method is not supported.classSignals that an HTTP protocol violation has occurred.classSignals an unsupported version of the HTTP protocol.Methods in org.apache.http that throw HttpExceptionModifier and TypeMethodDescriptionvoidHttpRequestInterceptor.process(HttpRequest request, HttpContext context) Processes a request.voidHttpResponseInterceptor.process(HttpResponse response, HttpContext context) Processes a response.voidHttpServerConnection.receiveRequestEntity(HttpEntityEnclosingRequest request) Receives the next request entity available from this connection and attaches it to an existing request.HttpServerConnection.receiveRequestHeader()Receives the request line and all headers available from this connection.voidHttpClientConnection.receiveResponseEntity(HttpResponse response) Receives the next response entity available from this connection and attaches it to an existing HttpResponse object.HttpClientConnection.receiveResponseHeader()Receives the request line and headers of the next response available from this connection.voidHttpClientConnection.sendRequestEntity(HttpEntityEnclosingRequest request) Sends the request entity over the connection.voidHttpClientConnection.sendRequestHeader(HttpRequest request) Sends the request line and all headers over the connection.voidHttpServerConnection.sendResponseEntity(HttpResponse response) Sends the response entity of a response over this connection.voidHttpServerConnection.sendResponseHeader(HttpResponse response) Sends the response line and headers of a response over this connection. -
Uses of HttpException in org.apache.http.entity
Methods in org.apache.http.entity that throw HttpExceptionModifier and TypeMethodDescriptionlongContentLengthStrategy.determineLength(HttpMessage message) Returns length of the given message in bytes. -
Uses of HttpException in org.apache.http.impl
Methods in org.apache.http.impl that throw HttpExceptionModifier and TypeMethodDescriptionprotected HttpEntityBHttpConnectionBase.prepareInput(HttpMessage message) protected OutputStreamBHttpConnectionBase.prepareOutput(HttpMessage message) voidAbstractHttpServerConnection.receiveRequestEntity(HttpEntityEnclosingRequest request) Deprecated.voidDefaultBHttpServerConnection.receiveRequestEntity(HttpEntityEnclosingRequest request) AbstractHttpServerConnection.receiveRequestHeader()Deprecated.DefaultBHttpServerConnection.receiveRequestHeader()voidAbstractHttpClientConnection.receiveResponseEntity(HttpResponse response) Deprecated.voidDefaultBHttpClientConnection.receiveResponseEntity(HttpResponse response) AbstractHttpClientConnection.receiveResponseHeader()Deprecated.DefaultBHttpClientConnection.receiveResponseHeader()voidAbstractHttpClientConnection.sendRequestEntity(HttpEntityEnclosingRequest request) Deprecated.voidDefaultBHttpClientConnection.sendRequestEntity(HttpEntityEnclosingRequest request) voidAbstractHttpClientConnection.sendRequestHeader(HttpRequest request) Deprecated.voidDefaultBHttpClientConnection.sendRequestHeader(HttpRequest request) voidAbstractHttpServerConnection.sendResponseEntity(HttpResponse response) Deprecated.voidDefaultBHttpServerConnection.sendResponseEntity(HttpResponse response) voidAbstractHttpServerConnection.sendResponseHeader(HttpResponse response) Deprecated.voidDefaultBHttpServerConnection.sendResponseHeader(HttpResponse response) -
Uses of HttpException in org.apache.http.impl.entity
Methods in org.apache.http.impl.entity that throw HttpExceptionModifier and TypeMethodDescriptionEntityDeserializer.deserialize(SessionInputBuffer inBuffer, HttpMessage message) Deprecated.Creates anHttpEntitybased on properties of the given message.longDisallowIdentityContentLengthStrategy.determineLength(HttpMessage message) longLaxContentLengthStrategy.determineLength(HttpMessage message) longStrictContentLengthStrategy.determineLength(HttpMessage message) protected BasicHttpEntityEntityDeserializer.doDeserialize(SessionInputBuffer inBuffer, HttpMessage message) Deprecated.Creates aBasicHttpEntitybased on properties of the given message.protected OutputStreamEntitySerializer.doSerialize(SessionOutputBuffer outbuffer, HttpMessage message) Deprecated.Creates a transfer codec based on properties of the given HTTP message and returnsOutputStreaminstance that transparently encodes output data as it is being written out to the output stream.voidEntitySerializer.serialize(SessionOutputBuffer outbuffer, HttpMessage message, HttpEntity entity) Deprecated.Writes out the content of the given HTTP entity to the session output buffer based on properties of the given HTTP message. -
Uses of HttpException in org.apache.http.impl.io
Methods in org.apache.http.impl.io that throw HttpExceptionModifier and TypeMethodDescriptionAbstractMessageParser.parse()protected abstract TAbstractMessageParser.parseHead(SessionInputBuffer sessionBuffer) Subclasses must override this method to generate an instance ofHttpMessagebased on the initial input from the session buffer.protected HttpRequestDefaultHttpRequestParser.parseHead(SessionInputBuffer sessionBuffer) protected HttpResponseDefaultHttpResponseParser.parseHead(SessionInputBuffer sessionBuffer) protected HttpMessageHttpRequestParser.parseHead(SessionInputBuffer sessionBuffer) Deprecated.protected HttpMessageHttpResponseParser.parseHead(SessionInputBuffer sessionBuffer) Deprecated.static Header[]AbstractMessageParser.parseHeaders(SessionInputBuffer inBuffer, int maxHeaderCount, int maxLineLen, LineParser parser) Parses HTTP headers from the data receiver stream according to the generic format as given in Section 3.1 of RFC 822, RFC-2616 Section 4 and 19.3.static Header[]AbstractMessageParser.parseHeaders(SessionInputBuffer inBuffer, int maxHeaderCount, int maxLineLen, LineParser parser, List<CharArrayBuffer> headerLines) Parses HTTP headers from the data receiver stream according to the generic format as given in Section 3.1 of RFC 822, RFC-2616 Section 4 and 19.3.void -
Uses of HttpException in org.apache.http.io
Methods in org.apache.http.io that throw HttpExceptionModifier and TypeMethodDescriptionHttpMessageParser.parse()Generates an instance ofHttpMessagefrom the underlying data source.voidSerializes an instance ofHttpMessageto the underlying data sink. -
Uses of HttpException in org.apache.http.protocol
Methods in org.apache.http.protocol with parameters of type HttpExceptionModifier and TypeMethodDescriptionprotected voidHttpService.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.Methods in org.apache.http.protocol that throw HttpExceptionModifier and TypeMethodDescriptionprotected HttpResponseHttpRequestExecutor.doReceiveResponse(HttpRequest request, HttpClientConnection conn, HttpContext context) Waits for and receives a response.protected HttpResponseHttpRequestExecutor.doSendRequest(HttpRequest request, HttpClientConnection conn, HttpContext context) Send the given request over the given connection.protected voidHttpService.doService(HttpRequest request, HttpResponse response, HttpContext context) The default implementation of this method attempts to resolve anHttpRequestHandlerfor 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.voidHttpRequestHandler.handle(HttpRequest request, HttpResponse response, HttpContext context) Handles the request and produces a response to be sent back to the client.voidHttpService.handleRequest(HttpServerConnection conn, HttpContext context) Handles receives one HTTP request over the given connection within the given execution context and sends a response back to the client.voidHttpRequestExecutor.postProcess(HttpResponse response, HttpProcessor processor, HttpContext context) Post-processes the given response using the given protocol processor and completes the process of request execution.voidHttpRequestExecutor.preProcess(HttpRequest request, HttpProcessor processor, HttpContext context) Pre-process the given request using the given protocol processor and initiates the process of request execution.voidBasicHttpProcessor.process(HttpRequest request, HttpContext context) Deprecated.voidBasicHttpProcessor.process(HttpResponse response, HttpContext context) Deprecated.voidImmutableHttpProcessor.process(HttpRequest request, HttpContext context) voidImmutableHttpProcessor.process(HttpResponse response, HttpContext context) voidRequestConnControl.process(HttpRequest request, HttpContext context) voidRequestContent.process(HttpRequest request, HttpContext context) voidRequestDate.process(HttpRequest request, HttpContext context) voidRequestExpectContinue.process(HttpRequest request, HttpContext context) voidRequestTargetHost.process(HttpRequest request, HttpContext context) voidRequestUserAgent.process(HttpRequest request, HttpContext context) voidResponseConnControl.process(HttpResponse response, HttpContext context) voidResponseContent.process(HttpResponse response, HttpContext context) Processes the response (possibly updating or inserting) Content-Length and Transfer-Encoding headers.voidResponseDate.process(HttpResponse response, HttpContext context) voidResponseServer.process(HttpResponse response, HttpContext context) voidHttpExpectationVerifier.verify(HttpRequest request, HttpResponse response, HttpContext context) Verifies whether the given request meets the server's expectations.