spacewalk :: common :: rhnApache :: rhnApache :: Class rhnApache :: Class rhnApache
[hide private]
[frames] | no frames]

Class rhnApache

source code

Shared rhnApache class: rhnApache classes in proxy and server inherit
this class.

Shared apache handler code: headerParserHandler,
                        handler (defined in class that inherits this),
                        cleanupHandler.

Instance Methods [hide private]
 
__init__(self) source code
 
headerParserHandler(self, req)
after a request has been received, first thing we do is to create the input object
source code
 
_set_client_info(self, req) source code
 
_set_proxy_info(self, req)
Spacewalk Proxy stuff.
source code
 
_set_lang(self, req)
determine what language the client prefers
source code
 
_init_request_processor(self, req) source code
 
handler(self, req)
a handler - not doing much for the common case, but called from classes that inherit this one.
source code
 
cleanupHandler(self, _req)
clean up this session
source code
 
setlang(self, lang, domain)
An entry point for setting the language for the current sesstion
source code
Static Methods [hide private]
 
_set_other(_req) source code
 
_cleanup_request_processor() source code
 
logHandler(_req)
A dummy log function
source code
 
getlang()
And another lang function to produce the list of languages we're handling
source code
 
_setSessionToken(headers)
Pushes token into rhnFlags.
source code
Class Variables [hide private]
  _lang_catalog = 'common'
Method Details [hide private]

_setSessionToken(headers)
Static Method

source code 

Pushes token into rhnFlags. If doesn't exist, returns None. Pull session token out of the headers and into rhnFlags.