public class SavedRequest extends Object implements Serializable
Constructor and Description |
---|
SavedRequest(byte[] data,
int dataLength,
HttpString method,
String requestPath,
HeaderMap headerMap) |
Modifier and Type | Method and Description |
---|---|
static int |
getMaxBufferSizeToSave(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.
|
static void |
tryRestoreRequest(HttpServerExchange exchange,
HttpSession session) |
static void |
trySaveRequest(HttpServerExchange exchange) |
static void |
trySaveRequest(HttpServerExchange exchange,
byte[] buffer,
int length) |
public SavedRequest(byte[] data, int dataLength, HttpString method, String requestPath, HeaderMap headerMap)
public static int getMaxBufferSizeToSave(HttpServerExchange exchange)
exchange
- public static void trySaveRequest(HttpServerExchange exchange)
public static void trySaveRequest(HttpServerExchange exchange, byte[] buffer, int length)
public static void tryRestoreRequest(HttpServerExchange exchange, HttpSession session)
Copyright © 2019 JBoss by Red Hat. All rights reserved.