public class HttpResponseWriter extends Object
Constructor and Description |
---|
HttpResponseWriter(NioWriter writer) |
Modifier and Type | Method and Description |
---|---|
SendResult |
send(ByteBuffer fullResponse) |
SendResult |
sendResponse(int statusCode,
String statusTxt,
String contentType,
java.nio.file.Path resource,
Charset charset) |
SendResult |
sendResponse(int statusCode,
String statusTxt,
String contentType,
String content,
Charset ascii) |
public HttpResponseWriter(NioWriter writer)
public SendResult sendResponse(int statusCode, String statusTxt, String contentType, java.nio.file.Path resource, Charset charset)
public SendResult send(ByteBuffer fullResponse)
public SendResult sendResponse(int statusCode, String statusTxt, String contentType, String content, Charset ascii)
Copyright © 2016. All Rights Reserved.