public interface HttpContentHolder<T>
Modifier and Type | Method and Description |
---|---|
rx.Observable<T> |
getContent()
Returns the content
Observable . |
void |
ignoreContent()
This will ignore the content and any attempt to subscribe to the content
Observable as returned by
getContent() will result in invoking Observer.onError(Throwable) on the subscriber. |
rx.Observable<T> getContent()
Observable
. The content Observable
can have one and only one subscription. Observable.publish()
Observable
or else it will increase
memory consumption as the underlying Observable
buffers content untill subscription.
ignoreContent()
or else the content will remain in memory till the configured timeout.Observable
which must have one and only one subscription.UnicastContentSubject
void ignoreContent()
Observable
as returned by
getContent()
will result in invoking Observer.onError(Throwable)
on the subscriber.