public abstract class ErrorStreamPair<T>
extends java.lang.Object
| Constructor and Description |
|---|
ErrorStreamPair() |
| Modifier and Type | Method and Description |
|---|---|
abstract org.reactivestreams.Publisher<T> |
data() |
static <T> ErrorStreamPair<T> |
empty() |
abstract org.reactivestreams.Publisher<java.lang.Throwable> |
error() |
abstract boolean |
isPresent() |
static <T> ErrorStreamPair<T> |
ofData(org.reactivestreams.Publisher<T> dataStream) |
static <T> ErrorStreamPair<T> |
ofDataError(org.reactivestreams.Publisher<T> dataStream,
org.reactivestreams.Publisher<java.lang.Throwable> errorStream) |
public abstract org.reactivestreams.Publisher<T> data()
public abstract org.reactivestreams.Publisher<java.lang.Throwable> error()
public abstract boolean isPresent()
public static final <T> ErrorStreamPair<T> empty()
public static final <T> ErrorStreamPair<T> ofDataError(org.reactivestreams.Publisher<T> dataStream, org.reactivestreams.Publisher<java.lang.Throwable> errorStream)
public static final <T> ErrorStreamPair<T> ofData(org.reactivestreams.Publisher<T> dataStream)