Redigera

Dela via


IncomingWebRequestContext Class

Definition

Provides programmatic access to the context of the incoming Web request.

public ref class IncomingWebRequestContext
public class IncomingWebRequestContext
type IncomingWebRequestContext = class
Public Class IncomingWebRequestContext
Inheritance
IncomingWebRequestContext

Properties

Accept

Gets the Accept header value from the incoming Web request.

ContentLength

Gets the ContentLength header value of the incoming Web request.

ContentType

Gets the ContentType header value from the incoming Web request.

Headers

Gets the headers for the incoming Web request.

IfMatch

Gets a collection of the items contained in the requests If-Match header.

IfModifiedSince

Gets the value of the request's If-Modified-Since header.

IfNoneMatch

Gets the values contained in the request's If-None-Match header.

IfUnmodifiedSince

Gets the value of the request's If-Unmatched-Since header.

Method

Gets the HTTP method of the incoming Web request.

UriTemplateMatch

Gets or sets the UriTemplateMatch instance created during the dispatch of the incoming Web request.

UserAgent

Gets the UserAgent header value from the incoming Web request.

Methods

CheckConditionalRetrieve(DateTime)

Called when a conditional receive request is made for a resource.

CheckConditionalRetrieve(Guid)

Called when a conditional receive request is made for a resource.

CheckConditionalRetrieve(Int32)

Called when a conditional receive request is made for a resource.

CheckConditionalRetrieve(Int64)

Called when a conditional receive request is made for a resource.

CheckConditionalRetrieve(String)

Called when a conditional receive request is made for a resource.

CheckConditionalUpdate(Guid)

Called when a conditional receive request is made for a resource.

CheckConditionalUpdate(Int32)

Called when a conditional update request is made for a resource.

CheckConditionalUpdate(Int64)

Called when a conditional update request is made for a resource.

CheckConditionalUpdate(String)

Called when a conditional update request is made for a resource.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetAcceptHeaderElements()

Gets a collection of the Accept header elements.

GetHashCode()

Serves as the default hash function.

(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)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to