Class AbstractSubscriber<T>

java.lang.Object
reactor.core.publisher.BaseSubscriber<T>
io.github.resilience4j.reactor.AbstractSubscriber<T>
Type Parameters:
T -
All Implemented Interfaces:
org.reactivestreams.Subscriber<T>, org.reactivestreams.Subscription, reactor.core.CoreSubscriber<T>, reactor.core.Disposable

public abstract class AbstractSubscriber<T> extends reactor.core.publisher.BaseSubscriber<T>
Heavily inspired by BaseSubscriber
  • Nested Class Summary

    Nested classes/interfaces inherited from interface reactor.core.Disposable

    reactor.core.Disposable.Composite, reactor.core.Disposable.Swap
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final reactor.core.CoreSubscriber<? super T>
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    AbstractSubscriber(reactor.core.CoreSubscriber<? super T> downstreamSubscriber)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    reactor.util.context.Context
     
    protected void
    hookOnSubscribe(org.reactivestreams.Subscription subscription)
    Hook for further processing of onSubscribe's Subscription.
     

    Methods inherited from class reactor.core.publisher.BaseSubscriber

    cancel, dispose, hookFinally, hookOnCancel, hookOnComplete, hookOnError, hookOnNext, isDisposed, onComplete, onError, onNext, onSubscribe, request, requestUnbounded, upstream

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • downstreamSubscriber

      protected final reactor.core.CoreSubscriber<? super T> downstreamSubscriber
  • Constructor Details

    • AbstractSubscriber

      protected AbstractSubscriber(reactor.core.CoreSubscriber<? super T> downstreamSubscriber)
  • Method Details

    • hookOnSubscribe

      protected void hookOnSubscribe(org.reactivestreams.Subscription subscription)
      Hook for further processing of onSubscribe's Subscription.
      Overrides:
      hookOnSubscribe in class reactor.core.publisher.BaseSubscriber<T>
      Parameters:
      subscription - the subscription to optionally process
    • currentContext

      public reactor.util.context.Context currentContext()
    • toString

      public String toString()
      Overrides:
      toString in class reactor.core.publisher.BaseSubscriber<T>