| Modifier and Type | Class and Description |
|---|---|
| public static interface | |
| public static interface | |
| public static interface | |
| public static interface | |
| public static interface | |
| public static class |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | receiveFullBytes(Receiver.
The callback to invoke with the request callback,The callback that is invoked on error errorCallbackReads the request and invokes the callback when the request body has been fully read. |
| public void | receiveFullBytes(Receiver.
The callback to invoke with the request callbackReads the request and invokes the callback when the request body has been fully read. |
| public void | receiveFullString(Receiver.
The callback to invoke with the request callback,The callback that is invoked on error errorCallbackReads the request and invokes the callback when the request body has been fully read. |
| public void | receiveFullString(Receiver.
The callback to invoke with the request callbackReads the request and invokes the callback when the request body has been fully read. |
| public void | receiveFullString(Receiver.
The callback to invoke with the request callback,The callback that is invoked on error errorCallback,The charset that is used to interpret the string charset)Reads the request and invokes the callback when the request body has been fully read. |
| public void | receiveFullString(Receiver.
The callback to invoke with the request callback,The charset that is used to interpret the string charset)Reads the request and invokes the callback when the request body has been fully read. |
| public void | receivePartialBytes(Receiver.
The callback to invoke with the request callback,The callback that is invoked on error errorCallbackReads the request and invokes the callback with request data. |
| public void | receivePartialBytes(Receiver.
The callback to invoke with the request callbackReads the request and invokes the callback with request data. |
| public void | receivePartialString(Receiver.
The callback to invoke with the request callback,The callback that is invoked on error errorCallbackReads the request and invokes the callback with request data. |
| public void | receivePartialString(Receiver.
The callback to invoke with the request callbackReads the request and invokes the callback with request data. |
| public void | receivePartialString(Receiver.
The callback to invoke with the request callback,The callback that is invoked on error errorCallback,The charset that is used to interpret the string charset)Reads the request and invokes the callback with request data. |
| public void | receivePartialString(Receiver.
The callback to invoke with the request callback,The charset that is used to interpret the string charset)Reads the request and invokes the callback with request data. |
| public void | |
| public void | setMaxBufferSize(int
The maximum amount of data to be buffered maxBufferSize)Sets the maximum amount of data that will be buffered in memory. |
| pause | back to summary |
|---|---|
| public void pause() When receiving partial data calling this method will pause the callbacks. Callbacks will not resume until
| |
| receiveFullBytes | back to summary |
|---|---|
| public void receiveFullBytes(Receiver. Reads the request and invokes the callback when the request body has been fully read. If there is an error reading the request the error callback will be invoked.
| |
| receiveFullBytes | back to summary |
|---|---|
| public void receiveFullBytes(Receiver. Reads the request and invokes the callback when the request body has been fully read. If there is an error the exchange will be ended.
| |
| receiveFullString | back to summary |
|---|---|
| public void receiveFullString(Receiver. Reads the request and invokes the callback when the request body has been fully read.
This string will be interpreted according to
| |
| receiveFullString | back to summary |
|---|---|
| public void receiveFullString(Receiver. Reads the request and invokes the callback when the request body has been fully read.
This string will be interpreted according to
| |
| receiveFullString | back to summary |
|---|---|
| public void receiveFullString(Receiver. Reads the request and invokes the callback when the request body has been fully read. This string will be interpreted according to the specified charset. If there is an error reading the request the error callback will be invoked.
| |
| receiveFullString | back to summary |
|---|---|
| public void receiveFullString(Receiver. Reads the request and invokes the callback when the request body has been fully read. This string will be interpreted according to the specified charset. If there is an error the exchange will be ended.
| |
| receivePartialBytes | back to summary |
|---|---|
| public void receivePartialBytes(Receiver. Reads the request and invokes the callback with request data. The callback may be invoked multiple times, and on the last time the last parameter will be true. If there is an error reading the request the error callback will be invoked.
| |
| receivePartialBytes | back to summary |
|---|---|
| public void receivePartialBytes(Receiver. Reads the request and invokes the callback with request data. The callback may be invoked multiple times, and on the last time the last parameter will be true. If there is an error the exchange will be ended.
| |
| receivePartialString | back to summary |
|---|---|
| public void receivePartialString(Receiver. Reads the request and invokes the callback with request data. The callback may be invoked multiple
times, and on the last time the last parameter will be true.
This string will be interpreted according to
| |
| receivePartialString | back to summary |
|---|---|
| public void receivePartialString(Receiver. Reads the request and invokes the callback with request data. The callback may be invoked multiple
times, and on the last time the last parameter will be true.
This string will be interpreted according to
| |
| receivePartialString | back to summary |
|---|---|
| public void receivePartialString(Receiver. Reads the request and invokes the callback with request data. The callback may be invoked multiple times, and on the last time the last parameter will be true. This string will be interpreted according to the specified charset. If there is an error reading the request the error callback will be invoked.
| |
| receivePartialString | back to summary |
|---|---|
| public void receivePartialString(Receiver. Reads the request and invokes the callback with request data. The callback may be invoked multiple times, and on the last time the last parameter will be true. This string will be interpreted according to the specified charset. If there is an error the exchange will be ended.
| |
| resume | back to summary |
|---|---|
| public void resume() Resumes paused callbacks. | |
| setMaxBufferSize | back to summary |
|---|---|
| public void setMaxBufferSize(int maxBufferSize) Sets the maximum amount of data that will be buffered in memory. If you call a receiveFull* method
and the request size is larger than this amount then the error callback with be invoked with a
| |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| error | back to summary |
|---|---|
| public void error(HttpServerExchange exchange, IOException e) | |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| handle | back to summary |
|---|---|
| public void handle(HttpServerExchange exchange, byte[] message) | |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| handle | back to summary |
|---|---|
| public void handle(HttpServerExchange exchange, String message) | |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| handle | back to summary |
|---|---|
| public void handle(HttpServerExchange exchange, byte[] message, boolean last) | |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| handle | back to summary |
|---|---|
| public void handle(HttpServerExchange exchange, String message, boolean last) | |
| Access | Constructor and Description |
|---|---|
| public |
| RequestToLargeException | back to summary |
|---|---|
| public RequestToLargeException() | |