private static final class JettyHttpHandlerAdapter.JettyServerHttpResponse extends ServletServerHttpResponse
Constructor and Description |
---|
JettyServerHttpResponse(HttpServletResponse response,
AsyncContext context,
DataBufferFactory factory,
int bufferSize) |
Modifier and Type | Method and Description |
---|---|
protected int |
writeToOutputStream(DataBuffer dataBuffer)
Write the DataBuffer to the response body OutputStream.
|
applyCookies, applyHeaders, applyStatusCode, createBodyFlushProcessor, getServletResponse
writeAndFlushWithInternal, writeWithInternal
beforeCommit, bufferFactory, doCommit, doCommit, encodeUrl, getCookies, getHeaders, getStatusCode, isCommitted, registerUrlEncoder, setComplete, setStatusCode, writeAndFlushWith, writeWith
public JettyServerHttpResponse(HttpServletResponse response, AsyncContext context, DataBufferFactory factory, int bufferSize) throws java.io.IOException
java.io.IOException
protected int writeToOutputStream(DataBuffer dataBuffer) throws java.io.IOException
ServletServerHttpResponse
ServletOutputStream#isReady()
returns "true"
and the readable bytes in the DataBuffer is greater than 0.writeToOutputStream
in class ServletServerHttpResponse
java.io.IOException