Package com.my.target.common.listeners
Class HtmlLoadingListener.HttpError
-
- All Implemented Interfaces:
-
com.my.target.common.listeners.HtmlLoadingListener.Error
public final class HtmlLoadingListener.HttpError implements HtmlLoadingListener.Error
Represents http error, receiving means, that WebView could not load content because of standard Http error, e.g 40x or 50x
-
-
Method Summary
Modifier and Type Method Description intgetCode()StringgetDescription()-
-
Method Detail
-
getCode
int getCode()
- Returns:
Code of error (e.g 404 in case of HttpError, or one of the ERROR_* constants in WebViewClient)
-
getDescription
@NonNull() String getDescription()
- Returns:
Description of error
-
-
-
-