Class WriteStreamSubscriber<T extends WriteStream<Buffer>>
- java.lang.Object
-
- io.reactiverse.awssdk.reactivestreams.WriteStreamSubscriber<T>
-
- All Implemented Interfaces:
Subscriber<java.nio.ByteBuffer>
- Direct Known Subclasses:
HttpClientRequestSubscriber
public class WriteStreamSubscriber<T extends WriteStream<Buffer>> extends java.lang.Object implements Subscriber<java.nio.ByteBuffer>
-
-
Constructor Summary
Constructors Constructor Description WriteStreamSubscriber(T stream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onComplete()
void
onError(java.lang.Throwable t)
void
onNext(java.nio.ByteBuffer byteBuffer)
void
onSubscribe(Subscription subscription)
-
-
-
Field Detail
-
BUFF_SIZE
protected static final long BUFF_SIZE
- See Also:
- Constant Field Values
-
stream
protected T extends WriteStream<Buffer> stream
-
-
Constructor Detail
-
WriteStreamSubscriber
public WriteStreamSubscriber(T stream)
-
-
Method Detail
-
onSubscribe
public void onSubscribe(Subscription subscription)
- Specified by:
onSubscribe
in interfaceSubscriber<T extends WriteStream<Buffer>>
-
onNext
public void onNext(java.nio.ByteBuffer byteBuffer)
- Specified by:
onNext
in interfaceSubscriber<T extends WriteStream<Buffer>>
-
onError
public void onError(java.lang.Throwable t)
- Specified by:
onError
in interfaceSubscriber<T extends WriteStream<Buffer>>
-
onComplete
public void onComplete()
- Specified by:
onComplete
in interfaceSubscriber<T extends WriteStream<Buffer>>
-
-