Language

DefaultedHttpContext(IHttpContext, IHttpContext) Constructor

Definition

Creates a context that queries the supplied defaults when the local context returns null.

[Android.Runtime.Register(".ctor", "(Lorg/apache/http/protocol/HttpContext;Lorg/apache/http/protocol/HttpContext;)V", "")]
public DefaultedHttpContext(Org.Apache.Http.Protocol.IHttpContext? local, Org.Apache.Http.Protocol.IHttpContext? defaults);
[<Android.Runtime.Register(".ctor", "(Lorg/apache/http/protocol/HttpContext;Lorg/apache/http/protocol/HttpContext;)V", "")>]
new Org.Apache.Http.Protocol.DefaultedHttpContext : Org.Apache.Http.Protocol.IHttpContext * Org.Apache.Http.Protocol.IHttpContext -> Org.Apache.Http.Protocol.DefaultedHttpContext

Parameters

local
IHttpContext

The context used for local reads, writes, and removals. This must not be null.

defaults
IHttpContext

The context queried when the local context returns null. A default context is required for such reads.

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to