Export (0) Print
Expand All

ODataHttpRequestMessageExtensions Class

Provides extension methods for the HttpRequestMessage class.

System.Object
  System.Net.Http.ODataHttpRequestMessageExtensions

Namespace:  System.Net.Http
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static class ODataHttpRequestMessageExtensions

The ODataHttpRequestMessageExtensions type exposes the following members.

  NameDescription
Public methodStatic memberCreateODataErrorResponse Obsolete. Helper method that performs content negotiation and creates a HttpResponseMessage representing an error with an instance of ObjectContent<T> wrapping oDataError as the content. If no formatter is found, this method returns a response with status 406 NotAcceptable.This method requires that request has been associated with an instance of HttpConfiguration.
Public methodStatic memberGetEdmModel Obsolete. Gets the EDM model associated with the request.
Public methodStatic memberGetInlineCount Obsolete. Gets the inline count for the OData response. Returns null if no count should be sent back to the client.
Public methodStatic memberGetNextPageLink Obsolete. Gets the next page link for the OData response.
Public methodStatic memberGetODataPath Obsolete. Gets the OData path of the request.
Public methodStatic memberGetODataPathHandler Obsolete. Gets the IODataPathHandler for generating links. Creates a default IODataPathHandler if value is currently null.
Public methodStatic memberGetODataRouteName Obsolete. Gets the route name for generating OData links.
Public methodStatic memberGetODataRoutingConventions Obsolete. Gets the OData routing conventions for controller and action selection.
Public methodStatic memberGetRoutingConventionsDataStore Obsolete. Gets the data store used by IODataRoutingConventions to store any custom route data. Creates a new IDictionary<string, object> the first time it is called.
Public methodStatic memberGetSelectExpandClause Obsolete. Gets the parsed OData SelectExpandClause of the request. The ODataMediaTypeFormatter will use this information (if any) while writing the response for this request.
Public methodStatic memberSetEdmModel Obsolete. Sets the EDM model associated with the request.
Public methodStatic memberSetInlineCount Obsolete. Sets the inline count for the OData response.
Public methodStatic memberSetNextPageLink Obsolete. Sets the next page link for the OData response.
Public methodStatic memberSetODataPath Obsolete. Sets the OData path of the request.
Public methodStatic memberSetODataPathHandler Obsolete. Sets the IODataPathHandler for generating links.
Public methodStatic memberSetODataRouteName Obsolete. Sets the route name for generating OData links.
Public methodStatic memberSetODataRoutingConventions Obsolete. Sets the OData routing conventions for controller and action selection.
Public methodStatic memberSetSelectExpandClause Obsolete. Sets the parsed OData SelectExpandClause of the request. The ODataMediaTypeFormatter will use this information (if any) while writing the response for this request.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft