Class HttpResponse.BodyHandlers
public class HttpResponse.BodyHandlers : JVMBridgeBase<HttpResponse.BodyHandlers>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseHttpResponse.BodyHandlers
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<HttpResponse.BodyHandlers>.SExecute<TReturn>(Type, IJavaType, string, params object[])JVMBridgeBase<HttpResponse.BodyHandlers>.IsAssignableFrom(IJavaType)JVMBridgeBase<HttpResponse.BodyHandlers>.IsAssignableFrom<T>()JVMBridgeBase<HttpResponse.BodyHandlers>.Execute<T>(params T[])JVMBridgeBase<HttpResponse.BodyHandlers>.DynBridgeClazzJVMBridgeBase<HttpResponse.BodyHandlers>.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
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
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>(BodyHandler<T>, int)
public static HttpResponse.BodyHandler<T> Buffering<T>(HttpResponse.BodyHandler<T> arg0, int arg1)
Parameters
arg0
HttpResponse.BodyHandler<T>arg1
int
Returns
Type Parameters
T
Discarding()
public static HttpResponse.BodyHandler<Void> Discarding()
Returns
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>
Returns
Type Parameters
Arg0objectSuperJava_Lang_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
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.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_>
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.BodyHandler<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
OfByteArray()
public static HttpResponse.BodyHandler<byte[]> OfByteArray()
Returns
OfByteArrayConsumer(Consumer<Optional<byte[]>>)
public static HttpResponse.BodyHandler<Void> OfByteArrayConsumer(Consumer<Optional<byte[]>> arg0)
Parameters
Returns
OfFile(Path)
public static HttpResponse.BodyHandler<Path> OfFile(Path arg0)
Parameters
Returns
OfFile(Path, params OpenOption[])
public static HttpResponse.BodyHandler<Path> OfFile(Path arg0, params OpenOption[] arg1)
Parameters
arg0
Patharg1
OpenOption[]
Returns
OfFileDownload(Path, params OpenOption[])
public static HttpResponse.BodyHandler<Path> OfFileDownload(Path arg0, params OpenOption[] arg1)
Parameters
arg0
Patharg1
OpenOption[]
Returns
OfInputStream()
public static HttpResponse.BodyHandler<InputStream> OfInputStream()
Returns
OfLines()
public static HttpResponse.BodyHandler<Stream<String>> OfLines()
Returns
OfPublisher()
public static HttpResponse.BodyHandler<Flow.Publisher<List<ByteBuffer>>> OfPublisher()
Returns
OfString()
public static HttpResponse.BodyHandler<String> OfString()
Returns
OfString(Charset)
public static HttpResponse.BodyHandler<String> OfString(Charset arg0)
Parameters
Returns
Replacing<U>(U)
public static HttpResponse.BodyHandler<U> Replacing<U>(U arg0)
Parameters
arg0
UU
Returns
Type Parameters
U