public interface Response extends Unwrappable
Modifier and Type | Method and Description |
---|---|
void |
close() |
OutputStream |
outputStream() |
void |
setContentLength(long length) |
void |
setCookie(Cookie cookie) |
default void |
setCookies(Iterable<Cookie> cookies) |
void |
setHeader(String name,
String value) |
default void |
setHeaders(Map<String,String> headers) |
void |
setStatus(int statusCode) |
unwrap
void close() throws IOException
IOException
OutputStream outputStream() throws IOException
IOException
void setContentLength(long length)
void setStatus(int statusCode)
void setCookie(Cookie cookie)
Copyright © 2015. All Rights Reserved.