Package org.bsc.confluence.rest
Class FormUrlEncodedBodyPublisher
- java.lang.Object
-
- org.bsc.confluence.rest.FormUrlEncodedBodyPublisher
-
- All Implemented Interfaces:
HttpRequest.BodyPublisher,Flow.Publisher<ByteBuffer>
public class FormUrlEncodedBodyPublisher extends Object implements HttpRequest.BodyPublisher
-
-
Constructor Summary
Constructors Constructor Description FormUrlEncodedBodyPublisher(Map<String,String> fields)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longcontentLength()StringgetContentType()voidsubscribe(Flow.Subscriber<? super ByteBuffer> subscriber)
-
-
-
Method Detail
-
getContentType
public final String getContentType()
-
contentLength
public long contentLength()
- Specified by:
contentLengthin interfaceHttpRequest.BodyPublisher
-
subscribe
public void subscribe(Flow.Subscriber<? super ByteBuffer> subscriber)
- Specified by:
subscribein interfaceFlow.Publisher<ByteBuffer>
-
-