Class SourceWrappers.PublisherSource<T>
- java.lang.Object
-
- io.servicetalk.concurrent.api.Publisher<T>
-
- io.servicetalk.concurrent.api.internal.SubscribablePublisher<T>
-
- io.servicetalk.http.router.jersey.internal.SourceWrappers.PublisherSource<T>
-
- Type Parameters:
T
- Type of items emitted.
- All Implemented Interfaces:
PublisherSource<T>
,javax.xml.transform.Source
- Enclosing class:
- SourceWrappers
public static final class SourceWrappers.PublisherSource<T> extends SubscribablePublisher<T> implements javax.xml.transform.Source
APublisher
that is also aSource
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.servicetalk.concurrent.PublisherSource
PublisherSource.Processor<T,R>, PublisherSource.Subscriber<T>, PublisherSource.Subscription
-
-
Constructor Summary
Constructors Constructor Description PublisherSource(Publisher<T> original)
Creates a newSourceWrappers.PublisherSource
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getSystemId()
protected void
handleSubscribe(PublisherSource.Subscriber<? super T> subscriber)
Handles a subscriber to thisPublisher
.void
setSystemId(java.lang.String systemId)
-
Methods inherited from class io.servicetalk.concurrent.api.internal.SubscribablePublisher
subscribe
-
Methods inherited from class io.servicetalk.concurrent.api.Publisher
afterCancel, afterFinally, afterFinally, afterOnComplete, afterOnError, afterOnNext, afterOnSubscribe, afterRequest, afterSubscriber, afterSubscription, beforeCancel, beforeFinally, beforeFinally, beforeOnComplete, beforeOnError, beforeOnNext, beforeOnSubscribe, beforeRequest, beforeSubscriber, beforeSubscription, buffer, collect, completableOrError, concat, concat, concat, defer, empty, failed, filter, firstOrElse, firstOrError, flatMapCompletable, flatMapCompletable, flatMapCompletableDelayError, flatMapCompletableDelayError, flatMapCompletableDelayError, flatMapConcatIterable, flatMapMerge, flatMapMerge, flatMapMergeDelayError, flatMapMergeDelayError, flatMapMergeDelayError, flatMapMergeSingle, flatMapMergeSingle, flatMapMergeSingleDelayError, flatMapMergeSingleDelayError, flatMapMergeSingleDelayError, forEach, from, from, fromBlockingIterable, fromInputStream, fromIterable, groupBy, groupBy, groupToMany, groupToMany, idleTimeout, idleTimeout, idleTimeout, idleTimeout, ignoreElements, liftAsync, liftSync, liftSyncToSingle, map, multicastToExactly, multicastToExactly, never, publishAndSubscribeOn, publishAndSubscribeOnOverride, publishOn, publishOnOverride, range, range, recoverWith, repeat, repeatWhen, retry, retryWhen, scanWith, scanWith, subscribeInternal, subscribeOn, subscribeOnOverride, subscribeShareContext, takeAtMost, takeUntil, takeWhile, toCompletionStage, toCompletionStage, toFuture, toFuture, toInputStream, toInputStream, toIterable, toIterable, whenCancel, whenFinally, whenFinally, whenOnComplete, whenOnError, whenOnNext, whenOnSubscribe, whenRequest, whenSubscriber, whenSubscription
-
-
-
-
Constructor Detail
-
PublisherSource
public PublisherSource(Publisher<T> original)
Creates a newSourceWrappers.PublisherSource
instance.- Parameters:
original
- the originalPublisher
to wrap.
-
-
Method Detail
-
handleSubscribe
protected void handleSubscribe(PublisherSource.Subscriber<? super T> subscriber)
Description copied from class:Publisher
Handles a subscriber to thisPublisher
.- Specified by:
handleSubscribe
in classPublisher<T>
- Parameters:
subscriber
- the subscriber.
-
setSystemId
public void setSystemId(java.lang.String systemId)
- Specified by:
setSystemId
in interfacejavax.xml.transform.Source
-
getSystemId
@Nullable public java.lang.String getSystemId()
- Specified by:
getSystemId
in interfacejavax.xml.transform.Source
-
-