| Package | Description |
|---|---|
| org.jwall.web.http | |
| org.jwall.web.http.nio |
| Modifier and Type | Class and Description |
|---|---|
class |
MessageFormatException |
| Constructor and Description |
|---|
HttpChunk(String header,
ByteBuffer data) |
HttpRequest(HttpHeader h,
byte[] reqBody) |
HttpRequest(String reqHeader,
byte[] reqBody)
This will create a new http-request from the given String-array.
|
HttpResponse(HttpHeader header,
byte[] data) |
HttpResponse(String resHeader,
byte[] responseData) |
HttpResponse(String resHeader,
byte[] responseData,
HttpResponseChannel ch) |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
HttpMessageChannel.readBody(int contentLength)
This method reads the body of a HTTP message of the given length.
|
HttpChunk |
HttpResponseChannel.readChunk() |
HttpHeader |
HttpMessageChannel.readHeader()
This method tries to read a HTTP message header from the currently
available bytes.
|
HttpResponse |
HttpResponseChannel.readMessage() |
HttpRequest |
HttpRequestChannel.readMessage() |
abstract T |
HttpMessageChannel.readMessage() |
HttpRequest |
HttpRequestChannel.readRequest()
This method returns the next complete request in the input-stream.
|
Copyright © 2013 jwall.org. All Rights Reserved.