Package muntjac :: Package terminal :: Package gwt :: Package server :: Module paste_wsgi_servlet :: Class PasteWsgiServlet
[hide private]
[frames] | no frames]

Class PasteWsgiServlet

source code

                    object --+        
                             |        
paste.webkit.wkservlet.Servlet --+    
                                 |    
paste.webkit.wkservlet.HTTPServlet --+
                                     |
                                    PasteWsgiServlet
Known Subclasses:

Nested Classes [hide private]
  EndResponse

Inherited from paste.webkit.wkservlet.Servlet: ReturnIterException

Instance Methods [hide private]
 
__init__(self, contextRoot=None, contextPath=None, timeout=1800)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
awake(self, transaction)
This message is sent to all objects that participate in the request-response cycle in a top-down fashion, prior to respond().
source code
 
respond(self, transaction)
Invokes the appropriate respondToSomething() method depending on the type of request (e.g., GET, POST, PUT, ...).
source code
 
init(self) source code
 
service(self, request, response) source code
 
getContextPath(self, request) source code
 
originalContextPath(self, request) source code
 
getServletPath(self, request) source code
 
getUrlPath(self, url)
Returns: the path part or the url
source code
 
getResourceAsStream(self, path) source code
 
getResource(self, filename) source code
 
getResourcePath(self, session, path) source code
 
getParameters(self, request) source code
 
getParameter(self, request, key, default='') source code
 
setParameter(self, request, key, value) source code
 
getHeader(self, request, field) source code
 
getUserAgent(self, request) source code
 
getContentLength(self, request) source code
 
getContentType(self, request) source code
 
getIfModifiedSince(self, request) source code
 
getServerPort(self, request) source code
 
getRequestUri(self, request)
The request's URL from the protocol name up to the query string
source code
 
getPathInfo(self, request) source code
 
getLocale(self, request) source code
 
getServerName(self, request) source code
 
isSecure(self, request)
Check whether the request is a HTTPS connection.
source code
 
getInputStream(self, request) source code
 
setHeader(self, response, name, value) source code
 
setStatus(self, response, n, msg='') source code
 
write(self, response, value) source code
 
redirect(self, response, url) source code
 
getOutputStream(self, response) source code
 
getSession(self, request, allowSessionCreation=True) source code
 
invalidateSession(self, request) source code
 
getSessionId(self, request) source code
 
getSessionAttribute(self, session, name, default=None) source code
 
setSessionAttribute(self, session, name, value) source code
 
getMaxInactiveInterval(self, session) source code
 
isSessionNew(self, session) source code

Inherited from paste.webkit.wkservlet.HTTPServlet: notImplemented, respondToHead

Inherited from paste.webkit.wkservlet.Servlet: __call__, canBeReused, canBeThreaded, name, runTransaction, sleep, wsgi_application

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

Class Variables [hide private]

Inherited from paste.webkit.wkservlet.Servlet: __traceback_supplement_hide_vars__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, contextRoot=None, contextPath=None, timeout=1800)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

awake(self, transaction)

source code 

This message is sent to all objects that participate in the request-response cycle in a top-down fashion, prior to respond(). Subclasses must invoke super.

Overrides: paste.webkit.wkservlet.Servlet.awake
(inherited documentation)

respond(self, transaction)

source code 

Invokes the appropriate respondToSomething() method depending on the type of request (e.g., GET, POST, PUT, ...).

Overrides: paste.webkit.wkservlet.Servlet.respond

getUrlPath(self, url)

source code 
Parameters:
  • url - URL of the form scheme://netloc/path;parameters?query#frag
Returns:
the path part or the url