| RequestHelper Class |
Namespace: CMS.Helpers
public static class RequestHelper
The RequestHelper type exposes the following members.
| Name | Description | |
|---|---|---|
| PAGE_METHODS |
Indentation for the page methods.
| |
| REQUEST_METHODS |
Indentation for the request methods.
|
| Name | Description | |
|---|---|---|
| AllowGZip |
Allow GZip of the output.
| |
| AllowResourceCompression |
Gets whether the resource compression is enabled.
| |
| GetFileEndRequest |
Gets whether the request is completed or ended when request processing is finished.
| |
| HttpMethod |
Gets the HTTP data transfer method (such as GET, POST) used by client.
| |
| LogURLsFile |
Logs request URLs file.
| |
| PendingRequests |
Counter of currently pending requests.
| |
| SentContentBytes |
Number of the content bytes sent.
| |
| TotalGetFileRequests |
Counter of GetFile requests.
| |
| TotalNonPageRequests |
Counter of NonPage requests.
| |
| TotalPageNotFoundRequests |
Counter of Page not found requests.
| |
| TotalPageRequests |
Counter of Total Content page requests.
| |
| TotalPageRobotsTxtRequests |
Counter of Total page Robots.txt requests.
| |
| TotalSessions |
Total number of created Sessions.
| |
| TotalSystemPageRequests |
Counter of Total System page requests.
|
| 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.
|