Share via


HttpMessageHandlerAdapter Class

 

Represents an OWIN component that submits requests to an HttpMessageHandler when invoked.

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

Inheritance Hierarchy

System.Object
  Microsoft.Owin.OwinMiddleware
    System.Web.Http.Owin.HttpMessageHandlerAdapter

Syntax

public class HttpMessageHandlerAdapter : OwinMiddleware, IDisposable
public ref class HttpMessageHandlerAdapter : OwinMiddleware, 
    IDisposable
type HttpMessageHandlerAdapter = 
    class
        inherit OwinMiddleware
        interface IDisposable
    end
Public Class HttpMessageHandlerAdapter
    Inherits OwinMiddleware
    Implements IDisposable

Constructors

Name Description
System_CAPS_pubmethod HttpMessageHandlerAdapter(OwinMiddleware, HttpMessageHandler, IHostBufferPolicySelector)

Obsolete.Initializes a new instance of the HttpMessageHandlerAdapter class.

System_CAPS_pubmethod HttpMessageHandlerAdapter(OwinMiddleware, HttpMessageHandlerOptions)

Initializes a new instance of the HttpMessageHandlerAdapter class.

Properties

Name Description
System_CAPS_pubproperty AppDisposing

Gets the cancellation token that triggers cleanup of this component.

System_CAPS_pubproperty BufferPolicySelector

Gets the IHostBufferPolicySelector that determines whether or not to buffer requests and responses.

System_CAPS_pubproperty ExceptionHandler

Gets the IExceptionHandler to use to process unhandled exceptions.

System_CAPS_pubproperty ExceptionLogger

Gets the IExceptionLogger to use to log unhandled exceptions.

System_CAPS_pubproperty MessageHandler

Gets the HttpMessageHandler to submit requests to.

System_CAPS_protproperty Next

(Inherited from OwinMiddleware.)

Methods

Name Description
System_CAPS_pubmethod Dispose()

Releases all resources used by the current instance of the HttpMessageHandlerAdapter class.

System_CAPS_protmethod Dispose(Boolean)

Releases unmanaged and optionally managed resources.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod Invoke(IOwinContext)

(Overrides OwinMiddleware.Invoke(IOwinContext).)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

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

See Also

System.Web.Http.Owin Namespace

Return to top