Example usage for Java com.vaadin.server VaadinServletResponse fields, constructors, methods, implement or subclass
The text is from its open source code.
OutputStream | getOutputStream() Returns a OutputStream for writing binary data in the response. |
void | sendError(int errorCode, String message) Sends an error response to the client using the specified status code and clears the buffer. |
void | setCacheTime(long milliseconds) |
void | setContentLength(int len) Sets the length of the content body in the response In HTTP servlets, this method sets the HTTP Content-Length header. |
void | setContentType(String contentType) Sets the content type of this response. |
void | setHeader(String name, String value) Sets the value of a generic response header. |
void | setStatus(int statusCode) Sets the (http) status code for the response. |