|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UrlCallback
Called back when a request for open url succeeds or fails.
Method Summary | |
---|---|
void |
onFailure(FailureResponse failureResponse)
Called when failure occurs. |
void |
onSuccess(java.net.URL url,
java.io.InputStream inputStream)
Return the url and InputStream, when successful. |
Method Detail |
---|
void onSuccess(java.net.URL url, java.io.InputStream inputStream)
url
- The url opened.inputStream
- The InputStream of the opened url.void onFailure(FailureResponse failureResponse)
failureResponse
- Contains information about
the failure.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |