-
public final class FetchResult
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classFetchResult.Companion
-
Constructor Summary
Constructors Constructor Description FetchResult(FetchTask task, Response response, Throwable exception)
-
Method Summary
Modifier and Type Method Description final ProtocolStatusgetStatus()final BooleangetIsSuccess()final BooleangetIsPrivacyRetry()final BooleangetIsCrawlRetry()final BooleangetIsSmall()final FetchTaskgetTask()final ResponsegetResponse()final UnitsetResponse(Response response)final ThrowablegetException()final UnitsetException(Throwable exception)final FetchTaskcomponent1()final Responsecomponent2()final Throwablecomponent3()final Unitcanceled()final Unitretry(RetryScope retryScope)final Unitfailed(Throwable t)-
-
Method Detail
-
getStatus
final ProtocolStatus getStatus()
-
getIsSuccess
final Boolean getIsSuccess()
-
getIsPrivacyRetry
final Boolean getIsPrivacyRetry()
-
getIsCrawlRetry
final Boolean getIsCrawlRetry()
-
getIsSmall
final Boolean getIsSmall()
-
getResponse
final Response getResponse()
-
setResponse
final Unit setResponse(Response response)
-
getException
final Throwable getException()
-
setException
final Unit setException(Throwable exception)
-
component1
final FetchTask component1()
-
component2
final Response component2()
-
component3
final Throwable component3()
-
-
-
-