We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.terminal.gwt.server.
Interface AbstractCommunicationManager.Response
Enclosing class:
public static interface AbstractCommunicationManager.Response
Generic interface of a (HTTP or Portlet) response from the application.
This is a wrapper interface that allows
AbstractCommunicationManager
to use a unified API.
Author:
peholmst
See Also:
ServletResponse
,
PortletResponse
Method Summary | |
---|---|
OutputStream |
getOutputStream()
Gets the output stream to which the response can be written. |
Object |
getWrappedResponse()
Gets the wrapped response object, usually a class implementing either ServletResponse or PortletResponse . |
void |
setContentType(String type)
Sets the MIME content type for the response to be communicated to the browser. |
Method Detail |
---|
getOutputStream
OutputStream getOutputStream()
throws IOException
- Returns:
- Throws:
IOException
Gets the output stream to which the response can be written.
setContentType
void setContentType(String type)
- Parameters:
type
-
Sets the MIME content type for the response to be communicated to the browser.
getWrappedResponse
Object getWrappedResponse()
- Returns:
- wrapped request object
Gets the wrapped response object, usually a class implementing either
ServletResponse
or PortletResponse
.