Python Paste


Servlet


Attributes

a app_name

'app'

a encoding

'utf8'

a session

<property object at 0xb77ae6bc>

a html_title

<property object at 0xb7ccb34c>

a title

<property object at 0xb7ccb284>

a listeners

[]

a wsgi_application

<bound class method Servlet.wsgi_application>

Methods

f __init__(...) ...

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

f __classinit__(cls, new_attrs) ...

f add_attr(cls, attr, value, set=True) ...

f __call__(self, environ, start_response) ...

f awake(self, call_setup=True) ...

f setup(self) ...

f respond(self) ...

f sleep(self, call_teardown=True) ...

f teardown(self) ...

f session__get(self) ...

f title__get(self) ...

f title__set(self, value) ...

f html_title__set(self, value) ...

f set_cookie(self, cookie_name, value, path='/', expires='ONCLOSE', secure=False) ...

f set_header(self, header_name, header_value) ...

f add_header(self, header_name, header_value) ...

f write(self, *obj) ...

f redirect(self, url, **query_vars) ...

f forward_to_wsgiapp(self, app) ...

Forwards the request to the given WSGI application

See the source for more information.