Class SourceWrappers.SingleSource<T>
java.lang.Object
io.servicetalk.concurrent.api.Single<T>
io.servicetalk.concurrent.api.internal.SubscribableSingle<T>
io.servicetalk.http.router.jersey.internal.SourceWrappers.SingleSource<T>
- Type Parameters:
T- Type of items emitted.
- All Implemented Interfaces:
SingleSource<T>,Source
- Enclosing class:
- SourceWrappers
public static final class SourceWrappers.SingleSource<T>
extends SubscribableSingle<T>
implements Source
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.servicetalk.concurrent.SingleSource
SingleSource.Processor<T,R>, SingleSource.Subscriber<T> -
Constructor Summary
ConstructorsConstructorDescriptionSingleSource(Single<T> original) Creates a newSourceWrappers.SingleSourceinstance. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidhandleSubscribe(SingleSource.Subscriber<? super T> subscriber) Handles a subscriber to thisSingle.voidsetSystemId(String systemId) Methods inherited from class io.servicetalk.concurrent.api.internal.SubscribableSingle
subscribeMethods inherited from class io.servicetalk.concurrent.api.Single
afterCancel, afterFinally, afterFinally, afterFinally, afterOnError, afterOnSubscribe, afterOnSuccess, afterSubscriber, amb, amb, ambWith, anyOf, anyOf, beforeCancel, beforeFinally, beforeFinally, beforeFinally, beforeOnError, beforeOnSubscribe, beforeOnSuccess, beforeSubscriber, cache, cache, cache, cache, cast, collectUnordered, collectUnordered, collectUnordered, collectUnordered, collectUnorderedDelayError, collectUnorderedDelayError, collectUnorderedDelayError, collectUnorderedDelayError, concat, concat, concat, concat, concatDeferSubscribe, concatPropagateCancel, defer, failed, flatMap, flatMapCompletable, flatMapPublisher, fromCallable, fromFuture, fromStage, fromSupplier, ignoreElement, liftAsync, liftSync, map, never, onErrorMap, onErrorMap, onErrorMap, onErrorResume, onErrorResume, onErrorResume, onErrorReturn, onErrorReturn, onErrorReturn, publishOn, publishOn, repeat, repeat, repeatWhen, repeatWhen, retry, retryWhen, setContextOnSubscribe, shareContextOnSubscribe, subscribe, subscribe, subscribeInternal, subscribeOn, subscribeOn, succeeded, timeout, timeout, timeout, timeout, toCompletable, toCompletionStage, toFuture, toPublisher, whenCancel, whenFinally, whenFinally, whenFinally, whenOnError, whenOnSubscribe, whenOnSuccess, whenSubscriber, zip, zip, zip, zip, zipDelayError, zipDelayError, zipDelayError, zipDelayError, zipWith, zipWithDelayError
-
Constructor Details
-
SingleSource
Creates a newSourceWrappers.SingleSourceinstance.- Parameters:
original- the originalSingleto wrap.
-
-
Method Details
-
handleSubscribe
Description copied from class:SingleHandles a subscriber to thisSingle.- Specified by:
handleSubscribein classSingle<T>- Parameters:
subscriber- the subscriber.
-
setSystemId
- Specified by:
setSystemIdin interfaceSource
-
getSystemId
- Specified by:
getSystemIdin interfaceSource
-