|
Private Member Functions inherited from OMQ::AbstractServiceHttpHandler |
| constructor (string $path, *softlist $content_type, *softlist $special_headers, HttpServer::AbstractAuthenticator $auth=new DefaultQorusRBACAuthenticator(), bool $isregex=True) |
| creates the object with the given arguments More...
|
|
hash | getServiceInfo () |
| returns a hash with info about the linked service
|
|
| addListener (softstring $bind, *string $cert_path, *string $key_path) |
| adds a listener from a bind string in the format: "address:port" (ex: "192.168.20.1:8011" ) More...
|
|
| addListener (softstring $bind, *Qore::SSLCertificate $cert, *Qore::SSLPrivateKey $key) |
| adds a listener from a bind string in the format: "address:port" (ex: "192.168.20.1:8011" ) More...
|
|
| addListeners (softlist $l) |
| adds a list of listeners; each element should be either a bind string in the format: "address:port" (ex: "192.168.20.1:8011" ) or an integer port, meaning to bind on all interfaces on that port More...
|
|
*hash | saveThreadLocalData () |
| called before handleRequest() any data returned here will be given to restoreThreadLocalData() after the handleRequest() call
|
|
| restoreThreadLocalData (*hash $data) |
| called after handleRequest() with any data returned from saveThreadLocalData()
|
|
| log (int $ll, string $fmt) |
| logs to the service log file
|
|
| setUserIndexInfo (string $heading, string $title, string $url) |
| sets heading and title for user HTTP services
|
|
hash | handleRequest (hash $cx, hash $hdr, *data $body) |
| this method calls handleRequestImpl() to service the request, if handleRequestImpl() returns NOTHING, then it tries to automatically serve service file resources or serve the default resource if no resource can be matched More...
|
|
string | getRequestPath (string $hpath) |
| returns the request path with the common leading part of the URL stripped off and also any URI query argument stripped off
|
|
*hash | handleRequestImpl (reference $cx, hash $hdr, *data $body) |
| this method is called by this class's handleRequest() before trying to service the request automatically based on service file resources More...
|
|
| setDefaultResource (string $name) |
| sets the default service file resource to be rendered when the request is not matched to a resource and handleRequestImpl() does not return a response
|
|
this class is used to define a Qorus UI extension in a Qorus service
- See also
- ui_extension_register()