PrefetchNetworkException
@Profile.ExperimentalUrlPrefetch
public class PrefetchNetworkException extends PrefetchException
| java.lang.Object | ||||
| ↳ | kotlin.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | androidx.webkit.PrefetchException | |||
| ↳ | androidx.webkit.PrefetchNetworkException |
Class for network &server related Exceptions produced by Profile prefetch operations.
Summary
Constants |
|
|---|---|
static final int |
Public fields |
|
|---|---|
final int |
The HTTP response status code returned from the server, this is based on MDN web response codes. |
Public constructors |
|---|
PrefetchNetworkException(@NonNull String error) |
PrefetchNetworkException(int httpResponseStatusCode) |
PrefetchNetworkException( |
Inherited methods |
|---|
Constants
NO_HTTP_RESPONSE_STATUS_CODE
Added in 1.13.0
public static final int NO_HTTP_RESPONSE_STATUS_CODE = 0
Public fields
httpResponseStatusCode
Added in 1.13.0
public final int httpResponseStatusCode
The HTTP response status code returned from the server, this is based on MDN web response codes.
Public constructors
PrefetchNetworkException
Added in 1.13.0
public PrefetchNetworkException(int httpResponseStatusCode)
PrefetchNetworkException
Added in 1.13.0
public PrefetchNetworkException(
@NonNull String error,
int httpResponseStatusCode
)