Table of Contents

Class HttpResponse.BodySubscribers

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

BodySubscribers()

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

public BodySubscribers()

BodySubscribers(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 BodySubscribers(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>(BodySubscriber<T>, int)

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

Parameters

arg0 HttpResponse.BodySubscriber<T>

HttpResponse.BodySubscriber

arg1 int

int

Returns

HttpResponse.BodySubscriber<T>

HttpResponse.BodySubscriber

Type Parameters

T

Discarding()

public static HttpResponse.BodySubscriber<Void> Discarding()

Returns

HttpResponse.BodySubscriber<Void>

HttpResponse.BodySubscriber

FromLineSubscriber<Arg0objectSuperJava_Lang_String>(Subscriber<Arg0objectSuperJava_Lang_String>)

public static HttpResponse.BodySubscriber<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.BodySubscriber<Void>

HttpResponse.BodySubscriber

Type Parameters

Arg0objectSuperJava_Lang_String

String

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

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

Parameters

arg0 S

S

arg1 Function<Arg1objectSuperS, Arg1ExtendsT>

Function

arg2 Charset

Charset

arg3 String

String

Returns

HttpResponse.BodySubscriber<T>

HttpResponse.BodySubscriber

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.BodySubscriber<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.BodySubscriber<Void>

HttpResponse.BodySubscriber

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.BodySubscriber<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.BodySubscriber<T>

HttpResponse.BodySubscriber

Type Parameters

T
S
Arg1objectSuperS

S

Arg1ExtendsT

T

Mapping<U, T, Arg1objectSuperT, Arg1ExtendsU>(BodySubscriber<T>, Function<Arg1objectSuperT, Arg1ExtendsU>)

public static HttpResponse.BodySubscriber<U> Mapping<U, T, Arg1objectSuperT, Arg1ExtendsU>(HttpResponse.BodySubscriber<T> arg0, Function<Arg1objectSuperT, Arg1ExtendsU> arg1) where Arg1objectSuperT : T where Arg1ExtendsU : U

Parameters

arg0 HttpResponse.BodySubscriber<T>

HttpResponse.BodySubscriber

arg1 Function<Arg1objectSuperT, Arg1ExtendsU>

Function

Returns

HttpResponse.BodySubscriber<U>

HttpResponse.BodySubscriber

Type Parameters

U
T
Arg1objectSuperT

T

Arg1ExtendsU

U

OfByteArray()

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

Returns

HttpResponse.BodySubscriber<byte[]>

HttpResponse.BodySubscriber

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

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

Parameters

arg0 Consumer<Optional<byte[]>>

Consumer

Returns

HttpResponse.BodySubscriber<Void>

HttpResponse.BodySubscriber

OfFile(Path)

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

Parameters

arg0 Path

Path

Returns

HttpResponse.BodySubscriber<Path>

HttpResponse.BodySubscriber

OfFile(Path, params OpenOption[])

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

Parameters

arg0 Path

Path

arg1 OpenOption[]

OpenOption

Returns

HttpResponse.BodySubscriber<Path>

HttpResponse.BodySubscriber

OfInputStream()

public static HttpResponse.BodySubscriber<InputStream> OfInputStream()

Returns

HttpResponse.BodySubscriber<InputStream>

HttpResponse.BodySubscriber

OfLines(Charset)

public static HttpResponse.BodySubscriber<Stream<String>> OfLines(Charset arg0)

Parameters

arg0 Charset

Charset

Returns

HttpResponse.BodySubscriber<Stream<String>>

HttpResponse.BodySubscriber

OfPublisher()

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

Returns

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

HttpResponse.BodySubscriber

OfString(Charset)

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

Parameters

arg0 Charset

Charset

Returns

HttpResponse.BodySubscriber<String>

HttpResponse.BodySubscriber

Replacing<U>(U)

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

Parameters

arg0 U

U

Returns

HttpResponse.BodySubscriber<U>

HttpResponse.BodySubscriber

Type Parameters

U