Table of Contents

Class HttpRequest.BodyPublishers

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

BodyPublishers()

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

public BodyPublishers()

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

FromPublisher<Arg0ExtendsJava_Nio_ByteBuffer>(Publisher<Arg0ExtendsJava_Nio_ByteBuffer>)

public static HttpRequest.BodyPublisher FromPublisher<Arg0ExtendsJava_Nio_ByteBuffer>(Flow.Publisher<Arg0ExtendsJava_Nio_ByteBuffer> arg0) where Arg0ExtendsJava_Nio_ByteBuffer : ByteBuffer

Parameters

arg0 Flow.Publisher<Arg0ExtendsJava_Nio_ByteBuffer>

Flow.Publisher

Returns

HttpRequest.BodyPublisher

HttpRequest.BodyPublisher

Type Parameters

Arg0ExtendsJava_Nio_ByteBuffer

ByteBuffer

FromPublisher<Arg0ExtendsJava_Nio_ByteBuffer>(Publisher<Arg0ExtendsJava_Nio_ByteBuffer>, long)

public static HttpRequest.BodyPublisher FromPublisher<Arg0ExtendsJava_Nio_ByteBuffer>(Flow.Publisher<Arg0ExtendsJava_Nio_ByteBuffer> arg0, long arg1) where Arg0ExtendsJava_Nio_ByteBuffer : ByteBuffer

Parameters

arg0 Flow.Publisher<Arg0ExtendsJava_Nio_ByteBuffer>

Flow.Publisher

arg1 long

long

Returns

HttpRequest.BodyPublisher

HttpRequest.BodyPublisher

Type Parameters

Arg0ExtendsJava_Nio_ByteBuffer

ByteBuffer

NoBody()

public static HttpRequest.BodyPublisher NoBody()

Returns

HttpRequest.BodyPublisher

HttpRequest.BodyPublisher

OfByteArray(byte[])

public static HttpRequest.BodyPublisher OfByteArray(byte[] arg0)

Parameters

arg0 byte[]

byte

Returns

HttpRequest.BodyPublisher

HttpRequest.BodyPublisher

OfByteArray(byte[], int, int)

public static HttpRequest.BodyPublisher OfByteArray(byte[] arg0, int arg1, int arg2)

Parameters

arg0 byte[]

byte

arg1 int

int

arg2 int

int

Returns

HttpRequest.BodyPublisher

HttpRequest.BodyPublisher

OfByteArrays(Iterable<byte[]>)

public static HttpRequest.BodyPublisher OfByteArrays(Iterable<byte[]> arg0)

Parameters

arg0 Iterable<byte[]>

Iterable

Returns

HttpRequest.BodyPublisher

HttpRequest.BodyPublisher

OfFile(Path)

public static HttpRequest.BodyPublisher OfFile(Path arg0)

Parameters

arg0 Path

Path

Returns

HttpRequest.BodyPublisher

HttpRequest.BodyPublisher

Exceptions

FileNotFoundException

OfInputStream<Arg0ExtendsJava_Io_InputStream>(Supplier<Arg0ExtendsJava_Io_InputStream>)

public static HttpRequest.BodyPublisher OfInputStream<Arg0ExtendsJava_Io_InputStream>(Supplier<Arg0ExtendsJava_Io_InputStream> arg0) where Arg0ExtendsJava_Io_InputStream : InputStream

Parameters

arg0 Supplier<Arg0ExtendsJava_Io_InputStream>

Supplier

Returns

HttpRequest.BodyPublisher

HttpRequest.BodyPublisher

Type Parameters

Arg0ExtendsJava_Io_InputStream

InputStream

OfString(String)

public static HttpRequest.BodyPublisher OfString(String arg0)

Parameters

arg0 String

String

Returns

HttpRequest.BodyPublisher

HttpRequest.BodyPublisher

OfString(String, Charset)

public static HttpRequest.BodyPublisher OfString(String arg0, Charset arg1)

Parameters

arg0 String

String

arg1 Charset

Charset

Returns

HttpRequest.BodyPublisher

HttpRequest.BodyPublisher