Response Class |
Namespace: Dynamicweb.Environment.Web
The Response type exposes the following members.
| Name | Description | |
|---|---|---|
| Response |
Initializes a new istance of the Dynamicweb.Environment.Web.Response class that wraps an instance of the HttpContextBase class
|
| Name | Description | |
|---|---|---|
| ContentType |
Gets or sets the HTTP MIME type of the current response
| |
| Cookies |
Gets the response cookie collection
| |
| Expires |
Gets or sets the number of minutes before a page that is cached on the client or proxy expires.
| |
| IsClientConnected |
Gets a value indicating if the client is connected to the server
| |
| OutputStream |
Gets the object that enables binary output to the outgoing HTTP content body
| |
| Status |
Gets or sets the status value that is returned to the client
| |
| StatusCode |
Gets or sets the HTTP status code of the output that is returned to the client
| |
| StatusDescription |
Gets or sets the HTTP status message of the output that is returned to the client
|
| Name | Description | |
|---|---|---|
| AddHeader |
Adds an HTTP header to the current response. This method is provided for compatibility with earlier versions of ASP.
| |
| BinaryWrite |
Writes a string of binary characters to the output stream
| |
| Clear |
Clears all headers and content output from the current response
| |
| ClearHeaders |
Clears all headers from the current response
| |
| End |
Sends all currently buffered output to the client, stops execution of the requested process, and raises the EndRequest event
| |
| Flush |
Sends all currently buffered output to the client
| |
| IsValid |
Returns a value indicating if the Underlying Context and Response is available and valid
| |
| Redirect(String) |
Redirects a request to the specified URL
| |
| Redirect(String, Boolean) |
Redirects a request to the specified URL and specifies whether execution of the current request should terminate
| |
| SetCookie |
Updates an existing cookie in the cookie collection
| |
| Write(Char) |
Writes a character to an Response output stream
| |
| Write(Object) |
Writes the specified object to the response stream
| |
| Write(String) |
Writes the specified string to the response output string
| |
| Write(Char, Int32, Int32) |
Writes the specified array of characters to the response output stream
|