|
const ServiceProvider & | getServiceProvider () const |
| Returns the locked ServiceProvider processing the request.
|
|
RequestMapper::Settings | getRequestSettings () const |
| Returns RequestMapper Settings associated with the request, guaranteed to be valid for the request's duration.
|
|
const Application & | getApplication () const |
| Returns the Application governing the request.
|
|
Session * | getSession (bool checkTimeout=true, bool ignoreAddress=false, bool cache=true) |
| Returns a locked Session associated with the request.
|
|
const char * | getRequestURI () const |
|
const char * | getRequestURL () const |
|
std::string | getRemoteAddr () const |
|
const char * | getParameter (const char *name) const |
|
std::vector< constchar * >::size_type | getParameters (const char *name, std::vector< const char * > &values) const |
|
const char * | getHandlerURL (const char *resource=nullptr) const |
| Returns the effective base Handler URL for a resource, or the current request URL.
|
|
std::string | getSecureHeader (const char *name) const |
| Returns a non-spoofable request header value, if possible.
|
|
const char * | getCookie (const char *name) const |
|
void | setAuthType (const char *authtype) |
| Establish AUTH_TYPE for request.
|
|
void | setCookie (const char *name, const char *value, time_t expires=0, samesite_t sameSite=SAMESITE_ABSENT) |
|
void | log (SPLogLevel level, const std::string &msg) const |
| Log to native server environment.
|
|
bool | isPriorityEnabled (SPLogLevel level) const |
| Test logging level.
|
|
virtual const ServiceProvider & | getServiceProvider () const =0 |
| Returns the locked ServiceProvider processing the request.
|
|
virtual RequestMapper::Settings | getRequestSettings () const =0 |
| Returns RequestMapper Settings associated with the request, guaranteed to be valid for the request's duration.
|
|
virtual const Application & | getApplication () const =0 |
| Returns the Application governing the request.
|
|
virtual Session * | getSession (bool checkTimeout=true, bool ignoreAddress=false, bool cache=true)=0 |
| Returns a locked Session associated with the request.
|
|
virtual const char * | getHandlerURL (const char *resource=nullptr) const =0 |
| Returns the effective base Handler URL for a resource, or the current request URL.
|
|
virtual std::string | getSecureHeader (const char *name) const =0 |
| Returns a non-spoofable request header value, if possible.
|
|
virtual void | clearHeader (const char *rawname, const char *cginame)=0 |
| Ensures no value exists for a request header.
|
|
virtual void | setHeader (const char *name, const char *value)=0 |
| Sets a value for a request header.
|
|
virtual void | setRemoteUser (const char *user)=0 |
| Establish REMOTE_USER identity in request.
|
|
virtual void | setAuthType (const char *authtype)=0 |
| Establish AUTH_TYPE for request.
|
|
virtual void | log (SPLogLevel level, const std::string &msg) const =0 |
| Log to native server environment.
|
|
virtual bool | isPriorityEnabled (SPLogLevel level) const =0 |
| Test logging level.
|
|
virtual long | returnDecline ()=0 |
| Indicates that processing was declined, meaning no action is required during this phase of processing.
|
|
virtual long | returnOK ()=0 |
| Indicates that processing was completed.
|
|
Abstract base for SPRequest implementations.