| Package | Description |
|---|---|
| com.hannesdorfmann.httpkit | |
| com.hannesdorfmann.httpkit.threading |
| Class and Description |
|---|
| CacheRetriever
A
CacheRetriever is a Runnable that is executed from the
CacheRetrieverExecutor to load data from cache |
| CacheRetriever.CacheRetrieverListener
A small listner that gets notified, when the
|
| CacheRetrieverExecutor
This component is responsible to retrieve Data from the cache.
|
| HttpExecutor
A
HttpExecutor is responsible to manage HttpRequests to
realize the following behavior:
Executes the HttpRequests according there
HttpRequest.getPriority() and
HttpRequest.getCreationTimestamp() ordering
Ensures that the same (waiting) HttpRequest is not executed
twice, but the other waiting HttpRequest gets the result of the other
finished one. |
| Class and Description |
|---|
| CacheRetriever
A
CacheRetriever is a Runnable that is executed from the
CacheRetrieverExecutor to load data from cache |
| CacheRetriever.CacheRetrieverListener
A small listner that gets notified, when the
|
| HttpExecutor
A
HttpExecutor is responsible to manage HttpRequests to
realize the following behavior:
Executes the HttpRequests according there
HttpRequest.getPriority() and
HttpRequest.getCreationTimestamp() ordering
Ensures that the same (waiting) HttpRequest is not executed
twice, but the other waiting HttpRequest gets the result of the other
finished one. |
HttpTask
HttpTask is a Runnable that is executed by the
HttpExecutor to retrieve or transmit data over the HTTP protocol to
the web server / web service |
| HttpTask.HttpTaskCanceledListener
A listner that listens if a
HttpRequest has been canceled, so the
HttpTask must be canceled too. |
| HttpTask.HttpTaskFinishedListener
This listener observes an
HttpClientTask and get informed, when an
HttpClientTask has finished (successful or notHttpClientTask Hannes Dorfmann |
| HttpTask.HttpTaskPriorityChangedListener
A listener that listens for priority changes
|
| HttpTask.HttpTaskStartedListner
This listener gets informed when an
HttpTask has been started |
Copyright © 2015 Hannes Dorfmann. All rights reserved.