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