static final class HttpStreamResult.MappedPublisher
extends Object
implements Flow.Publisher<Object>
One-shot mapping Flow.Publisher that delegates subscription to a source publisher and applies a transformer per signalled item.
| Constructor and description |
|---|
MappedPublisher(Flow.Publisher source, Closure mapper)Creates a publisher that maps each upstream item before emission. |
Creates a publisher that maps each upstream item before emission.
source - the upstream publishermapper - the mapping closureCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.