Class AdjustedRangeSubscriber
- java.lang.Object
-
- software.amazon.encryption.s3.legacy.internal.AdjustedRangeSubscriber
-
- All Implemented Interfaces:
org.reactivestreams.Subscriber<ByteBuffer>
public class AdjustedRangeSubscriber extends Object implements org.reactivestreams.Subscriber<ByteBuffer>
-
-
Constructor Summary
Constructors Constructor Description AdjustedRangeSubscriber(org.reactivestreams.Subscriber<? super ByteBuffer> wrappedSubscriber, Long rangeBeginning, Long rangeEnd)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onComplete()
void
onError(Throwable t)
void
onNext(ByteBuffer byteBuffer)
void
onSubscribe(org.reactivestreams.Subscription s)
-
-
-
Constructor Detail
-
AdjustedRangeSubscriber
public AdjustedRangeSubscriber(org.reactivestreams.Subscriber<? super ByteBuffer> wrappedSubscriber, Long rangeBeginning, Long rangeEnd) throws IOException
- Throws:
IOException
-
-
Method Detail
-
onSubscribe
public void onSubscribe(org.reactivestreams.Subscription s)
- Specified by:
onSubscribe
in interfaceorg.reactivestreams.Subscriber<ByteBuffer>
-
onNext
public void onNext(ByteBuffer byteBuffer)
- Specified by:
onNext
in interfaceorg.reactivestreams.Subscriber<ByteBuffer>
-
onError
public void onError(Throwable t)
- Specified by:
onError
in interfaceorg.reactivestreams.Subscriber<ByteBuffer>
-
onComplete
public void onComplete()
- Specified by:
onComplete
in interfaceorg.reactivestreams.Subscriber<ByteBuffer>
-
-