|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
protected static interface AbstractCommunicationManager.Request
Generic interface of a (HTTP or Portlet) request to the application.
This is a wrapper interface that allows
AbstractCommunicationManager
to use a unified API.
ServletRequest
,
PortletRequest
Method Summary | |
---|---|
Object |
getAttribute(String name)
|
int |
getContentLength()
Returns the length of the request content that can be read from the input stream returned by getInputStream() . |
InputStream |
getInputStream()
Returns an input stream from which the request content can be read. |
String |
getParameter(String name)
Get the named HTTP or portlet request parameter. |
String |
getRequestID()
Returns the request identifier that identifies the target Vaadin window for the request. |
AbstractCommunicationManager.Session |
getSession()
Gets a AbstractCommunicationManager.Session wrapper implementation representing the
session for which this request was sent. |
Object |
getWrappedRequest()
Gets the underlying request object. |
boolean |
isRunningInPortlet()
Are the applications in this session running in a portlet or directly as servlets. |
void |
setAttribute(String name,
Object value)
|
Method Detail |
---|
AbstractCommunicationManager.Session getSession()
AbstractCommunicationManager.Session
wrapper implementation representing the
session for which this request was sent.
Multiple Vaadin applications can be associated with a single session.
boolean isRunningInPortlet()
String getParameter(String name)
name
-
ServletRequest.getParameter(String)
,
PortletRequest.getParameter(String)
int getContentLength()
getInputStream()
.
InputStream getInputStream() throws IOException
getContentLength()
without reading the full stream contents.
IOException
String getRequestID()
Object getAttribute(String name)
ServletRequest.getAttribute(String)
,
PortletRequest.getAttribute(String)
void setAttribute(String name, Object value)
ServletRequest.setAttribute(String, Object)
,
PortletRequest.setAttribute(String, Object)
Object getWrappedRequest()
ServletRequest
or a PortletRequest
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |