- HttpRequest
- HttpResponse
- HttpServerUtility
- HttpContextBase
- HttpContextWrapper
- HttpRequestBase
- HttpRequestWrapper
- HttpRuntime
- HttpRequest class provides extensive information about the current HTTP request.
- HttpResponse class manages HTTP output to the client.
- HttpServerUtility class provides access to server-side utilities and processes.
- HttpContextBase class serves as the base class for classes that contain HTTP-specific information about an individual HTTP request. The HttpContextBase class is an abstract class that contains the same members as the HttpContext class. The HttpContextBase class enables you to create derived classes that are like the HttpContext class, but that you can customize and that work outside the ASP.NET pipeline. When you perform unit testing, you typically use a derived class to implement members with customized behavior that fulfills the scenario you are testing.
- HttpContextWrapper class derives from the HttpContextBase class. HttpContextWrapper class serves as a wrapper for the HttpContext class. At run time, you typically use an instance of the HttpContextWrapper class to call members on the HttpContext object.
PROPERTIES |
|
Gets a string array of client-supported MIME accept
types. |
|
Gets the anonymous identifier for the user, if present. |
|
Gets the ASP.NET application's virtual application root
path on the server. |
|
Gets the virtual path of the application root and makes
it relative by using the tilde (~) notation for the application root (as in
"~/page.aspx"). |
|
Gets or sets information about the requesting client's
browser capabilities. |
|
Gets the current request's client security certificate. |
|
Gets or sets the character set of the entity-body. |
|
Specifies the length, in bytes, of content sent by the
client. |
|
Gets or sets the MIME content type of the incoming
request. |
|
Gets a collection of cookies sent by the client. |
|
Gets the virtual path of the current request. |
|
Gets the extension of the file name that is specified
in the CurrentExecutionFilePath property. |
|
Gets the virtual path of the current request. |
|
Gets the collection of files uploaded by the client, in
multipart MIME format. |
|
Gets or sets the filter to use when reading the current
input stream. |
|
Gets a collection of form variables. |
|
Gets a collection of HTTP headers. |
|
Gets the ChannelBinding object
of the current HttpWorkerRequest instance. |
|
Gets the HTTP data transfer method (such as |
|
Gets the contents of the incoming HTTP entity body. |
|
Gets a value indicating whether the request has been
authenticated. |
|
Gets a value indicating whether the request is from the
local computer. |
|
Gets a value indicating whether the HTTP connection
uses secure sockets (that is, HTTPS). |
|
Gets the specified object from the QueryString, Form, Cookies,
or ServerVariables collections. |
|
Gets the WindowsIdentity type
for the current user. |
|
Gets a combined collection of QueryString, Form, Cookies,
and ServerVariables items. |
|
Gets the virtual path of the current request. |
|
Gets the additional path information for a resource
with a URL extension. |
|
Gets the physical file system path of the currently
executing server application's root directory. |
|
Gets the physical file system path corresponding to the
requested URL. |
|
Gets the collection of HTTP query string variables. |
|
Gets the raw URL of the current request. |
|
Gets a value that indicates whether the request entity
body has been read, and if so, how it was read. |
|
Gets the RequestContext instance
of the current request. |
|
Gets or sets the HTTP data transfer method ( |
|
Gets a collection of Web server variables. |
|
Gets a CancellationToken object
that is tripped when a request times out. |
|
Gets the TLS token binding information. The property
enables applications to retrieve token information from incoming HTTP
requests for enhanced authentication. |
|
Gets the number of bytes in the current input stream. |
|
Gets the HTTP request values without triggering request
validation. |
|
Gets information about the URL of the current request. |
|
Gets information about the URL of the client's previous
request that linked to the current URL. |
|
Gets the raw user agent string of the client browser
that has been provided. Please note it may be null. |
|
Gets the IP host address of the remote client. |
|
Gets the DNS name of the remote client. |
|
Gets a sorted string array of client language
preferences. |
METHODS |
|
Forcibly terminates the underlying TCP connection,
causing any outstanding I/O to fail. You might use this method in response to
an attack by a malicious HTTP client. |
|
Performs a binary read of a specified number of bytes
from the current input stream. |
|
Determines whether the specified object is equal to the
current object. (Inherited from Object) |
|
Gets a Stream object
that can be used to read the incoming HTTP entity body. |
|
Gets a Stream object
that can be used to read the incoming HTTP entity body. |
|
Gets a Stream object
that can be used to read the incoming HTTP entity body, optionally disabling
the request-length limit that is set in the MaxRequestLength property. |
|
Serves as the default hash function. (Inherited from Object) |
|
Gets the Type of
the current instance. (Inherited from Object) |
|
Provides IIS with a copy of the HTTP request entity
body. |
|
Provides IIS with a copy of the HTTP request entity
body and with information about the request entity object. |
|
Maps an incoming image-field form parameter to appropriate
x-coordinate and y-coordinate values. |
|
Maps the specified virtual path to a physical path. |
|
Maps the specified virtual path to a physical path. |
|
Maps an incoming image field form parameter into
appropriate x and y coordinate values. |
|
Creates a shallow copy of the current Object. (Inherited from Object) |
|
Saves an HTTP request to disk. |
|
Returns a string that represents the current object. (Inherited from Object) |
|
Causes validation to occur for the collections accessed
through the Cookies, Form,
and QueryString properties. |
CONSTRUCTORS |
|
Initializes a new instance of the HttpResponse class. |
PROPERTIES |
|
Gets or sets a value indicating whether to buffer
output and send it after the complete response is finished processing. |
|
Gets or sets a value indicating whether to buffer
output and send it after the complete page is finished processing. |
|
Gets the caching policy (such as expiration time,
privacy settings, and vary clauses) of a Web page. |
|
Gets or sets the |
|
Gets or sets the HTTP character set of the output
stream. |
|
Gets a CancellationToken object
that is tripped when the client disconnects. |
|
Gets or sets the HTTP character set of the output stream. |
|
Gets or sets the HTTP MIME type of the output stream. |
|
Gets the response cookie collection. |
|
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. Expires is
provided for compatibility with earlier versions of ASP. |
|
Gets or sets the absolute date and time at which to
remove cached information from the cache. ExpiresAbsolute is
provided for compatibility with earlier versions of ASP. |
|
Gets or sets a wrapping filter object that is used to
modify the HTTP entity body before transmission. |
|
Gets or sets an Encoding object
that represents the encoding for the current header output stream. |
|
Gets the collection of response headers. |
|
Gets a value indicating whether the response headers
have been written. |
|
Gets a value indicating whether the client is still
connected to the server. |
|
Gets a Boolean value indicating whether the client is
being transferred to a new location. |
|
Enables output of text to the outgoing HTTP response
stream. |
|
Enables binary output to the outgoing HTTP content
body. |
|
Gets or sets the value of the HTTP |
|
Sets the |
|
Gets or sets the HTTP status code of the output
returned to the client. |
|
Gets or sets the HTTP status string of the output
returned to the client. |
|
Gets or sets a value qualifying the status code of the
response. |
|
Gets a value that indicates whether the connection
supports asynchronous flush operations. |
|
Gets or sets a value indicating whether to send HTTP
content to the client. |
|
Gets or sets a value indicating whether to suppress the
default |
|
Gets or sets a value that specifies whether forms
authentication redirection to the login page should be suppressed. |
|
Gets or sets a value that specifies whether IIS 7.0
custom errors are disabled. |
PROPERTIES |
|
Gets the size of an uploaded file, in bytes. |
|
Gets the MIME content type of a file sent by a client. |
|
Gets the fully qualified name of the file on the
client. |
|
Gets a Stream object
that points to an uploaded file to prepare for reading the contents of the
file. |
METHODS |
|
Determines whether the specified object is equal to the
current object. (Inherited from Object) |
|
Serves as the default hash function. (Inherited from Object) |
|
Gets the Type of
the current instance. (Inherited from Object) |
|
Creates a shallow copy of the current Object. (Inherited from Object) |
|
Saves the contents of an uploaded file. |
|
Returns a string that represents the current object. (Inherited from Object) |
No comments:
Post a Comment