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 reactor.core.CoreSubscriber<? super T> downstreamSubscriber  
  • 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 currentContext()  
    protected void hookOnSubscribe​(org.reactivestreams.Subscription subscription)
    Hook for further processing of onSubscribe's Subscription.
    java.lang.String toString()  

    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

  • 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 java.lang.String toString()
      Overrides:
      toString in class reactor.core.publisher.BaseSubscriber<T>