Class HttpResponse.BodySubscribers
public class HttpResponse.BodySubscribers : JVMBridgeBase<HttpResponse.BodySubscribers>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseHttpResponse.BodySubscribers
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<HttpResponse.BodySubscribers>.IsAssignableFrom(IJavaType)JVMBridgeBase<HttpResponse.BodySubscribers>.IsAssignableFrom<T>()JVMBridgeBase<HttpResponse.BodySubscribers>.Execute<T>(params T[])JVMBridgeBase<HttpResponse.BodySubscribers>.DynBridgeClazzJVMBridgeBase<HttpResponse.BodySubscribers>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.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
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Methods
Buffering<T>(BodySubscriber<T>, int)
public static HttpResponse.BodySubscriber<T> Buffering<T>(HttpResponse.BodySubscriber<T> arg0, int arg1)
Parameters
arg0
HttpResponse.BodySubscriber<T>arg1
int
Returns
Type Parameters
T
Discarding()
public static HttpResponse.BodySubscriber<Void> Discarding()
Returns
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>
Returns
Type Parameters
Arg0objectSuperJava_Lang_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
Returns
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_>
Returns
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
Returns
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>arg1
Function<Arg1objectSuperT, Arg1ExtendsU>
Returns
Type Parameters
U
T
Arg1objectSuperT
T
Arg1ExtendsU
U
OfByteArray()
public static HttpResponse.BodySubscriber<byte[]> OfByteArray()
Returns
OfByteArrayConsumer(Consumer<Optional<byte[]>>)
public static HttpResponse.BodySubscriber<Void> OfByteArrayConsumer(Consumer<Optional<byte[]>> arg0)
Parameters
Returns
OfFile(Path)
public static HttpResponse.BodySubscriber<Path> OfFile(Path arg0)
Parameters
Returns
OfFile(Path, params OpenOption[])
public static HttpResponse.BodySubscriber<Path> OfFile(Path arg0, params OpenOption[] arg1)
Parameters
arg0
Patharg1
OpenOption[]
Returns
OfInputStream()
public static HttpResponse.BodySubscriber<InputStream> OfInputStream()
Returns
OfLines(Charset)
public static HttpResponse.BodySubscriber<Stream<String>> OfLines(Charset arg0)
Parameters
Returns
OfPublisher()
public static HttpResponse.BodySubscriber<Flow.Publisher<List<ByteBuffer>>> OfPublisher()
Returns
OfString(Charset)
public static HttpResponse.BodySubscriber<String> OfString(Charset arg0)
Parameters
Returns
Replacing<U>(U)
public static HttpResponse.BodySubscriber<U> Replacing<U>(U arg0)
Parameters
arg0
UU
Returns
Type Parameters
U