|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use HttpException | |
---|---|
org.apache.http | The core HTTP components (HttpCore). |
org.apache.http.entity | Representations for HTTP message entities. |
org.apache.http.impl | Default implementations for interfaces in
org.apache.http . |
org.apache.http.impl.entity | Default implementations for interfaces in
org.apache.http.entity and provides utility
classes for serialization and deserialization of HTTP content entities. |
org.apache.http.impl.io | Default implementations for interfaces in
org.apache.http.io . |
org.apache.http.impl.nio | Default implementations for interfaces in
org.apache.http.nio . |
org.apache.http.impl.nio.codecs | Default implementations for interfaces in
org.apache.http.nio.codecs . |
org.apache.http.io | The blocking I/O abstraction of the HTTP components. |
org.apache.http.nio | The core HTTP components based on non-blocking I/O model (HttpCore NIO). |
org.apache.http.nio.protocol | Non-blocking HTTP protocol execution framework. |
org.apache.http.protocol | HTTP protocol execution framework. |
Uses of HttpException in org.apache.http |
---|
Subclasses of HttpException in org.apache.http | |
---|---|
class |
MethodNotSupportedException
Signals that an HTTP method is not supported. |
class |
ProtocolException
Signals that an HTTP protocol violation has occurred. |
class |
UnsupportedHttpVersionException
Signals an unsupported version of the HTTP protocol. |
Methods in org.apache.http that throw HttpException | |
---|---|
void |
HttpRequestInterceptor.process(HttpRequest request,
HttpContext context)
Processes a request. |
void |
HttpResponseInterceptor.process(HttpResponse response,
HttpContext context)
Processes a response. |
void |
HttpServerConnection.receiveRequestEntity(HttpEntityEnclosingRequest request)
Receives the next request entity available from this connection and attaches it to an existing request. |
HttpRequest |
HttpServerConnection.receiveRequestHeader()
Receives the request line and all headers available from this connection. |
void |
HttpClientConnection.receiveResponseEntity(HttpResponse response)
Receives the next response entity available from this connection and attaches it to an existing HttpResponse object. |
HttpResponse |
HttpClientConnection.receiveResponseHeader()
Receives the request line and headers of the next response available from this connection. |
void |
HttpClientConnection.sendRequestEntity(HttpEntityEnclosingRequest request)
Sends the request entity over the connection. |
void |
HttpClientConnection.sendRequestHeader(HttpRequest request)
Sends the request line and all headers over the connection. |
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 HttpException in org.apache.http.entity |
---|
Methods in org.apache.http.entity that throw HttpException | |
---|---|
long |
ContentLengthStrategy.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 HttpException | |
---|---|
void |
AbstractHttpServerConnection.receiveRequestEntity(HttpEntityEnclosingRequest request)
|
HttpRequest |
AbstractHttpServerConnection.receiveRequestHeader()
|
void |
AbstractHttpClientConnection.receiveResponseEntity(HttpResponse response)
|
HttpResponse |
AbstractHttpClientConnection.receiveResponseHeader()
|
void |
AbstractHttpClientConnection.sendRequestEntity(HttpEntityEnclosingRequest request)
|
void |
AbstractHttpClientConnection.sendRequestHeader(HttpRequest request)
|
void |
AbstractHttpServerConnection.sendResponseEntity(HttpResponse response)
|
void |
AbstractHttpServerConnection.sendResponseHeader(HttpResponse response)
|
Uses of HttpException in org.apache.http.impl.entity |
---|
Methods in org.apache.http.impl.entity that throw HttpException | |
---|---|
HttpEntity |
EntityDeserializer.deserialize(SessionInputBuffer inbuffer,
HttpMessage message)
Creates an HttpEntity based on properties of the given message. |
long |
StrictContentLengthStrategy.determineLength(HttpMessage message)
|
long |
LaxContentLengthStrategy.determineLength(HttpMessage message)
|
protected BasicHttpEntity |
EntityDeserializer.doDeserialize(SessionInputBuffer inbuffer,
HttpMessage message)
Creates a BasicHttpEntity based on properties of the given
message. |
protected OutputStream |
EntitySerializer.doSerialize(SessionOutputBuffer outbuffer,
HttpMessage message)
Creates a transfer codec based on properties of the given HTTP message and returns OutputStream instance that transparently encodes
output data as it is being written out to the output stream. |
void |
EntitySerializer.serialize(SessionOutputBuffer outbuffer,
HttpMessage message,
HttpEntity entity)
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 HttpException | |
---|---|
HttpMessage |
AbstractMessageParser.parse()
|
protected HttpMessage |
HttpRequestParser.parseHead(SessionInputBuffer sessionBuffer)
|
protected abstract HttpMessage |
AbstractMessageParser.parseHead(SessionInputBuffer sessionBuffer)
Subclasses must override this method to generate an instance of HttpMessage based on the initial input from the session buffer. |
protected HttpMessage |
HttpResponseParser.parseHead(SessionInputBuffer sessionBuffer)
|
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 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 |
AbstractMessageWriter.write(HttpMessage message)
|
Uses of HttpException in org.apache.http.impl.nio |
---|
Methods in org.apache.http.impl.nio that throw HttpException | |
---|---|
protected HttpEntity |
NHttpConnectionBase.prepareDecoder(HttpMessage message)
Initializes a specific ContentDecoder implementation based on the
properties of the given HttpMessage and generates an instance of
HttpEntity matching the properties of the content decoder. |
protected void |
NHttpConnectionBase.prepareEncoder(HttpMessage message)
Initializes a specific ContentEncoder implementation based on the
properties of the given HttpMessage . |
void |
DefaultNHttpClientConnection.submitRequest(HttpRequest request)
|
void |
DefaultNHttpServerConnection.submitResponse(HttpResponse response)
|
Uses of HttpException in org.apache.http.impl.nio.codecs |
---|
Methods in org.apache.http.impl.nio.codecs that throw HttpException | |
---|---|
protected HttpMessage |
HttpRequestParser.createMessage(CharArrayBuffer buffer)
Deprecated. |
protected HttpResponse |
DefaultHttpResponseParser.createMessage(CharArrayBuffer buffer)
|
protected abstract T |
AbstractMessageParser.createMessage(CharArrayBuffer buffer)
Creates HttpMessage instance based on the content of the input
buffer containing the first line of the incoming HTTP message. |
protected HttpRequest |
DefaultHttpRequestParser.createMessage(CharArrayBuffer buffer)
|
protected HttpMessage |
HttpResponseParser.createMessage(CharArrayBuffer buffer)
Deprecated. |
T |
AbstractMessageParser.parse()
|
void |
AbstractMessageWriter.write(T message)
|
Uses of HttpException in org.apache.http.io |
---|
Methods in org.apache.http.io that throw HttpException | |
---|---|
HttpMessage |
HttpMessageParser.parse()
Generates an instance of HttpMessage from the underlying data
source. |
void |
HttpMessageWriter.write(HttpMessage message)
Serializes an instance of HttpMessage to the underlying data
sink. |
Uses of HttpException in org.apache.http.nio |
---|
Methods in org.apache.http.nio with parameters of type HttpException | |
---|---|
void |
NHttpClientHandler.exception(NHttpClientConnection conn,
HttpException ex)
Triggered when an HTTP protocol violation occurs while receiving an HTTP response. |
void |
NHttpServiceHandler.exception(NHttpServerConnection conn,
HttpException ex)
Triggered when an HTTP protocol violation occurs while receiving an HTTP request. |
Methods in org.apache.http.nio that throw HttpException | |
---|---|
T |
NHttpMessageParser.parse()
Attempts to parse a complete message head from the content of the internal buffer. |
void |
NHttpClientConnection.submitRequest(HttpRequest request)
Submits HttpRequest to be sent to the target server. |
void |
NHttpServerConnection.submitResponse(HttpResponse response)
Submits {link @HttpResponse} to be sent to the client. |
void |
NHttpMessageWriter.write(T message)
Serializes out the HTTP message head. |
Uses of HttpException in org.apache.http.nio.protocol |
---|
Methods in org.apache.http.nio.protocol that return HttpException | |
---|---|
HttpException |
AsyncNHttpServiceHandler.ServerConnState.getHttpException()
|
HttpException |
AsyncNHttpServiceHandler.ServerConnState.getHttpExepction()
Deprecated. |
Methods in org.apache.http.nio.protocol with parameters of type HttpException | |
---|---|
void |
ThrottlingHttpClientHandler.exception(NHttpClientConnection conn,
HttpException ex)
|
void |
BufferingHttpClientHandler.exception(NHttpClientConnection conn,
HttpException httpex)
|
void |
NHttpClientHandlerBase.exception(NHttpClientConnection conn,
HttpException ex)
Deprecated. |
void |
AsyncNHttpClientHandler.exception(NHttpClientConnection conn,
HttpException ex)
|
void |
AsyncNHttpServiceHandler.exception(NHttpServerConnection conn,
HttpException httpex)
|
void |
BufferingHttpServiceHandler.exception(NHttpServerConnection conn,
HttpException httpex)
|
void |
ThrottlingHttpServiceHandler.exception(NHttpServerConnection conn,
HttpException httpex)
|
void |
EventListener.fatalProtocolException(HttpException ex,
NHttpConnection conn)
Triggered when an HTTP protocol error caused a connection to be terminated. |
void |
NHttpResponseTrigger.handleException(HttpException ex)
Reports a protocol exception thrown while processing the request. |
void |
AsyncNHttpServiceHandler.ServerConnState.setHttpException(HttpException ex)
|
void |
AsyncNHttpServiceHandler.ServerConnState.setHttpExepction(HttpException ex)
Deprecated. |
Methods in org.apache.http.nio.protocol that throw HttpException | |
---|---|
ConsumingNHttpEntity |
NHttpRequestHandler.entityRequest(HttpEntityEnclosingRequest request,
HttpContext context)
Triggered when a request is received with an entity. |
abstract void |
SimpleNHttpRequestHandler.handle(HttpRequest request,
HttpResponse response,
HttpContext context)
|
void |
NHttpRequestHandler.handle(HttpRequest request,
HttpResponse response,
NHttpResponseTrigger trigger,
HttpContext context)
Initiates processing of the request. |
void |
SimpleNHttpRequestHandler.handle(HttpRequest request,
HttpResponse response,
NHttpResponseTrigger trigger,
HttpContext context)
|
Uses of HttpException in org.apache.http.protocol |
---|
Methods in org.apache.http.protocol with parameters of type HttpException | |
---|---|
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. |
Methods in org.apache.http.protocol that throw HttpException | |
---|---|
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 an HttpRequestHandler for the request URI of the given request
and, if found, executes its
HttpRequestHandler.handle(HttpRequest, HttpResponse, HttpContext)
method. |
HttpResponse |
HttpRequestExecutor.execute(HttpRequest request,
HttpClientConnection conn,
HttpContext context)
Sends the request and obtain a response. |
void |
HttpRequestHandler.handle(HttpRequest request,
HttpResponse response,
HttpContext context)
Handles the request and produces a response to be sent back to the client. |
void |
HttpService.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. |
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 |
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 |
RequestConnControl.process(HttpRequest request,
HttpContext context)
|
void |
RequestDate.process(HttpRequest request,
HttpContext context)
|
void |
ImmutableHttpProcessor.process(HttpRequest request,
HttpContext context)
|
void |
BasicHttpProcessor.process(HttpRequest request,
HttpContext context)
|
void |
RequestTargetHost.process(HttpRequest request,
HttpContext context)
|
void |
RequestUserAgent.process(HttpRequest request,
HttpContext context)
|
void |
RequestExpectContinue.process(HttpRequest request,
HttpContext context)
|
void |
RequestContent.process(HttpRequest request,
HttpContext context)
|
void |
ResponseContent.process(HttpResponse response,
HttpContext context)
|
void |
ResponseConnControl.process(HttpResponse response,
HttpContext context)
|
void |
ImmutableHttpProcessor.process(HttpResponse response,
HttpContext context)
|
void |
ResponseDate.process(HttpResponse response,
HttpContext context)
|
void |
BasicHttpProcessor.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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |