Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
 HttpWorkerRequest Members

  Switch on low bandwidth view
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
HttpWorkerRequest Members

This abstract class defines the base worker methods and enumerations used by ASP.NET managed code to process requests.

The HttpWorkerRequest type exposes the following members.

  NameDescription
Protected methodHttpWorkerRequest Initializes a new instance of the HttpWorkerRequest class.
Top
  NameDescription
Public methodCloseConnection Terminates the connection with the client.
Public methodEndOfRequest Used by the runtime to notify the HttpWorkerRequest that request processing for the current request is complete.
Public methodEquals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodFlushResponse Sends all pending response data to the client.
Public methodGetAppPath Returns the virtual path to the currently executing server application.
Public methodGetAppPathTranslated Returns the physical path to the currently executing server application.
Public methodGetAppPoolIDInfrastructure. When overridden in a derived class, returns the application pool ID for the current URL.
Public methodGetBytesReadInfrastructure. Gets the number of bytes read in from the client.
Public methodGetClientCertificateInfrastructure. When overridden in a derived class, gets the certification fields (specified in the X.509 standard) from a request issued by the client.
Public methodGetClientCertificateBinaryIssuerInfrastructure. Gets the certificate issuer, in binary format.
Public methodGetClientCertificateEncodingInfrastructure. When overridden in a derived class, returns the Encoding object in which the client certificate was encoded.
Public methodGetClientCertificatePublicKeyInfrastructure. When overridden in a derived class, gets a PublicKey object associated with the client certificate.
Public methodGetClientCertificateValidFromInfrastructure. When overridden in a derived class, gets the date when the certificate becomes valid. The date varies with international settings.
Public methodGetClientCertificateValidUntilInfrastructure. Gets the certificate expiration date.
Public methodGetConnectionIDInfrastructure. When overridden in a derived class, returns the ID of the current connection.
Public methodGetFilePath When overridden in a derived class, returns the virtual path to the requested URI.
Public methodGetFilePathTranslated Returns the physical file path to the requested URI (and translates it from virtual path to physical path: for example, "/proj1/page.aspx" to "c:\dir\page.aspx")
Public methodGetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public methodGetHttpVerbName Returns the specified member of the request header.
Public methodGetHttpVersion Provides access to the HTTP version of the request (for example, "HTTP/1.1").
Public methodGetKnownRequestHeader Returns the standard HTTP request header that corresponds to the specified index.
Public methodStatic memberGetKnownRequestHeaderIndex Returns the index number of the specified HTTP request header.
Public methodStatic memberGetKnownRequestHeaderName Returns the name of the specified HTTP request header.
Public methodStatic memberGetKnownResponseHeaderIndex Returns the index number of the specified HTTP response header.
Public methodStatic memberGetKnownResponseHeaderName Returns the name of the specified HTTP response header.
Public methodGetLocalAddress Provides access to the specified member of the request header.
Public methodGetLocalPort Provides access to the specified member of the request header.
Public methodGetPathInfo Returns additional path information for a resource with a URL extension. That is, for the path /virdir/page.html/tail, the GetPathInfo value is /tail.
Public methodGetPreloadedEntityBodyOverloaded. Overloaded. Returns the portion of the HTTP request body that has currently been read.
Public methodGetPreloadedEntityBodyLength Gets the length of the portion of the HTTP request body that has currently been read.
Public methodGetProtocol When overridden in a derived class, returns the HTTP protocol (HTTP or HTTPS).
Public methodGetQueryString Returns the query string specified in the request URL.
Public methodGetQueryStringRawBytes When overridden in a derived class, returns the response query string as an array of bytes.
Public methodGetRawUrl Returns the URL path contained in the request header with the query string appended.
Public methodGetRemoteAddress Provides access to the specified member of the request header.
Public methodGetRemoteName When overridden in a derived class, returns the name of the client computer.
Public methodGetRemotePort Provides access to the specified member of the request header.
Public methodGetRequestReasonInfrastructure. When overridden in a derived class, returns the reason for the request.
Public methodGetServerName When overridden in a derived class, returns the name of the local server.
Public methodGetServerVariable Returns a single server variable from a dictionary of server variables associated with the request.
Public methodStatic memberGetStatusDescription Returns a string that describes the name of the specified HTTP status code.
Public methodGetTotalEntityBodyLength Gets the length of the entire HTTP request body.
Public methodGetType Gets the Type of the current instance. (Inherited from Object.)
Public methodGetUnknownRequestHeader Returns a nonstandard HTTP request header value.
Public methodGetUnknownRequestHeaders Get all nonstandard HTTP header name-value pairs.
Public methodGetUriPath Returns the virtual path to the requested URI.
Public methodGetUrlContextIDInfrastructure. When overridden in a derived class, returns the context ID of the current connection.
Public methodGetUserToken When overridden in a derived class, returns the client's impersonation token.
Public methodGetVirtualPathTokenInfrastructure. Gets the impersonation token for the request virtual path.
Public methodHasEntityBody Returns a value indicating whether the request contains body data.
Public methodHeadersSent Returns a value indicating whether HTTP response headers have been sent to the client for the current request.
Public methodIsClientConnected Returns a value indicating whether the client connection is still active.
Public methodIsEntireEntityBodyIsPreloaded Returns a value indicating whether all request data is available and no further reads from the client are required.
Public methodIsSecure Returns a value indicating whether the connection uses SSL.
Public methodMapPath Returns the physical path corresponding to the specified virtual path.
Protected methodMemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodReadEntityBodyOverloaded. Overloaded. Reads request data from the client (when not preloaded).
Public methodSendCalculatedContentLengthOverloaded. Adds a Content-Length HTTP header to the response.
Public methodSendKnownResponseHeader Adds a standard HTTP header to the response.
Public methodSendResponseFromFileOverloaded. Adds the contents of a file to the response.
Public methodSendResponseFromMemoryOverloaded. Adds the contents of a memory block to the response.
Public methodSendStatus Specifies the HTTP status code and status description of the response, such as SendStatus(200, "Ok").
Public methodSendUnknownResponseHeader Adds a nonstandard HTTP header to the response.
Public methodSetEndOfSendNotification Registers for an optional notification when all the response data is sent.
Public methodToString Returns a String that represents the current Object. (Inherited from Object.)
Top
  NameDescription
Public fieldStatic memberHeaderAccept Specifies the index number for the Accept HTTP header.
Public fieldStatic memberHeaderAcceptCharset Specifies the index number for the Accept-Charset HTTP header.
Public fieldStatic memberHeaderAcceptEncoding Specifies the index number for the Accept-Encoding HTTP header.
Public fieldStatic memberHeaderAcceptLanguage Specifies the index number for the Accept-Language HTTP header.
Public fieldStatic memberHeaderAcceptRanges Specifies the index number for the Accept-Ranges HTTP header.
Public fieldStatic memberHeaderAge Specifies the index number for the Age HTTP header.
Public fieldStatic memberHeaderAllow Specifies the index number for the Allow HTTP header.
Public fieldStatic memberHeaderAuthorization Specifies the index number for the Authorization HTTP header.
Public fieldStatic memberHeaderCacheControl The index that represents the HTTP Cache-Control HTTP header.
Public fieldStatic memberHeaderConnection Specifies the index number for the Connection HTTP header.
Public fieldStatic memberHeaderContentEncoding Specifies the index number for the Content-Encoding HTTP header.
Public fieldStatic memberHeaderContentLanguage Specifies the index number for the Content-Language HTTP header.
Public fieldStatic memberHeaderContentLength Specifies the index number for the Content-Length HTTP header.
Public fieldStatic memberHeaderContentLocation Specifies the index number for the Content-Location HTTP header.
Public fieldStatic memberHeaderContentMd5 Specifies the index number for the Content-MD5 HTTP header.
Public fieldStatic memberHeaderContentRange Specifies the index number for the Content-Range HTTP header.
Public fieldStatic memberHeaderContentType Specifies the index number for the Content-Type HTTP header.
Public fieldStatic memberHeaderCookie Specifies the index number for the Cookie HTTP header.
Public fieldStatic memberHeaderDate Specifies the index number for the Date HTTP header.
Public fieldStatic memberHeaderEtag Specifies the index number for the ETag HTTP header.
Public fieldStatic memberHeaderExpect Specifies the index number for the Except HTTP header.
Public fieldStatic memberHeaderExpires Specifies the index number for the Expires HTTP header.
Public fieldStatic memberHeaderFrom Specifies the index number for the From HTTP header.
Public fieldStatic memberHeaderHost Specifies the index number for the Host HTTP header.
Public fieldStatic memberHeaderIfMatch Specifies the index number for the If-Match HTTP header.
Public fieldStatic memberHeaderIfModifiedSince Specifies the index number for the If-Modified-Since HTTP header.
Public fieldStatic memberHeaderIfNoneMatch Specifies the index number for the If-None-Match HTTP header.
Public fieldStatic memberHeaderIfRange Specifies the index number for the If-Range HTTP header.
Public fieldStatic memberHeaderIfUnmodifiedSince Specifies the index number for the If-Unmodified-Since HTTP header.
Public fieldStatic memberHeaderKeepAlive Specifies the index number for the Keep-Alive HTTP header.
Public fieldStatic memberHeaderLastModified Specifies the index number for the Last-Modified HTTP header.
Public fieldStatic memberHeaderLocation Specifies the index number for the Location HTTP header.
Public fieldStatic memberHeaderMaxForwards Specifies the index number for the Max-Forwards HTTP header.
Public fieldStatic memberHeaderPragma Specifies the index number for the Pragma HTTP header.
Public fieldStatic memberHeaderProxyAuthenticate Specifies the index number for the Proxy-Authenticate HTTP header.
Public fieldStatic memberHeaderProxyAuthorization Specifies the index number for the Proxy-Authorization HTTP header.
Public fieldStatic memberHeaderRange Specifies the index number for the Range HTTP header.
Public fieldStatic memberHeaderReferer Specifies the index number for the Referer HTTP header.
Public fieldStatic memberHeaderRetryAfter Specifies the index number for the Retry-After HTTP header.
Public fieldStatic memberHeaderServer Specifies the index number for the Server HTTP header.
Public fieldStatic memberHeaderSetCookie Specifies the index number for the Set-Cookie HTTP header.
Public fieldStatic memberHeaderTe Specifies the index number for the TE HTTP header.
Public fieldStatic memberHeaderTrailer Specifies the index number for the Trailer HTTP header.
Public fieldStatic memberHeaderTransferEncoding Specifies the index number for the Transfer-Encoding HTTP header.
Public fieldStatic memberHeaderUpgrade Specifies the index number for the Upgrade HTTP header.
Public fieldStatic memberHeaderUserAgent Specifies the index number for the User-Agent HTTP header.
Public fieldStatic memberHeaderVary Specifies the index number for the Vary HTTP header.
Public fieldStatic memberHeaderVia Specifies the index number for the Via HTTP header.
Public fieldStatic memberHeaderWarning Specifies the index number for the Warning HTTP header.
Public fieldStatic memberHeaderWwwAuthenticate Specifies the index number for the WWW-Authenticate HTTP header.
Public fieldStatic memberReasonCachePolicyInfrastructure. Specifies a reason for the request.
Public fieldStatic memberReasonCacheSecurityInfrastructure. Specifies a reason for the request.
Public fieldStatic memberReasonClientDisconnectInfrastructure. Specifies a reason for the request.
Public fieldStatic memberReasonDefaultInfrastructure. Specifies a reason for the request. The default value is ReasonResponseCacheMiss.
Public fieldStatic memberReasonFileHandleCacheMissInfrastructure. Specifies a reason for the request.
Public fieldStatic memberReasonResponseCacheMissInfrastructure. Specifies a reason for the request.
Public fieldStatic memberRequestHeaderMaximum Specifies the index number for the Maximum HTTP request header.
Public fieldStatic memberResponseHeaderMaximum Specifies the index number for the Maximum HTTP response header.
Top
  NameDescription
Public propertyMachineConfigPath Gets the full physical path to the Machine.config file.
Public propertyMachineInstallDirectory Gets the physical path to the directory where the ASP.NET binaries are installed.
Public propertyRequestTraceIdentifier Gets the corresponding Event Tracking for Windows trace ID for the current request.
Public propertyRootWebConfigPath Gets the full physical path to the root Web.config file.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker