Table of Contents

Class HttpRequest.Builder

Namespace
Java.Net.Http
Assembly
MASES.JNet.dll
public class HttpRequest.Builder : JVMBridgeBase<HttpRequest.Builder>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<HttpRequest.Builder>
HttpRequest.Builder
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<HttpRequest.Builder>.IsAssignableFrom(IJavaType)
JVMBridgeBase<HttpRequest.Builder>.IsAssignableFrom<T>()
JVMBridgeBase<HttpRequest.Builder>.Execute<T>(params T[])
JVMBridgeBase<HttpRequest.Builder>.DynBridgeClazz
JVMBridgeBase<HttpRequest.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

Methods

Build()

public HttpRequest Build()

Returns

HttpRequest

HttpRequest

Copy()

public HttpRequest.Builder Copy()

Returns

HttpRequest.Builder

HttpRequest.Builder

DELETE()

public HttpRequest.Builder DELETE()

Returns

HttpRequest.Builder

HttpRequest.Builder

ExpectContinue(bool)

public HttpRequest.Builder ExpectContinue(bool arg0)

Parameters

arg0 bool

bool

Returns

HttpRequest.Builder

HttpRequest.Builder

GET()

public HttpRequest.Builder GET()

Returns

HttpRequest.Builder

HttpRequest.Builder

Header(String, String)

public HttpRequest.Builder Header(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Returns

HttpRequest.Builder

HttpRequest.Builder

Headers(params String[])

public HttpRequest.Builder Headers(params String[] arg0)

Parameters

arg0 String[]

String

Returns

HttpRequest.Builder

HttpRequest.Builder

Method(String, BodyPublisher)

public HttpRequest.Builder Method(String arg0, HttpRequest.BodyPublisher arg1)

Parameters

arg0 String

String

arg1 HttpRequest.BodyPublisher

HttpRequest.BodyPublisher

Returns

HttpRequest.Builder

HttpRequest.Builder

POST(BodyPublisher)

public HttpRequest.Builder POST(HttpRequest.BodyPublisher arg0)

Parameters

arg0 HttpRequest.BodyPublisher

HttpRequest.BodyPublisher

Returns

HttpRequest.Builder

HttpRequest.Builder

PUT(BodyPublisher)

public HttpRequest.Builder PUT(HttpRequest.BodyPublisher arg0)

Parameters

arg0 HttpRequest.BodyPublisher

HttpRequest.BodyPublisher

Returns

HttpRequest.Builder

HttpRequest.Builder

SetHeader(String, String)

public HttpRequest.Builder SetHeader(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Returns

HttpRequest.Builder

HttpRequest.Builder

Timeout(Duration)

public HttpRequest.Builder Timeout(Duration arg0)

Parameters

arg0 Duration

Duration

Returns

HttpRequest.Builder

HttpRequest.Builder

Uri(URI)

public HttpRequest.Builder Uri(URI arg0)

Parameters

arg0 URI

URI

Returns

HttpRequest.Builder

HttpRequest.Builder

Version(Version)

public HttpRequest.Builder Version(HttpClient.Version arg0)

Parameters

arg0 HttpClient.Version

HttpClient.Version

Returns

HttpRequest.Builder

HttpRequest.Builder