|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
NetServiceListener is used as a callback for asynchronous NetService operations. The NetServiceListener is called back when an asynchronous call either completes successfully or fails due to an error.
| Method Summary | |
void |
requestCompleted(java.lang.String requestKeyword,
HttpResponse response)
Called when the NetService operation completes successfully. |
void |
requestFailed(java.lang.String requestKeyword,
NetServiceException exception)
Called when the NetService operation fails. |
| Method Detail |
public void requestCompleted(java.lang.String requestKeyword,
HttpResponse response)
requestKeyword - A combination of the method name
and the request uri, separated by a ':'. For example: retrieve:myPage.jsp.response - The response object.
public void requestFailed(java.lang.String requestKeyword,
NetServiceException exception)
requestKeyword - A combination of the method name
and the request uri, separated by a ':'. For example: retrieve:myPage.jsp.exception - An exception detailing the failure cause. Check
NetService.retrieveAndProcess
documentation for details about this exception.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||