|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
ClientListener | A client that handles the event generated by the ClientBase class. |
Class Summary | |
---|---|
ClientBase | A class for doing http requests. |
ClientListenerAdapter | A basic ClientListener. |
CountingClientBaseStopper | A helper class that shuts down the clientBase when all requests have finished. |
FileSaver | A class to save a ResourceSource into a file. |
Classes that can be used to build http clients.
To build a simple client application you create a ClientBase
and then call ClientBase.sendRequest(HttpHeader, ClientListener)
.
When your listener get the
ClientListener.handleResponse(HttpHeader, HttpHeader, WebConnectionResourceSource)
method called you can either be done (HEAD requests) or you can add a
BlockListener
to the WebConnectionResourceSource
to
handle the data of the resource.
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |