IResponse Interface |
Namespace: CMS.Base.Internal
public interface IResponse
The IResponse type exposes the following members.
Name | Description | |
---|---|---|
Cache |
Gets the caching policy (such as expiration time, privacy settings, and vary clauses) of the current Web page.
| |
ContentType |
Gets content type of the current response or null if not set.
| |
Cookies |
Gets the response cookie collection.
| |
Headers |
Gets the collection of response headers.
| |
RedirectLocation |
Gets or sets the value of the HTTP Location header.
| |
StatusCode |
Gets or sets the HTTP status code of the output that is returned to the client.
|
Name | Description | |
---|---|---|
AddHeader |
Adds an HTTP header to the current response.
| |
Clear |
Clears all headers and content output from the current response.
| |
End |
Sends all currently buffered output to the client, stops execution of the requested process.
| |
Redirect |
Redirects a request to the specified URL and specifies whether execution of the current process should terminate.
| |
RedirectPermanent |
Performs a permanent redirect from the requested URL to the specified URL, and provides the option to complete the response.
|