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) |
SendResult |
sendStatusOnly(String statusTxt) |
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)
public SendResult sendStatusOnly(String statusTxt)
Copyright © 2016. All Rights Reserved.