private final class TomcatHttpHandlerAdapter.TomcatServerHttpRequest extends ServletServerHttpRequest
ServerHttpRequest.Builder
EOF_BUFFER, logger
Constructor and Description |
---|
TomcatServerHttpRequest(HttpServletRequest request,
AsyncContext context,
java.lang.String servletPath,
DataBufferFactory factory,
int bufferSize) |
Modifier and Type | Method and Description |
---|---|
protected DataBuffer |
readFromInputStream()
Read from the request body InputStream and return a DataBuffer.
|
getBody, getMethodValue, getNativeRequest, getRemoteAddress, initCookies, initSslInfo
getCookies, getHeaders, getPath, getQueryParams, getSslInfo, getURI, initQueryParams
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
mutate
getMethod
public TomcatServerHttpRequest(HttpServletRequest request, AsyncContext context, java.lang.String servletPath, DataBufferFactory factory, int bufferSize) throws java.io.IOException, java.net.URISyntaxException
java.io.IOException
java.net.URISyntaxException
protected DataBuffer readFromInputStream() throws java.io.IOException
ServletServerHttpRequest
ServletInputStream#isReady()
returns "true".readFromInputStream
in class ServletServerHttpRequest
ServletServerHttpRequest.EOF_BUFFER
if the input
stream returned -1, or null if 0 bytes were read.java.io.IOException