Package muntjac :: Package terminal :: Package gwt :: Package server :: Module communication_manager :: Class HttpServletRequestWrapper
[hide private]
[frames] | no frames]

Class HttpServletRequestWrapper

source code

                             object --+    
                                      |    
abstract_communication_manager.IRequest --+
                                          |
                                         HttpServletRequestWrapper

Concrete wrapper class for HttpServletRequest.


See Also: IRequest

Instance Methods [hide private]
 
__init__(self, request, applicationServlet)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
getAttribute(self, name, default='') source code
 
getContentLength(self)
Returns the length of the request content that can be read from the input stream returned by getInputStream.
source code
 
getInputStream(self)
Returns an input stream from which the request content can be read.
source code
 
getParameter(self, name)
Get the named HTTP or portlet request parameter.
source code
 
getRequestID(self)
Returns the request identifier that identifies the target Muntjac window for the request.
source code
 
getSession(self)
Gets a Session wrapper implementation representing the session for which this request was sent.
source code
 
getWrappedRequest(self)
Gets the underlying request object.
source code
 
getWrappedServlet(self) source code
 
isRunningInPortlet(self)
Are the applications in this session running in a portlet or directly as servlets.
source code
 
setAttribute(self, name, o) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, request, applicationServlet)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

getAttribute(self, name, default='')

source code 
Overrides: abstract_communication_manager.IRequest.getAttribute

getContentLength(self)

source code 

Returns the length of the request content that can be read from the input stream returned by getInputStream.

Returns:
content length in bytes
Overrides: abstract_communication_manager.IRequest.getContentLength
(inherited documentation)

getInputStream(self)

source code 

Returns an input stream from which the request content can be read. The request content length can be obtained with getContentLength without reading the full stream contents.

Raises:
  • IOException
Overrides: abstract_communication_manager.IRequest.getInputStream
(inherited documentation)

getParameter(self, name)

source code 

Get the named HTTP or portlet request parameter.

Overrides: abstract_communication_manager.IRequest.getParameter
(inherited documentation)

getRequestID(self)

source code 

Returns the request identifier that identifies the target Muntjac window for the request.

Returns:
String identifier for the request target window
Overrides: abstract_communication_manager.IRequest.getRequestID
(inherited documentation)

getSession(self)

source code 

Gets a Session wrapper implementation representing the session for which this request was sent.

Multiple Muntjac applications can be associated with a single session.

Returns:
Session
Overrides: abstract_communication_manager.IRequest.getSession
(inherited documentation)

getWrappedRequest(self)

source code 

Gets the underlying request object. The request is typically either a ServletRequest or a PortletRequest.

Returns:
wrapped request object
Overrides: abstract_communication_manager.IRequest.getWrappedRequest
(inherited documentation)

isRunningInPortlet(self)

source code 

Are the applications in this session running in a portlet or directly as servlets.

Returns:
true if in a portlet
Overrides: abstract_communication_manager.IRequest.isRunningInPortlet
(inherited documentation)

setAttribute(self, name, o)

source code 
Overrides: abstract_communication_manager.IRequest.setAttribute