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
| |
GetHeader |
Returns the value of specified HTTP header or default value if header is not defined.
| |
IsAJAXRequest |
Returns true if current request contains "x-microsoftajax" header item or "XMLHttpRequest" value.
| |
IsAsyncPostback | ||
IsCallback |
Returns true if current HttpMethod is POST and "__CALLBACKID" request parameter is not null.
| |
IsGZipSupported |
Returns true if GZip is supported by the client browser
| |
IsPostBack |
Returns true if current HttpMethod is POST.
| |
IsWebDAVPropfindRequest |
Determines whether current request is WebDAV PROPFIND request and url is application path.
| |
IsWebDAVRequest |
Determines whether current request is WebDAV request
| |
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.
|