HttpResponse Methods

 

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

NameDescription
System_CAPS_pubmethodAddCacheDependency(CacheDependency[])

Associates a set of cache dependencies with the response to facilitate invalidation of the response if it is stored in the output cache and the specified dependencies change.

System_CAPS_pubmethodAddCacheItemDependencies(ArrayList)

Makes the validity of a cached response dependent on other items in the cache.

System_CAPS_pubmethodAddCacheItemDependencies(String[])

Makes the validity of a cached item dependent on another item in the cache.

System_CAPS_pubmethodAddCacheItemDependency(String)

Makes the validity of a cached response dependent on another item in the cache.

System_CAPS_pubmethodAddFileDependencies(ArrayList)

Adds a group of file names to the collection of file names on which the current response is dependent.

System_CAPS_pubmethodAddFileDependencies(String[])

Adds an array of file names to the collection of file names on which the current response is dependent.

System_CAPS_pubmethodAddFileDependency(String)

Adds a single file name to the collection of file names on which the current response is dependent.

System_CAPS_pubmethodAddHeader(String, String)

Adds an HTTP header to the output stream. AddHeader is provided for compatibility with earlier versions of ASP.

System_CAPS_pubmethodAddOnSendingHeaders(Action<HttpContext>)

[Supported in the .NET Framework 4.5.2 and later versions]

Registers a callback that the ASP.NET runtime will invoke immediately before response headers are sent for this request.

System_CAPS_pubmethodAppendCookie(HttpCookie)

This API supports the product infrastructure and is not intended to be used directly from your code. Adds an HTTP cookie to the intrinsic cookie collection.

System_CAPS_pubmethodAppendHeader(String, String)

Adds an HTTP header to the output stream.

System_CAPS_pubmethodAppendToLog(String)

Adds custom log information to the Internet Information Services (IIS) log file.

System_CAPS_pubmethodApplyAppPathModifier(String)

Adds a session ID to the virtual path if the session is using Cookieless session state and returns the combined path. If Cookieless session state is not used, ApplyAppPathModifier returns the original virtual path.

System_CAPS_pubmethodBeginFlush(AsyncCallback, Object)

Sends the currently buffered response to the client.

System_CAPS_pubmethodBinaryWrite(Byte[])

Writes a string of binary characters to the HTTP output stream.

System_CAPS_pubmethodClear()

Clears all content output from the buffer stream.

System_CAPS_pubmethodClearContent()

Clears all content output from the buffer stream.

System_CAPS_pubmethodClearHeaders()

Clears all headers from the buffer stream.

System_CAPS_pubmethodClose()

Closes the socket connection to a client.

System_CAPS_pubmethodDisableKernelCache()

Disables kernel caching for the current response.

System_CAPS_pubmethodDisableUserCache()

Disables IIS user-mode caching for this response.

System_CAPS_pubmethodEnd()

Sends all currently buffered output to the client, stops execution of the page, and raises the EndRequest event.

System_CAPS_pubmethodEndFlush(IAsyncResult)

Completes an asynchronous flush operation.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodFlush()

Sends all currently buffered output to the client.

System_CAPS_pubmethodFlushAsync()

Asynchronously sends all currently buffered output to the client.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodPics(String)

Appends a HTTP PICS-Label header to the output stream.

System_CAPS_pubmethodPushPromise(String)

This API is to support applications sending push promises to HTTP 2.0 clients. You can find more details regarding to Http2 server push at HTTP/2 Specification Section 8.2: Server Push.

System_CAPS_pubmethodPushPromise(String, String, NameValueCollection)

This API is to support applications sending push promises to HTTP 2.0 clients. You can find more details regarding to Http2 server push at HTTP/2 Specification Section 8.2: Server Push.

System_CAPS_pubmethodRedirect(String)

Redirects a request to a new URL and specifies the new URL.

System_CAPS_pubmethodRedirect(String, Boolean)

Redirects a client to a new URL. Specifies the new URL and whether execution of the current page should terminate.

System_CAPS_pubmethodRedirectPermanent(String)

Performs a permanent redirection from the requested URL to the specified URL.

System_CAPS_pubmethodRedirectPermanent(String, Boolean)

Performs a permanent redirection from the requested URL to the specified URL, and provides the option to complete the response.

System_CAPS_pubmethodRedirectToRoute(Object)

Redirects a request to a new URL by using route parameter values.

System_CAPS_pubmethodRedirectToRoute(RouteValueDictionary)

Redirects a request to a new URL by using route parameter values.

System_CAPS_pubmethodRedirectToRoute(String)

Redirects a request to a new URL by using a route name.

System_CAPS_pubmethodRedirectToRoute(String, Object)

Redirects a request to a new URL by using route parameter values and a route name.

System_CAPS_pubmethodRedirectToRoute(String, RouteValueDictionary)

Redirects a request to a new URL by using route parameter values and a route name.

System_CAPS_pubmethodRedirectToRoutePermanent(Object)

Performs a permanent redirection from a requested URL to a new URL by using route parameter values.

System_CAPS_pubmethodRedirectToRoutePermanent(RouteValueDictionary)

Performs a permanent redirection from a requested URL to a new URL by using route parameter values.

System_CAPS_pubmethodRedirectToRoutePermanent(String)

Performs a permanent redirection from a requested URL to a new URL by using a route name.

System_CAPS_pubmethodRedirectToRoutePermanent(String, Object)

Performs a permanent redirection from a requested URL to a new URL by using the route parameter values and the name of the route that correspond to the new URL.

System_CAPS_pubmethodRedirectToRoutePermanent(String, RouteValueDictionary)

Performs a permanent redirection from a requested URL to a new URL by using route parameter values and a route name.

System_CAPS_pubmethodSystem_CAPS_staticRemoveOutputCacheItem(String)

Removes from the cache all cached items that are associated with the default output-cache provider. This method is static.

System_CAPS_pubmethodSystem_CAPS_staticRemoveOutputCacheItem(String, String)

Uses the specified output-cache provider to remove all output-cache items that are associated with the specified path.

System_CAPS_pubmethodSetCookie(HttpCookie)

This API supports the product infrastructure and is not intended to be used directly from your code. Updates an existing cookie in the cookie collection.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodTransmitFile(String)

Writes the specified file directly to an HTTP response output stream, without buffering it in memory.

System_CAPS_pubmethodTransmitFile(String, Int64, Int64)

Writes the specified part of a file directly to an HTTP response output stream without buffering it in memory.

System_CAPS_pubmethodWrite(Char)

Writes a character to an HTTP response output stream.

System_CAPS_pubmethodWrite(Char[], Int32, Int32)

Writes an array of characters to an HTTP response output stream.

System_CAPS_pubmethodWrite(Object)

Writes an Object to an HTTP response stream.

System_CAPS_pubmethodWrite(String)

Writes a string to an HTTP response output stream.

System_CAPS_pubmethodWriteFile(IntPtr, Int64, Int64)

Writes the specified file directly to an HTTP response output stream.

System_CAPS_pubmethodWriteFile(String)

Writes the contents of the specified file directly to an HTTP response output stream as a file block.

System_CAPS_pubmethodWriteFile(String, Boolean)

Writes the contents of the specified file directly to an HTTP response output stream as a memory block.

System_CAPS_pubmethodWriteFile(String, Int64, Int64)

Writes the specified file directly to an HTTP response output stream.

System_CAPS_pubmethodWriteSubstitution(HttpResponseSubstitutionCallback)

Allows insertion of response substitution blocks into the response, which allows dynamic generation of specified response regions for output cached responses.

Return to top
Show: