sunday
1.0.0-beta.18
sunday-jdk
/
io.outfoxx.sunday.jdk
/
JdkRequest
/
BufferedSourceBodyHandler
/
Subscriber
Subscriber
class
Subscriber
:
HttpResponse.BodySubscriber
<
BufferedSource
>
Constructors
Functions
Constructors
Subscriber
Link copied to clipboard
fun
Subscriber
(
)
Functions
get
Body
Link copied to clipboard
open
override
fun
getBody
(
)
:
CompletionStage
<
BufferedSource
>
on
Complete
Link copied to clipboard
open
override
fun
onComplete
(
)
on
Error
Link copied to clipboard
open
override
fun
onError
(
throwable
:
Throwable
)
on
Next
Link copied to clipboard
open
override
fun
onNext
(
item
:
MutableList
<
ByteBuffer
>
)
on
Subscribe
Link copied to clipboard
open
override
fun
onSubscribe
(
subscription
:
Flow.Subscription
)