Table of Contents

Class HttpClient.Builder

Namespace
Java.Net.Http
Assembly
MASES.JNet.dll
public class HttpClient.Builder : JVMBridgeBase<HttpClient.Builder>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<HttpClient.Builder>
HttpClient.Builder
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<HttpClient.Builder>.IsAssignableFrom(IJavaType)
JVMBridgeBase<HttpClient.Builder>.IsAssignableFrom<T>()
JVMBridgeBase<HttpClient.Builder>.Execute<T>(params T[])
JVMBridgeBase<HttpClient.Builder>.DynBridgeClazz
JVMBridgeBase<HttpClient.Builder>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

Builder()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("Builder class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Builder()

Builder(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

[Obsolete("Builder class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Builder(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

NO_PROXY

public static ProxySelector NO_PROXY { get; }

Property Value

ProxySelector

Methods

Authenticator(Authenticator)

public HttpClient.Builder Authenticator(Authenticator arg0)

Parameters

arg0 Authenticator

Authenticator

Returns

HttpClient.Builder

HttpClient.Builder

Build()

public HttpClient Build()

Returns

HttpClient

HttpClient

ConnectTimeout(Duration)

public HttpClient.Builder ConnectTimeout(Duration arg0)

Parameters

arg0 Duration

Duration

Returns

HttpClient.Builder

HttpClient.Builder

CookieHandler(CookieHandler)

public HttpClient.Builder CookieHandler(CookieHandler arg0)

Parameters

arg0 CookieHandler

CookieHandler

Returns

HttpClient.Builder

HttpClient.Builder

Executor(Executor)

public HttpClient.Builder Executor(Executor arg0)

Parameters

arg0 Executor

Executor

Returns

HttpClient.Builder

HttpClient.Builder

FollowRedirects(Redirect)

public HttpClient.Builder FollowRedirects(HttpClient.Redirect arg0)

Parameters

arg0 HttpClient.Redirect

HttpClient.Redirect

Returns

HttpClient.Builder

HttpClient.Builder

Priority(int)

public HttpClient.Builder Priority(int arg0)

Parameters

arg0 int

int

Returns

HttpClient.Builder

HttpClient.Builder

Proxy(ProxySelector)

public HttpClient.Builder Proxy(ProxySelector arg0)

Parameters

arg0 ProxySelector

ProxySelector

Returns

HttpClient.Builder

HttpClient.Builder

SslContext(SSLContext)

public HttpClient.Builder SslContext(SSLContext arg0)

Parameters

arg0 SSLContext

SSLContext

Returns

HttpClient.Builder

HttpClient.Builder

SslParameters(SSLParameters)

public HttpClient.Builder SslParameters(SSLParameters arg0)

Parameters

arg0 SSLParameters

SSLParameters

Returns

HttpClient.Builder

HttpClient.Builder

VersionMethod(Version)

public HttpClient.Builder VersionMethod(HttpClient.Version arg0)

Parameters

arg0 HttpClient.Version

HttpClient.Version

Returns

HttpClient.Builder

HttpClient.Builder