This documentation is archived and is not being maintained.
HttpResponseWrapper Members
Visual Studio 2008
Encapsulates the HTTP intrinsic object that provides HTTP-response information from an ASP.NET operation.
The HttpResponseWrapper type exposes the following members.
| Name | Description | |
|---|---|---|
|
HttpResponseWrapper | Initializes a new instance of the HttpResponseWrapper class. |
| Name | Description | |
|---|---|---|
|
AddCacheDependency | When overridden in a derived class, associates cache dependencies with the response that enable the response to be invalidated if it is cached and if the specified dependencies change. (Overrides HttpResponseBase::AddCacheDependency(array<CacheDependency>).) |
|
AddCacheItemDependencies | Overloaded. Makes the validity of a cached response dependent on other items in the cache. |
|
AddCacheItemDependency | Makes the validity of a cached response dependent on the specified item in the cache. (Overrides HttpResponseBase::AddCacheItemDependency(String).) |
|
AddFileDependencies | Overloaded. Makes the validity of a cached response dependent on a specified file or files. |
|
AddFileDependency | Adds a single file name to the collection of file names on which the current response is dependent. (Overrides HttpResponseBase::AddFileDependency(String).) |
|
AddHeader | Adds an HTTP header to the current response. This method is provided for compatibility with earlier versions of ASP. (Overrides HttpResponseBase::AddHeader(String, String).) |
|
AppendCookie | Adds an HTTP cookie to the HTTP response cookie collection. (Overrides HttpResponseBase::AppendCookie(HttpCookie).) |
|
AppendHeader | Adds an HTTP header to the current response. (Overrides HttpResponseBase::AppendHeader(String, String).) |
|
AppendToLog | Adds custom log information to the Internet Information Services (IIS) log file. (Overrides HttpResponseBase::AppendToLog(String).) |
|
ApplyAppPathModifier | Adds a session ID to the virtual path if the session is using Cookieless session state, and returns the combined path. (Overrides HttpResponseBase::ApplyAppPathModifier(String).) |
|
BinaryWrite | Writes a string of binary characters to the HTTP output stream. (Overrides HttpResponseBase::BinaryWrite(array<Byte>).) |
|
Clear | Clears all headers and content output from the current response. (Overrides HttpResponseBase::Clear().) |
|
ClearContent | Clears all content output from the current response. (Overrides HttpResponseBase::ClearContent().) |
|
ClearHeaders | Clears all headers from the current response. (Overrides HttpResponseBase::ClearHeaders().) |
|
Close | Closes the socket connection to a client. (Overrides HttpResponseBase::Close().) |
|
DisableKernelCache | Disables kernel caching for the current response. (Overrides HttpResponseBase::DisableKernelCache().) |
|
End | Sends all currently buffered output to the client, stops execution of the requested process, and raises the EndRequest event. (Overrides HttpResponseBase::End().) |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
Flush | Sends all currently buffered output to the client. (Overrides HttpResponseBase::Flush().) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Pics | Appends an HTTP PICS-Label header to the current response. (Overrides HttpResponseBase::Pics(String).) |
|
Redirect | Overloaded. Redirects a request to a different URL. |
|
RemoveOutputCacheItem | Removes from the cache all cached items that are associated with the specified path. (Overrides HttpResponseBase::RemoveOutputCacheItem(String).) |
|
SetCookie | Updates an existing cookie in the cookie collection. (Overrides HttpResponseBase::SetCookie(HttpCookie).) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
TransmitFile | Overloaded. Writes the specified file to the HTTP response output stream, without buffering it in memory. |
|
Write | Overloaded. Writes information to the HTTP response output stream. |
|
WriteFile | Overloaded. Writes the specified file to the HTTP response output stream. |
|
WriteSubstitution | Inserts substitution blocks into the response, which enables dynamic generation of regions for cached output responses. (Overrides HttpResponseBase::WriteSubstitution(HttpResponseSubstitutionCallback).) |
| Name | Description | |
|---|---|---|
|
Buffer | Gets or sets a value that indicates whether to buffer output and send it after the complete response has finished processing. (Overrides HttpResponseBase::Buffer.) |
|
BufferOutput | Gets or sets a value that indicates whether to buffer output and send it after the complete page has finished processing. (Overrides HttpResponseBase::BufferOutput.) |
|
Cache | Gets the caching policy (such as expiration time, privacy settings, and vary clauses) of the current Web page. (Overrides HttpResponseBase::Cache.) |
|
CacheControl | Gets or sets the Cache-Control HTTP header that matches one of the HttpCacheability enumeration values. (Overrides HttpResponseBase::CacheControl.) |
|
Charset | Gets or sets the HTTP character set of the current response. (Overrides HttpResponseBase::Charset.) |
|
ContentEncoding | Gets or sets the content encoding of the current response. (Overrides HttpResponseBase::ContentEncoding.) |
|
ContentType | Gets or sets the HTTP MIME type of the current response. (Overrides HttpResponseBase::ContentType.) |
|
Cookies | Gets the response cookie collection. (Overrides HttpResponseBase::Cookies.) |
|
Expires | Gets or sets the number of minutes before a page that is cached on the client or proxy expires. If the user returns to the same page before it expires, the cached version is displayed. Expires is provided for compatibility with earlier versions of ASP. (Overrides HttpResponseBase::Expires.) |
|
ExpiresAbsolute | Gets or sets the absolute date and time at which cached information expires in the cache. ExpiresAbsolute is provided for compatibility with earlier versions of ASP. (Overrides HttpResponseBase::ExpiresAbsolute.) |
|
Filter | Gets or sets a filter object that is used to modify the HTTP entity body before transmission. (Overrides HttpResponseBase::Filter.) |
|
HeaderEncoding | Gets or sets the encoding for the header of the current response. (Overrides HttpResponseBase::HeaderEncoding.) |
|
Headers | Gets the collection of response headers. (Overrides HttpResponseBase::Headers.) |
|
IsClientConnected | Gets a value that indicates whether the client is connected to the server. (Overrides HttpResponseBase::IsClientConnected.) |
|
IsRequestBeingRedirected | Gets a value that indicates whether the client is being redirected to a new location. (Overrides HttpResponseBase::IsRequestBeingRedirected.) |
|
Output | Gets the object that enables output of text to the outgoing HTTP response stream. (Overrides HttpResponseBase::Output.) |
|
OutputStream | Provides binary output to the outgoing HTTP content body. (Overrides HttpResponseBase::OutputStream.) |
|
RedirectLocation | Gets or sets the value of the HTTP Location header. (Overrides HttpResponseBase::RedirectLocation.) |
|
Status | Sets the Status value that is returned to the client. (Overrides HttpResponseBase::Status.) |
|
StatusCode | Gets or sets the HTTP status code of the output that is returned to the client. (Overrides HttpResponseBase::StatusCode.) |
|
StatusDescription | Gets or sets the HTTP status message of the output that is returned to the client. (Overrides HttpResponseBase::StatusDescription.) |
|
SubStatusCode | Gets or sets a value that qualifies the status code of the response. (Overrides HttpResponseBase::SubStatusCode.) |
|
SuppressContent | Gets or sets a value that indicates whether to send HTTP content to the client. (Overrides HttpResponseBase::SuppressContent.) |
|
TrySkipIisCustomErrors | Gets or sets a value that specifies whether IIS 7.0 custom errors are disabled. (Overrides HttpResponseBase::TrySkipIisCustomErrors.) |
Show: