Top Fields Constructors Methods
rx.internal.operators

public final Class SingleOperatorOnErrorResumeNext<T>

extends Object
implements Single.OnSubscribe<T>
Class Inheritance
All Implemented Interfaces
rx.Single.OnSubscribe, rx.functions.Action1, rx.functions.Action, rx.functions.Function
Imports
rx.*, rx.exceptions.Exceptions, rx.functions.Func1

Field Summary

Modifier and TypeField and Description
private final Single<? extends T>
pack-priv final Func1<Throwable, ? extends Single<? extends T>>

Constructor Summary

AccessConstructor and Description
private
SingleOperatorOnErrorResumeNext(Single<? extends T> originalSingle, Func1<Throwable, ? extends Single<? extends T>> resumeFunctionInCaseOfError)

Method Summary

Modifier and TypeMethod and Description
public void
call(final SingleSubscriber<? super T> child)

Implements rx.functions.Action1.call.

public static <T> SingleOperatorOnErrorResumeNext<T>
withFunction(Single<? extends T> originalSingle, Func1<Throwable, ? extends Single<? extends T>> resumeFunctionInCaseOfError)

public static <T> SingleOperatorOnErrorResumeNext<T>
withOther(Single<? extends T> originalSingle, final Single<? extends T> resumeSingleInCaseOfError)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

originalSingleback to summary
private final Single<? extends T> originalSingle
resumeFunctionInCaseOfErrorback to summary
pack-priv final Func1<Throwable, ? extends Single<? extends T>> resumeFunctionInCaseOfError

Constructor Detail

SingleOperatorOnErrorResumeNextback to summary
private SingleOperatorOnErrorResumeNext(Single<? extends T> originalSingle, Func1<Throwable, ? extends Single<? extends T>> resumeFunctionInCaseOfError)

Method Detail

callback to summary
public void call(final SingleSubscriber<? super T> child)

Implements rx.functions.Action1.call.

Annotations
@Override
withFunctionback to summary
public static <T> SingleOperatorOnErrorResumeNext<T> withFunction(Single<? extends T> originalSingle, Func1<Throwable, ? extends Single<? extends T>> resumeFunctionInCaseOfError)
withOtherback to summary
public static <T> SingleOperatorOnErrorResumeNext<T> withOther(Single<? extends T> originalSingle, final Single<? extends T> resumeSingleInCaseOfError)