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
ConstructorDescriptionSingleSource
(Single<T> original) Creates a newSourceWrappers.SingleSource
instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
handleSubscribe
(SingleSource.Subscriber<? super T> subscriber) Handles a subscriber to thisSingle
.void
setSystemId
(String systemId) Methods inherited from class io.servicetalk.concurrent.api.internal.SubscribableSingle
subscribe
Methods 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, 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.SingleSource
instance.- Parameters:
original
- the originalSingle
to wrap.
-
-
Method Details
-
handleSubscribe
Description copied from class:Single
Handles a subscriber to thisSingle
.- Specified by:
handleSubscribe
in classSingle<T>
- Parameters:
subscriber
- the subscriber.
-
setSystemId
- Specified by:
setSystemId
in interfaceSource
-
getSystemId
- Specified by:
getSystemId
in interfaceSource
-