Table of Contents

Class HttpResponse.BodyHandlers

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

BodyHandlers()

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

public BodyHandlers()

BodyHandlers(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

public BodyHandlers(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

Buffering<T>(BodyHandler<T>, int)

public static HttpResponse.BodyHandler<T> Buffering<T>(HttpResponse.BodyHandler<T> arg0, int arg1)

Parameters

arg0 HttpResponse.BodyHandler<T>

HttpResponse.BodyHandler

arg1 int

int

Returns

HttpResponse.BodyHandler<T>

HttpResponse.BodyHandler

Type Parameters

T

Discarding()

public static HttpResponse.BodyHandler<Void> Discarding()

Returns

HttpResponse.BodyHandler<Void>

HttpResponse.BodyHandler

FromLineSubscriber<Arg0objectSuperJava_Lang_String>(Subscriber<Arg0objectSuperJava_Lang_String>)

public static HttpResponse.BodyHandler<Void> FromLineSubscriber<Arg0objectSuperJava_Lang_String>(Flow.Subscriber<Arg0objectSuperJava_Lang_String> arg0) where Arg0objectSuperJava_Lang_String : String

Parameters

arg0 Flow.Subscriber<Arg0objectSuperJava_Lang_String>

Flow.Subscriber

Returns

HttpResponse.BodyHandler<Void>

HttpResponse.BodyHandler

Type Parameters

Arg0objectSuperJava_Lang_String

String

FromLineSubscriber<T, S, Arg1objectSuperS, Arg1ExtendsT>(S, Function<Arg1objectSuperS, Arg1ExtendsT>, String)

public static HttpResponse.BodyHandler<T> FromLineSubscriber<T, S, Arg1objectSuperS, Arg1ExtendsT>(S arg0, Function<Arg1objectSuperS, Arg1ExtendsT> arg1, String arg2) where Arg1objectSuperS : S where Arg1ExtendsT : T

Parameters

arg0 S

S

arg1 Function<Arg1objectSuperS, Arg1ExtendsT>

Function

arg2 String

String

Returns

HttpResponse.BodyHandler<T>

HttpResponse.BodyHandler

Type Parameters

T
S
Arg1objectSuperS

S

Arg1ExtendsT

T

FromSubscriber<Arg0objectSuperJava_Util_List_Java_Nio_ByteBuffer_>(Subscriber<Arg0objectSuperJava_Util_List_Java_Nio_ByteBuffer_>)

public static HttpResponse.BodyHandler<Void> FromSubscriber<Arg0objectSuperJava_Util_List_Java_Nio_ByteBuffer_>(Flow.Subscriber<Arg0objectSuperJava_Util_List_Java_Nio_ByteBuffer_> arg0) where Arg0objectSuperJava_Util_List_Java_Nio_ByteBuffer_ : List<ByteBuffer>

Parameters

arg0 Flow.Subscriber<Arg0objectSuperJava_Util_List_Java_Nio_ByteBuffer_>

Flow.Subscriber

Returns

HttpResponse.BodyHandler<Void>

HttpResponse.BodyHandler

Type Parameters

Arg0objectSuperJava_Util_List_Java_Nio_ByteBuffer_

Java.Util.List<Java.Nio.ByteBuffer>

FromSubscriber<T, S, Arg1objectSuperS, Arg1ExtendsT>(S, Function<Arg1objectSuperS, Arg1ExtendsT>)

public static HttpResponse.BodyHandler<T> FromSubscriber<T, S, Arg1objectSuperS, Arg1ExtendsT>(S arg0, Function<Arg1objectSuperS, Arg1ExtendsT> arg1) where Arg1objectSuperS : S where Arg1ExtendsT : T

Parameters

arg0 S

S

arg1 Function<Arg1objectSuperS, Arg1ExtendsT>

Function

Returns

HttpResponse.BodyHandler<T>

HttpResponse.BodyHandler

Type Parameters

T
S
Arg1objectSuperS

S

Arg1ExtendsT

T

OfByteArray()

public static HttpResponse.BodyHandler<byte[]> OfByteArray()

Returns

HttpResponse.BodyHandler<byte[]>

HttpResponse.BodyHandler

OfByteArrayConsumer(Consumer<Optional<byte[]>>)

public static HttpResponse.BodyHandler<Void> OfByteArrayConsumer(Consumer<Optional<byte[]>> arg0)

Parameters

arg0 Consumer<Optional<byte[]>>

Consumer

Returns

HttpResponse.BodyHandler<Void>

HttpResponse.BodyHandler

OfFile(Path)

public static HttpResponse.BodyHandler<Path> OfFile(Path arg0)

Parameters

arg0 Path

Path

Returns

HttpResponse.BodyHandler<Path>

HttpResponse.BodyHandler

OfFile(Path, params OpenOption[])

public static HttpResponse.BodyHandler<Path> OfFile(Path arg0, params OpenOption[] arg1)

Parameters

arg0 Path

Path

arg1 OpenOption[]

OpenOption

Returns

HttpResponse.BodyHandler<Path>

HttpResponse.BodyHandler

OfFileDownload(Path, params OpenOption[])

public static HttpResponse.BodyHandler<Path> OfFileDownload(Path arg0, params OpenOption[] arg1)

Parameters

arg0 Path

Path

arg1 OpenOption[]

OpenOption

Returns

HttpResponse.BodyHandler<Path>

HttpResponse.BodyHandler

OfInputStream()

public static HttpResponse.BodyHandler<InputStream> OfInputStream()

Returns

HttpResponse.BodyHandler<InputStream>

HttpResponse.BodyHandler

OfLines()

public static HttpResponse.BodyHandler<Stream<String>> OfLines()

Returns

HttpResponse.BodyHandler<Stream<String>>

HttpResponse.BodyHandler

OfPublisher()

public static HttpResponse.BodyHandler<Flow.Publisher<List<ByteBuffer>>> OfPublisher()

Returns

HttpResponse.BodyHandler<Flow.Publisher<List<ByteBuffer>>>

HttpResponse.BodyHandler

OfString()

public static HttpResponse.BodyHandler<String> OfString()

Returns

HttpResponse.BodyHandler<String>

HttpResponse.BodyHandler

OfString(Charset)

public static HttpResponse.BodyHandler<String> OfString(Charset arg0)

Parameters

arg0 Charset

Charset

Returns

HttpResponse.BodyHandler<String>

HttpResponse.BodyHandler

Replacing<U>(U)

public static HttpResponse.BodyHandler<U> Replacing<U>(U arg0)

Parameters

arg0 U

U

Returns

HttpResponse.BodyHandler<U>

HttpResponse.BodyHandler

Type Parameters

U