public interface HttpRequestBodyStream
Modifier and Type | Method and Description |
---|---|
default long |
getLength()
Called from native when the processing needs to know the length of the stream.
|
default boolean |
resetPosition()
Called from native when the processing needs the stream to rewind itself back to its beginning.
|
default boolean |
sendRequestBody(ByteBuffer bodyBytesOut)
Called from Native when the Http Request has a Body (Eg PUT/POST requests).
|
default boolean sendRequestBody(ByteBuffer bodyBytesOut)
bodyBytesOut
- The Buffer to write the Request Body Bytes to.default boolean resetPosition()
default long getLength()
Copyright © 2021. All rights reserved.