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

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

Introduction

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

The text is from its open source code.

Method

OutputStreamgetOutputStream()
Returns a OutputStream for writing binary data in the response.
voidsendError(int errorCode, String message)
Sends an error response to the client using the specified status code and clears the buffer.
voidsetCacheTime(long milliseconds)
voidsetContentLength(int len)
Sets the length of the content body in the response In HTTP servlets, this method sets the HTTP Content-Length header.
voidsetContentType(String contentType)
Sets the content type of this response.
voidsetHeader(String name, String value)
Sets the value of a generic response header.
voidsetStatus(int statusCode)
Sets the (http) status code for the response.