Stay organized with collections
Save and categorize content based on your preferences.
UrlRequest.StatusListener
public
static
interface
UrlRequest.StatusListener
android.net.http.UrlRequest.StatusListener
|
Listener interface used with UrlRequest.getStatus(StatusListener)
to receive the status of a
UrlRequest
.
Summary
Public methods
onStatus
public abstract void onStatus (int status)
Invoked on UrlRequest
's Executor
's thread when request status is
obtained.
Parameters |
status |
int : integer representing the status of the request. It is one of the values
defined
in Status .
Value is UrlRequest.Status.INVALID , UrlRequest.Status.IDLE , UrlRequest.Status.WAITING_FOR_STALLED_SOCKET_POOL , UrlRequest.Status.WAITING_FOR_AVAILABLE_SOCKET , UrlRequest.Status.WAITING_FOR_DELEGATE , UrlRequest.Status.WAITING_FOR_CACHE , UrlRequest.Status.DOWNLOADING_PAC_FILE , UrlRequest.Status.RESOLVING_PROXY_FOR_URL , UrlRequest.Status.RESOLVING_PROXY_FOR_URL , UrlRequest.Status.RESOLVING_HOST_IN_PAC_FILE , UrlRequest.Status.ESTABLISHING_PROXY_TUNNEL , UrlRequest.Status.RESOLVING_HOST , UrlRequest.Status.CONNECTING , UrlRequest.Status.SSL_HANDSHAKE , UrlRequest.Status.SENDING_REQUEST , UrlRequest.Status.WAITING_FOR_RESPONSE , or UrlRequest.Status.READING_RESPONSE |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-11 UTC."],[],[]]