| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private final int | |
| private final HashMap | |
| private final HttpString | |
| private final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public | SavedRequest(byte[] data, int dataLength, HttpString method, String requestPath, HeaderMap headerMap)
|
| Modifier and Type | Method and Description |
|---|---|
| public static int | getMaxBufferSizeToSave(final HttpServerExchange exchange)
With added possibility to save data from buffer instead f from request body, there has to be method which returns max allowed buffer size to save. |
| public static void | |
| public static void | |
| public static void |
| data | back to summary |
|---|---|
| private final byte[] data | |
| dataLength | back to summary |
|---|---|
| private final int dataLength | |
| headerMap | back to summary |
|---|---|
| private final HashMap<HttpString, List<String>> headerMap | |
| method | back to summary |
|---|---|
| private final HttpString method | |
| requestPath | back to summary |
|---|---|
| private final String requestPath | |
| SESSION_KEY | back to summary |
|---|---|
| private static final String SESSION_KEY | |
| SavedRequest | back to summary |
|---|---|
| public SavedRequest(byte[] data, int dataLength, HttpString method, String requestPath, HeaderMap headerMap) | |
| getMaxBufferSizeToSave | back to summary |
|---|---|
| public static int getMaxBufferSizeToSave(final HttpServerExchange exchange) With added possibility to save data from buffer instead f from request body, there has to be method which returns max allowed buffer size to save. | |
| tryRestoreRequest | back to summary |
|---|---|
| public static void tryRestoreRequest(final HttpServerExchange exchange, HttpSession session) | |
| trySaveRequest | back to summary |
|---|---|
| public static void trySaveRequest(final HttpServerExchange exchange) | |
| trySaveRequest | back to summary |
|---|---|
| public static void trySaveRequest(final HttpServerExchange exchange, final byte[] buffer, int length) | |