public class HttpServletHttpResponseWriter extends Object implements HttpResponseWriter<ByteBuffer>
HttpServlet HttpResponseWriter.| Constructor and Description |
|---|
HttpServletHttpResponseWriter(javax.servlet.http.HttpServletResponse response,
StreamBufferPool<ByteBuffer> bufferPool)
Instantiate.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isServiced()
Indicates if serviced.
|
void |
writeHttpResponse(HttpVersion version,
HttpStatus status,
WritableHttpHeader headHttpHeader,
WritableHttpCookie headHttpCookie,
long contentLength,
HttpHeaderValue contentType,
StreamBuffer<ByteBuffer> contentHeadStreamBuffer) |
public HttpServletHttpResponseWriter(javax.servlet.http.HttpServletResponse response,
StreamBufferPool<ByteBuffer> bufferPool)
response - HttpServletResponse.bufferPool - StreamBufferPool.public boolean isServiced()
throws IOException
true if serviced.IOException - If fails to write response.public void writeHttpResponse(HttpVersion version, HttpStatus status, WritableHttpHeader headHttpHeader, WritableHttpCookie headHttpCookie, long contentLength, HttpHeaderValue contentType, StreamBuffer<ByteBuffer> contentHeadStreamBuffer)
writeHttpResponse in interface HttpResponseWriter<ByteBuffer>Copyright © 2005–2019. All rights reserved.