System.Web.HttpResponse: Property Members

The properties of System.Web.HttpResponse are listed below. For a list of all members, see the HttpResponse Members list.

See Also: Inherited members from System.Object

Public Properties

Bufferbool.

Gets or sets a value indicating whether to buffer output and send it after the complete response is finished processing.

BufferOutputbool.

Gets or sets a value indicating whether to buffer output and send it after the complete page is finished processing.

[read-only]
CacheHttpCachePolicy.

Gets the caching policy (such as expiration time, privacy settings, and vary clauses) of a Web page.

CacheControlstring.

Gets or sets the Cache-Control HTTP header that matches one of the System.Web.HttpCacheability enumeration values.

Charsetstring.

Gets or sets the HTTP character set of the output stream.

ContentEncodingSystem.Text.Encoding.

Gets or sets the HTTP character set of the output stream.

ContentTypestring.

Gets or sets the HTTP MIME type of the output stream.

[read-only]
CookiesHttpCookieCollection.

Gets the response cookie collection.

Expiresint.

Gets or sets the number of minutes before a page cached on a browser expires. If the user returns to the same page before it expires, the cached version is displayed. HttpResponse.Expires is provided for compatibility with earlier versions of ASP.

ExpiresAbsoluteDateTime.

Gets or sets the absolute date and time at which to remove cached information from the cache. HttpResponse.ExpiresAbsolute is provided for compatibility with earlier versions of ASP.

FilterSystem.IO.Stream.

Gets or sets a wrapping filter object that is used to modify the HTTP entity body before transmission.

HeaderEncodingSystem.Text.Encoding.

Gets or sets an System.Text.Encoding object that represents the encoding for the current header output stream.

[read-only]
IsClientConnectedbool.

Gets a value indicating whether the client is still connected to the server.

[read-only]
IsRequestBeingRedirectedbool.

Gets a Boolean value indicating whether the client is being transferred to a new location.

[read-only]
OutputSystem.IO.TextWriter.

Enables output of text to the outgoing HTTP response stream.

[read-only]
OutputStreamSystem.IO.Stream.

Enables binary output to the outgoing HTTP content body.

RedirectLocationstring.

Gets or sets the value of the Http Location header.

Statusstring.

Sets the Status line that is returned to the client.

StatusCodeint.

Gets or sets the HTTP status code of the output returned to the client.

StatusDescriptionstring.

Gets or sets the HTTP status string of the output returned to the client.

SuppressContentbool.

Gets or sets a value indicating whether to send HTTP content to the client.