RequestHelper Methods |
The RequestHelper type exposes the following members.
Name | Description | |
---|---|---|
CompleteRequest |
Completes current request (calls ApplicationInstance.CompleteRequest).
| |
EndResponse |
Ends current response (calls Response.End).
| |
EnsureScriptTimeout |
Set script timeout due to compilation delay
| |
GetBrowser |
Gets the browser string from current request.
| |
GetHeader |
Returns the value of specified HTTP header or default value if header is not defined.
| |
IsAJAXRequest |
Returns true if current request is AJAX request.
| |
IsAsyncPostback |
Returns true if current request is an asynchronous postback.
| |
IsCallback |
Returns true if current request is callback.
| |
IsFormsAuthentication |
Returns true if the authentication mode is Forms authentication.
| |
IsGZipSupported |
Returns true if GZip is supported by the client browser
| |
IsChrome |
Returns true if current browser is Chrome.
| |
IsMixedAuthentication |
If true, mixed authentication is used.
| |
IsPostBack |
Returns true if current request is postback.
| |
IsSafari |
Returns true if current browser is Safari.
| |
IsWebDAVPropfindRequest |
Determines whether current request is WebDAV PROPFIND request and url is application path.
| |
IsWebDAVRequest |
Determines whether current request is WebDAV request
| |
IsWindowsAuthentication |
Returns true if the authentication mode is Windows authentication.
| |
ResetPerformanceSettings |
Sets all the performance settings to null and causes them to be reloaded.
| |
Respond400 |
Sets the 400 status (Bad Request) and ends the response.
| |
Respond403 |
Sets the 403 status (Forbidden) and ends the response.
| |
Respond404 |
Sets the 404 status (Not Found) and ends the response.
| |
Respond500 |
Sets the 500 status (Internal Server Error) and ends the response.
| |
Respond503 |
Sets the 503 status (Service Unavailable) and ends the response.
|