Class QueuedSinglePublisher<T>

java.lang.Object
org.eclipse.jetty.reactive.client.internal.AbstractSinglePublisher<T>
org.eclipse.jetty.reactive.client.internal.QueuedSinglePublisher<T>
All Implemented Interfaces:
org.reactivestreams.Publisher<T>, org.reactivestreams.Subscription

public class QueuedSinglePublisher<T> extends AbstractSinglePublisher<T>
  • Field Details

    • COMPLETE

      public static final org.eclipse.jetty.reactive.client.internal.QueuedSinglePublisher.Terminal<?> COMPLETE
  • Constructor Details

    • QueuedSinglePublisher

      public QueuedSinglePublisher()
  • Method Details

    • offer

      public void offer(T item)
    • complete

      public void complete()
    • fail

      public boolean fail(Throwable failure)
    • onRequest

      protected void onRequest(org.reactivestreams.Subscriber<? super T> subscriber, long n)
      Specified by:
      onRequest in class AbstractSinglePublisher<T>
    • onNext

      protected void onNext(org.reactivestreams.Subscriber<? super T> subscriber, T item)