Java com.vaadin.server VaadinResponse fields, constructors, methods, implement or subclass

Example usage for Java com.vaadin.server VaadinResponse fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.vaadin.server VaadinResponse.

The text is from its open source code.

Implementation

com.vaadin.server.VaadinResponse has the following implementations.
Click this link to see all its implementation.

Method

OutputStreamgetOutputStream()
Returns a OutputStream for writing binary data in the response.
PrintWritergetWriter()
Returns a PrintWriter object that can send character text to the client.
voidsendError(int errorCode, String message)
Sends an error response to the client using the specified status code and clears the buffer.
voidsetCacheTime(long milliseconds)
Sets cache time in milliseconds, -1 means no cache at all.
voidsetContentType(String contentType)
Sets the content type of this response.
voidsetDateHeader(String name, long timestamp)
Properly formats a timestamp as a date header.
voidsetHeader(String name, String value)
Sets the value of a generic response header.
voidsetStatus(int statusCode)
Sets the (http) status code for the response.