public class WebUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_BUFFER_SIZE |
static int |
MAX_SUBSEQUENT_FAILURES_LIMIT |
Constructor and Description |
---|
WebUtils() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
readRequestContentAsByteArray(javax.servlet.http.HttpServletRequest request)
This method reads the content of HTTPServletRequest as binary (raw) info without any modifications.
|
public static final int DEFAULT_BUFFER_SIZE
public static final int MAX_SUBSEQUENT_FAILURES_LIMIT
public static byte[] readRequestContentAsByteArray(javax.servlet.http.HttpServletRequest request) throws java.io.IOException
request
- HTTPServletRequest to be readjava.io.IOException
- if any problems occurred.