|
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||

| Interface Summary | |
|---|---|
| IBodyCompleteListener | Listener, which will be call if the body is complete received. |
| IBodyDataHandler | The body handler. |
| IBodyDestroyListener | Listener, which will be call if the body has been destroyed |
| IFutureResponse | The IFutureResponse represents the result of an asynchronous call. |
| IHeader | Header definition |
| IHttpConnectHandler | The connect handler will be called if a new http connection has been established. |
| IHttpConnection | A http connection (session) between two http client and http server. |
| IHttpConnectionHandler | marker interface |
| IHttpDisconnectHandler | The connect handler will be called if a http connection has been disconnected. |
| IHttpExchange | This class encapsulates a HTTP request received and a response to be generated in one exchange. |
| IHttpMessage | Http Message |
| IHttpMessageHeader | Http Header |
| IHttpRequest | Http Request |
| IHttpRequestHandler | call back interface which will be notified if a new requests is received. |
| IHttpRequestHeader | Http Request Header |
| IHttpRequestTimeoutHandler | Handles the http request timeout. |
| IHttpResponse | Http response |
| IHttpResponseHandler | call back interface to be notified if the response has been received Example: ResponseHandler implements IResponseHandler { public void onResponse(IHttpResponse response) throws IOException { status = response.getStatus(); ... } public void void onException(IOException ioe) { ... } } |
| IHttpResponseHeader | Http Response Header |
| IHttpSession | The HttpSession. |
| IHttpSocketTimeoutHandler | SocketTimeouthandler Example: class ResponseHandler implements IHttpResponseHandler, IHttpSocketTimeoutHandler { public void onResponse(IHttpResponse response) throws IOException { // ... } // will only be called if an exception occurs public void onException(IOException ioe) { // ... } // overrides the onException method by handling socket timeout exceptions public void onException(SocketTimeoutException stoe) { // ... } } |
| IMultivalueMap | Multi value map definition |
| IPart | Part defintion |
| IPartHandler | Part handler |
| IWebHandler | marker interface |
| Class Summary | |
|---|---|
| BlockingBodyDataSource | Deprecated. use BodyDataSource instead |
| BodyDataSink | I/O resource capable of sending the body data. |
| BodyDataSource | I/O resource capable of providing body data in a blocking way. |
| BodyForwarder | Implementation base of a body forwarder. |
| CacheHandler | Cache handler Example: RequestHandlerChain chain = new RequestHandlerChain(); chain.addLast(new CacheHandler(500)); // add a cache handler with max size 500 KB chain.addLast(new FileServiceRequestHandler(basepath)); HttpServer server = new HttpServer(chain); //... |
| ContentType | This class represents a content type |
| Context | By using the |
| DeleteRequest | a DELETE request |
| FileServiceRequestHandler | Handler implementation to handle file requests. |
| FormURLEncodedBody | Deprecated. replaced by MultivalueMap |
| FormURLEncodedRequest | A Form Url Encoding request. |
| FutureResponseHandler | A response handler implementation which supports a future behavior. |
| GetRequest | a GET request |
| Header | Implementation base for a header |
| HeadRequest | a HEAD request |
| HttpRequest | http request |
| HttpRequestHandler | Provides an abstract class to be subclassed to implement a
IHttpRequestHandler. |
| HttpRequestHeader | http request header |
| HttpRequestHeaderWrapper | Provides a convenient implementation of the HttpRequestHeader interface that can be subclassed by developers wishing to adapt the request header. |
| HttpRequestWrapper | Provides a convenient implementation of the HttpRequest interface that can be subclassed by developers wishing to adapt the request. |
| HttpResponse | http response |
| HttpResponseHeader | http response header |
| HttpUtils | A HTTP utility class |
| MultipartFormDataRequest | A multipart/form-data request, which supports file uploads. |
| MultipartRequest | A multipart request. |
| MultivalueMap | A multivalue map |
| NameValuePair | Name-Value-Pair |
| NonBlockingBodyDataSource | data source base implementation |
| OptionsRequest | OPTIONS request |
| Part | Part |
| PostRequest | POST request |
| PutRequest | PUT request |
| RequestHandlerChain | Implements a handler chain. |
| Exception Summary | |
|---|---|
| BadMessageException | Checked exception thrown when a if a bad message occurs |
| DetailedClosedChannelException | Checked exception thrown when a channel is closed |
| NoMultipartTypeException | Checked exception thrown by accessing a non multipart body |
| ProtocolException | Checked exception thrown when a protocol error has been occured |
| ReceiveTimeoutException | Checked exception thrown when a timeout has been reached |
| Annotation Types Summary | |
|---|---|
| InvokeOn | Annotation which defines when a call back method will be call. |
| Mapping | Annotation which defines the URL-pattern mapping. |
| Supports100Continue | Annotation which defines the handler handles the Expect: 100-Continue header. |
| SynchronizedOn | Annotation which defines the synchronization context by performing call back methods. |
|
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||