Class DiscardingProcessor
- java.lang.Object
-
- org.eclipse.jetty.reactive.client.internal.AbstractSinglePublisher<O>
-
- org.eclipse.jetty.reactive.client.internal.AbstractSingleProcessor<ContentChunk,ReactiveResponse>
-
- org.eclipse.jetty.reactive.client.internal.DiscardingProcessor
-
- All Implemented Interfaces:
org.reactivestreams.Processor<ContentChunk,ReactiveResponse>
,org.reactivestreams.Publisher<ReactiveResponse>
,org.reactivestreams.Subscriber<ContentChunk>
,org.reactivestreams.Subscription
public class DiscardingProcessor extends AbstractSingleProcessor<ContentChunk,ReactiveResponse>
-
-
Constructor Summary
Constructors Constructor Description DiscardingProcessor(ReactiveResponse response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onComplete()
void
onNext(ContentChunk chunk)
-
Methods inherited from class org.eclipse.jetty.reactive.client.internal.AbstractSingleProcessor
cancel, downStream, downStreamOnNext, onError, onFailure, onRequest, onSubscribe, toString, upStream, upStreamRequest
-
Methods inherited from class org.eclipse.jetty.reactive.client.internal.AbstractSinglePublisher
cappedAdd, isCancelled, request, subscribe, subscriber
-
-
-
-
Constructor Detail
-
DiscardingProcessor
public DiscardingProcessor(ReactiveResponse response)
-
-
Method Detail
-
onNext
public void onNext(ContentChunk chunk)
-
onComplete
public void onComplete()
- Specified by:
onComplete
in interfaceorg.reactivestreams.Subscriber<ContentChunk>
- Overrides:
onComplete
in classAbstractSingleProcessor<ContentChunk,ReactiveResponse>
-
-