- Cache - Interface in org.djodjo.comm.jus
-
An interface for a cache keyed by a String with a byte array as data.
- Cache.Entry - Class in org.djodjo.comm.jus
-
Data and metadata for an entry returned by the cache.
- Cache.Entry() - Constructor for class org.djodjo.comm.jus.Cache.Entry
-
- CacheDispatcher - Class in org.djodjo.comm.jus
-
Provides a thread for performing cache triage on a queue of requests.
- CacheDispatcher(BlockingQueue<Request<?>>, BlockingQueue<Request<?>>, Cache, ResponseDelivery) - Constructor for class org.djodjo.comm.jus.CacheDispatcher
-
Creates a new cache triage dispatcher thread.
- cacheEntry - Variable in class org.djodjo.comm.jus.Response
-
Cache metadata for this response, or null in the case of error.
- cancel() - Method in class org.djodjo.comm.jus.Request
-
Mark this request as canceled.
- cancel(boolean) - Method in class org.djodjo.comm.jus.request.RequestFuture
-
- cancelAll(RequestQueue.RequestFilter) - Method in class org.djodjo.comm.jus.RequestQueue
-
Cancels all requests in this queue for which the given filter applies.
- cancelAll(Object) - Method in class org.djodjo.comm.jus.RequestQueue
-
Cancels all requests in this queue with the given tag.
- CHARSET_PARAM - Static variable in class org.djodjo.comm.jus.http.HTTP
-
- CHUNK_CODING - Static variable in class org.djodjo.comm.jus.http.HTTP
-
Transfer encoding definitions
- clear() - Method in interface org.djodjo.comm.jus.Cache
-
Empties the cache.
- clear() - Method in class org.djodjo.comm.jus.toolbox.DiskBasedCache
-
Clears the cache.
- clear() - Method in class org.djodjo.comm.jus.toolbox.NoCache
-
- ClearCacheRequest - Class in org.djodjo.comm.jus.request
-
A synthetic request used for clearing the cache.
- ClearCacheRequest(Cache, Runnable) - Constructor for class org.djodjo.comm.jus.request.ClearCacheRequest
-
Creates a synthetic request for clearing the cache.
- close() - Method in class org.djodjo.comm.jus.toolbox.PoolingByteArrayOutputStream
-
- compareTo(Request<T>) - Method in class org.djodjo.comm.jus.Request
-
Our comparator sorts from high to low priority, and secondarily by
sequence number to provide FIFO ordering.
- CONN_CLOSE - Static variable in class org.djodjo.comm.jus.http.HTTP
-
HTTP connection control
- CONN_DIRECTIVE - Static variable in class org.djodjo.comm.jus.http.HTTP
-
- CONN_KEEP_ALIVE - Static variable in class org.djodjo.comm.jus.http.HTTP
-
- CONTENT_ENCODING - Static variable in class org.djodjo.comm.jus.http.HTTP
-
- CONTENT_LEN - Static variable in class org.djodjo.comm.jus.http.HTTP
-
- CONTENT_TYPE - Static variable in class org.djodjo.comm.jus.http.HTTP
-
- CR - Static variable in class org.djodjo.comm.jus.http.HTTP
-
- createConnection(URL) - Method in class org.djodjo.comm.jus.stack.HurlStack
-
Create an HttpURLConnection for the specified url.
- d(String, Object...) - Static method in class org.djodjo.comm.jus.JusLog
-
- data - Variable in class org.djodjo.comm.jus.Cache.Entry
-
The data returned from cache.
- data - Variable in class org.djodjo.comm.jus.NetworkResponse
-
Raw data from this response.
- DATE_HEADER - Static variable in class org.djodjo.comm.jus.http.HTTP
-
- DateParseException - Exception in org.djodjo.comm.jus.http
-
An exception to indicate an error parsing a date string.
- DateParseException() - Constructor for exception org.djodjo.comm.jus.http.DateParseException
-
- DateParseException(String) - Constructor for exception org.djodjo.comm.jus.http.DateParseException
-
- DateUtils - Class in org.djodjo.comm.jus.http
-
A utility class for parsing and formatting HTTP dates as used in cookies and
other headers.
- DEBUG - Static variable in class org.djodjo.comm.jus.CacheDispatcher
-
- DEBUG - Static variable in class org.djodjo.comm.jus.JusLog
-
- DEBUG - Static variable in class org.djodjo.comm.jus.toolbox.BasicNetwork
-
- DEFAULT_BACKOFF_MULT - Static variable in class org.djodjo.comm.jus.DefaultRetryPolicy
-
The default backoff multiplier
- DEFAULT_CONTENT_CHARSET - Static variable in class org.djodjo.comm.jus.http.HTTP
-
Default charsets
- DEFAULT_CONTENT_TYPE - Static variable in class org.djodjo.comm.jus.http.HTTP
-
Default content type
- DEFAULT_MAX_RETRIES - Static variable in class org.djodjo.comm.jus.DefaultRetryPolicy
-
The default number of retries
- DEFAULT_NETWORK_THREAD_POOL_SIZE - Static variable in class org.djodjo.comm.jus.RequestQueue
-
Number of network request dispatcher threads to start.
- DEFAULT_PROTOCOL_CHARSET - Static variable in class org.djodjo.comm.jus.http.HTTP
-
- DEFAULT_TIMEOUT_MS - Static variable in class org.djodjo.comm.jus.DefaultRetryPolicy
-
The default socket timeout in milliseconds
- DefaultRetryPolicy - Class in org.djodjo.comm.jus
-
Default retry policy for requests.
- DefaultRetryPolicy() - Constructor for class org.djodjo.comm.jus.DefaultRetryPolicy
-
Constructs a new retry policy using the default timeouts.
- DefaultRetryPolicy(int, int, float) - Constructor for class org.djodjo.comm.jus.DefaultRetryPolicy
-
Constructs a new retry policy.
- DELETE - Static variable in interface org.djodjo.comm.jus.Request.Method
-
- deliverError(JusError) - Method in class org.djodjo.comm.jus.Request
-
Delivers error message to the ErrorListener that the Request was
initialized with.
- deliverResponse(Object) - Method in class org.djodjo.comm.jus.request.ClearCacheRequest
-
- deliverResponse(T) - Method in class org.djodjo.comm.jus.Request
-
Subclasses must implement this to perform delivery of the parsed
response to their listeners.
- deliverResponse(Bitmap) - Method in class org.djodjo.comm.jus.request.ImageRequest
-
- deliverResponse(T) - Method in class org.djodjo.comm.jus.request.JsonRequest
-
- deliverResponse(String) - Method in class org.djodjo.comm.jus.request.StringRequest
-
- DiskBasedCache - Class in org.djodjo.comm.jus.toolbox
-
Cache implementation that caches files directly onto the hard disk in the specified
directory.
- DiskBasedCache(File, int) - Constructor for class org.djodjo.comm.jus.toolbox.DiskBasedCache
-
Constructs an instance of the DiskBasedCache at the specified directory.
- DiskBasedCache(File) - Constructor for class org.djodjo.comm.jus.toolbox.DiskBasedCache
-
Constructs an instance of the DiskBasedCache at the specified directory using
the default maximum cache size of 5MB.
- get(String) - Method in interface org.djodjo.comm.jus.Cache
-
Retrieves an entry from the cache.
- GET - Static variable in interface org.djodjo.comm.jus.Request.Method
-
- get() - Method in class org.djodjo.comm.jus.request.RequestFuture
-
- get(long, TimeUnit) - Method in class org.djodjo.comm.jus.request.RequestFuture
-
- get(String) - Method in class org.djodjo.comm.jus.toolbox.DiskBasedCache
-
Returns the cache entry with the specified key if it exists, null otherwise.
- get(String) - Method in class org.djodjo.comm.jus.toolbox.NoCache
-
- getAccount() - Method in class org.djodjo.comm.jus.auth.AndroidAuthenticator
-
Returns the Account being used by this authenticator.
- getAuthToken() - Method in class org.djodjo.comm.jus.auth.AndroidAuthenticator
-
- getAuthToken() - Method in interface org.djodjo.comm.jus.auth.Authenticator
-
Synchronously retrieves an auth token.
- getBackoffMultiplier() - Method in class org.djodjo.comm.jus.DefaultRetryPolicy
-
Returns the backoff multiplier for the policy.
- getBody() - Method in class org.djodjo.comm.jus.Request
-
Returns the raw POST or PUT body to be sent.
- getBody() - Method in class org.djodjo.comm.jus.request.JsonRequest
-
- getBodyContentType() - Method in class org.djodjo.comm.jus.Request
-
Returns the content type of the POST or PUT body.
- getBodyContentType() - Method in class org.djodjo.comm.jus.request.JsonRequest
-
- getBuf(int) - Method in class org.djodjo.comm.jus.toolbox.ByteArrayPool
-
Returns a buffer from the pool if one is available in the requested size, or allocates a new
one if a pooled one is not available.
- getCache() - Method in class org.djodjo.comm.jus.RequestQueue
-
Gets the
Cache instance being used.
- getCacheEntry() - Method in class org.djodjo.comm.jus.Request
-
Returns the annotated cache entry, or null if there isn't one.
- getCacheKey() - Method in class org.djodjo.comm.jus.Request
-
Returns the cache key for this request.
- getCurrentRequests() - Method in class org.djodjo.comm.jus.RequestQueue
-
- getCurrentRetryCount() - Method in class org.djodjo.comm.jus.DefaultRetryPolicy
-
Returns the current retry count.
- getCurrentRetryCount() - Method in interface org.djodjo.comm.jus.RetryPolicy
-
Returns the current retry count (used for logging).
- getCurrentTimeout() - Method in class org.djodjo.comm.jus.DefaultRetryPolicy
-
Returns the current timeout.
- getCurrentTimeout() - Method in interface org.djodjo.comm.jus.RetryPolicy
-
Returns the current timeout (used for logging).
- getErrorListener() - Method in class org.djodjo.comm.jus.Request
-
- getFileForKey(String) - Method in class org.djodjo.comm.jus.toolbox.DiskBasedCache
-
Returns a file object for the given cache key.
- getHeaders() - Method in class org.djodjo.comm.jus.Request
-
Returns a list of extra HTTP headers to go along with this request.
- getHeaders() - Method in class org.djodjo.comm.jus.request.TokenRequest
-
- getMessage() - Method in exception org.djodjo.comm.jus.error.AuthenticatorError
-
- getMessage() - Method in exception org.djodjo.comm.jus.error.AuthFailureError
-
- getMessage() - Method in exception org.djodjo.comm.jus.error.ForbiddenError
-
- getMethod() - Method in class org.djodjo.comm.jus.Request
-
Return the method for this request.
- getNetworkTimeMs() - Method in exception org.djodjo.comm.jus.error.JusError
-
- getParams() - Method in class org.djodjo.comm.jus.Request
-
Returns a Map of parameters to be used for a POST or PUT request.
- getParams() - Method in class org.djodjo.comm.jus.request.TokenRequest
-
- getParamsEncoding() - Method in class org.djodjo.comm.jus.Request
-
Returns which encoding should be used when converting POST or PUT parameters returned by
Request.getParams() into a raw POST or PUT body.
- getPostParams() - Method in class org.djodjo.comm.jus.Request
-
- getPriority() - Method in class org.djodjo.comm.jus.request.ClearCacheRequest
-
- getPriority() - Method in class org.djodjo.comm.jus.Request
-
- getPriority() - Method in class org.djodjo.comm.jus.request.ImageRequest
-
- getResolutionIntent() - Method in exception org.djodjo.comm.jus.error.AuthenticatorError
-
- getResolutionIntent() - Method in exception org.djodjo.comm.jus.error.AuthFailureError
-
- getResolutionIntent() - Method in exception org.djodjo.comm.jus.error.ForbiddenError
-
- getRetryPolicy() - Method in class org.djodjo.comm.jus.Request
-
Returns the retry policy that should be used for this request.
- getSequence() - Method in class org.djodjo.comm.jus.Request
-
Returns the sequence number of this request.
- getSequenceNumber() - Method in class org.djodjo.comm.jus.RequestQueue
-
Gets a sequence number.
- getTag() - Method in class org.djodjo.comm.jus.Request
-
Returns this request's tag.
- getTimeoutMs() - Method in class org.djodjo.comm.jus.Request
-
Returns the socket timeout in milliseconds per retry attempt.
- getTrafficStatsTag() - Method in class org.djodjo.comm.jus.Request
-
- getUrl() - Method in class org.djodjo.comm.jus.Request
-
Returns the URL of this request.
- getWaitingRequests() - Method in class org.djodjo.comm.jus.RequestQueue
-
- GMT - Static variable in class org.djodjo.comm.jus.http.DateUtils
-
- parseCacheHeaders(NetworkResponse) - Static method in class org.djodjo.comm.jus.toolbox.HttpHeaderParser
-
- parseCharset(Map<String, String>, String) - Static method in class org.djodjo.comm.jus.toolbox.HttpHeaderParser
-
Retrieve a charset from headers
- parseCharset(Map<String, String>) - Static method in class org.djodjo.comm.jus.toolbox.HttpHeaderParser
-
Returns the charset specified in the Content-Type of this header,
or the HTTP default (ISO-8859-1) if none can be found.
- parseDate(String) - Static method in class org.djodjo.comm.jus.http.DateUtils
-
Parses a date value.
- parseDate(String, String[]) - Static method in class org.djodjo.comm.jus.http.DateUtils
-
Parses the date value using the given date formats.
- parseDate(String, String[], Date) - Static method in class org.djodjo.comm.jus.http.DateUtils
-
Parses the date value using the given date formats.
- parseDateAsEpoch(String) - Static method in class org.djodjo.comm.jus.toolbox.HttpHeaderParser
-
Parse date in RFC1123 format, and return its value as epoch
- ParseError - Exception in org.djodjo.comm.jus
-
Indicates that the server's response could not be parsed.
- ParseError(Throwable) - Constructor for exception org.djodjo.comm.jus.ParseError
-
- ParseError(String, Throwable) - Constructor for exception org.djodjo.comm.jus.ParseError
-
- ParseError(String) - Constructor for exception org.djodjo.comm.jus.ParseError
-
- ParseError() - Constructor for exception org.djodjo.comm.jus.ParseError
-
- ParseError(NetworkResponse) - Constructor for exception org.djodjo.comm.jus.ParseError
-
- parseNetworkError(JusError) - Method in class org.djodjo.comm.jus.Request
-
Subclasses can override this method to parse 'networkError' and return a more specific error.
- parseNetworkResponse(NetworkResponse) - Method in class org.djodjo.comm.jus.request.ClearCacheRequest
-
- parseNetworkResponse(NetworkResponse) - Method in class org.djodjo.comm.jus.request.ImageRequest
-
- parseNetworkResponse(NetworkResponse) - Method in class org.djodjo.comm.jus.request.JsonArrayRequest
-
- parseNetworkResponse(NetworkResponse) - Method in class org.djodjo.comm.jus.request.JsonObjectRequest
-
- parseNetworkResponse(NetworkResponse) - Method in class org.djodjo.comm.jus.request.JsonRequest
-
- parseNetworkResponse(NetworkResponse) - Method in class org.djodjo.comm.jus.Request
-
Subclasses must implement this to parse the raw network response
and return an appropriate response type.
- parseNetworkResponse(NetworkResponse) - Method in class org.djodjo.comm.jus.request.StringRequest
-
- PATCH - Static variable in interface org.djodjo.comm.jus.Request.Method
-
- PATTERN_ASCTIME - Static variable in class org.djodjo.comm.jus.http.DateUtils
-
Date format pattern used to parse HTTP date headers in ANSI C
asctime() format.
- PATTERN_RFC1036 - Static variable in class org.djodjo.comm.jus.http.DateUtils
-
Date format pattern used to parse HTTP date headers in RFC 1036 format.
- PATTERN_RFC1123 - Static variable in class org.djodjo.comm.jus.http.DateUtils
-
Date format pattern used to parse HTTP date headers in RFC 1123 format.
- performRequest(Request<?>) - Method in interface org.djodjo.comm.jus.Network
-
Performs the specified request.
- performRequest(Request<?>, Map<String, String>, ByteArrayPool) - Method in interface org.djodjo.comm.jus.stack.HttpStack
-
Performs an HTTP request with the given parameters.
- performRequest(Request<?>, Map<String, String>, ByteArrayPool) - Method in class org.djodjo.comm.jus.stack.HurlStack
-
- performRequest(Request<?>) - Method in class org.djodjo.comm.jus.toolbox.BasicNetwork
-
- PLAIN_TEXT_TYPE - Static variable in class org.djodjo.comm.jus.http.HTTP
-
- PoolingByteArrayOutputStream - Class in org.djodjo.comm.jus.toolbox
-
A variation of ByteArrayOutputStream that uses a pool of byte[] buffers instead
of always allocating them fresh, saving on heap churn.
- PoolingByteArrayOutputStream(ByteArrayPool) - Constructor for class org.djodjo.comm.jus.toolbox.PoolingByteArrayOutputStream
-
Constructs a new PoolingByteArrayOutputStream with a default size.
- PoolingByteArrayOutputStream(ByteArrayPool, int) - Constructor for class org.djodjo.comm.jus.toolbox.PoolingByteArrayOutputStream
-
Constructs a new ByteArrayOutputStream with a default size of size bytes.
- POST - Static variable in interface org.djodjo.comm.jus.Request.Method
-
- postError(Request<?>, JusError) - Method in class org.djodjo.comm.jus.ExecutorDelivery
-
- postError(Request<?>, JusError) - Method in interface org.djodjo.comm.jus.ResponseDelivery
-
Posts an error for the given request.
- postResponse(Request<?>, Response<?>) - Method in class org.djodjo.comm.jus.ExecutorDelivery
-
- postResponse(Request<?>, Response<?>, Runnable) - Method in class org.djodjo.comm.jus.ExecutorDelivery
-
- postResponse(Request<?>, Response<?>) - Method in interface org.djodjo.comm.jus.ResponseDelivery
-
Parses a response from the network or cache and delivers it.
- postResponse(Request<?>, Response<?>, Runnable) - Method in interface org.djodjo.comm.jus.ResponseDelivery
-
Parses a response from the network or cache and delivers it.
- PROTOCOL_CHARSET - Static variable in class org.djodjo.comm.jus.request.JsonRequest
-
Default charset for JSON request.
- put(String, Cache.Entry) - Method in interface org.djodjo.comm.jus.Cache
-
Adds or replaces an entry to the cache.
- PUT - Static variable in interface org.djodjo.comm.jus.Request.Method
-
- put(String, Cache.Entry) - Method in class org.djodjo.comm.jus.toolbox.DiskBasedCache
-
Puts the entry with the specified key into the cache.
- put(String, Cache.Entry) - Method in class org.djodjo.comm.jus.toolbox.NoCache
-
- refreshNeeded() - Method in class org.djodjo.comm.jus.Cache.Entry
-
True if a refresh is needed from the original data source.
- remove(String) - Method in interface org.djodjo.comm.jus.Cache
-
Removes an entry from the cache.
- remove(String) - Method in class org.djodjo.comm.jus.toolbox.DiskBasedCache
-
Removes the specified key from the cache if it exists.
- remove(String) - Method in class org.djodjo.comm.jus.toolbox.NoCache
-
- removeRequestFinishedListener(RequestQueue.RequestFinishedListener<T>) - Method in class org.djodjo.comm.jus.RequestQueue
-
Remove a RequestFinishedListener.
- Request<T> - Class in org.djodjo.comm.jus
-
Base class for all network requests.
- Request(int, String, Response.ErrorListener) - Constructor for class org.djodjo.comm.jus.Request
-
Creates a new request with the given method (one of the values from
Request.Method),
URL, and error listener.
- Request.Method - Interface in org.djodjo.comm.jus
-
Supported request methods.
- Request.Priority - Enum in org.djodjo.comm.jus
-
Priority values.
- RequestError - Exception in org.djodjo.comm.jus.error
-
Indicates that the server responded with an error response.
- RequestError(Throwable) - Constructor for exception org.djodjo.comm.jus.error.RequestError
-
- RequestError(String, Throwable) - Constructor for exception org.djodjo.comm.jus.error.RequestError
-
- RequestError(String) - Constructor for exception org.djodjo.comm.jus.error.RequestError
-
- RequestError() - Constructor for exception org.djodjo.comm.jus.error.RequestError
-
- RequestError(NetworkResponse) - Constructor for exception org.djodjo.comm.jus.error.RequestError
-
- RequestFuture<T> - Class in org.djodjo.comm.jus.request
-
A Future that represents a Jus request.
- RequestQueue - Class in org.djodjo.comm.jus
-
A request dispatch queue with a thread pool of dispatchers.
- RequestQueue(Cache, Network, int, ResponseDelivery) - Constructor for class org.djodjo.comm.jus.RequestQueue
-
Creates the worker pool.
- RequestQueue(Cache, Network, int) - Constructor for class org.djodjo.comm.jus.RequestQueue
-
Creates the worker pool.
- RequestQueue(Cache, Network) - Constructor for class org.djodjo.comm.jus.RequestQueue
-
Creates the worker pool.
- RequestQueue.RequestFilter - Interface in org.djodjo.comm.jus
-
- RequestQueue.RequestFinishedListener<T> - Interface in org.djodjo.comm.jus
-
Callback interface for completed requests.
- Response<T> - Class in org.djodjo.comm.jus
-
Encapsulates a parsed response for delivery.
- Response.ErrorListener - Interface in org.djodjo.comm.jus
-
Callback interface for delivering error responses.
- Response.Listener<T> - Interface in org.djodjo.comm.jus
-
Callback interface for delivering parsed responses.
- ResponseDelivery - Interface in org.djodjo.comm.jus
-
- responseHeaders - Variable in class org.djodjo.comm.jus.Cache.Entry
-
Immutable response headers as received from server; must be non-null.
- result - Variable in class org.djodjo.comm.jus.Response
-
Parsed response, or null in the case of error.
- retry(JusError) - Method in class org.djodjo.comm.jus.DefaultRetryPolicy
-
Prepares for the next retry by applying a backoff to the timeout.
- retry(JusError) - Method in interface org.djodjo.comm.jus.RetryPolicy
-
Prepares for the next retry by applying a backoff to the timeout.
- RetryPolicy - Interface in org.djodjo.comm.jus
-
Retry policy for a request.
- returnBuf(byte[]) - Method in class org.djodjo.comm.jus.toolbox.ByteArrayPool
-
Returns a buffer to the pool, throwing away old buffers if the pool would exceed its allotted
size.
- rewriteUrl(String) - Method in interface org.djodjo.comm.jus.stack.HurlStack.UrlRewriter
-
Returns a URL to use instead of the provided one, or null to indicate
this URL should not be used at all.
- run() - Method in class org.djodjo.comm.jus.CacheDispatcher
-
- run() - Method in class org.djodjo.comm.jus.NetworkDispatcher
-
- secret - Variable in class org.djodjo.comm.jus.request.TokenRequest
-
- SERVER_HEADER - Static variable in class org.djodjo.comm.jus.http.HTTP
-
- serverDate - Variable in class org.djodjo.comm.jus.Cache.Entry
-
Date of this response as reported by the server.
- ServerError - Exception in org.djodjo.comm.jus.error
-
Indicates that the server responded with an error response.
- ServerError(Throwable) - Constructor for exception org.djodjo.comm.jus.error.ServerError
-
- ServerError(String, Throwable) - Constructor for exception org.djodjo.comm.jus.error.ServerError
-
- ServerError(String) - Constructor for exception org.djodjo.comm.jus.error.ServerError
-
- ServerError() - Constructor for exception org.djodjo.comm.jus.error.ServerError
-
- ServerError(Request<?>, NetworkResponse) - Constructor for exception org.djodjo.comm.jus.error.ServerError
-
- setCacheEntry(Cache.Entry) - Method in class org.djodjo.comm.jus.Request
-
Annotates this request with an entry retrieved for it from cache.
- setNetworkTimeMs(long) - Method in exception org.djodjo.comm.jus.error.JusError
-
- setRequest(Request<?>) - Method in class org.djodjo.comm.jus.request.RequestFuture
-
- setRequestQueue(RequestQueue) - Method in class org.djodjo.comm.jus.Request
-
Associates this request with the given queue.
- setRetryPolicy(RetryPolicy) - Method in class org.djodjo.comm.jus.Request
-
Sets the retry policy for this request.
- setSequence(int) - Method in class org.djodjo.comm.jus.Request
-
Sets the sequence number of this request.
- setShouldCache(boolean) - Method in class org.djodjo.comm.jus.Request
-
Set whether or not responses to this request should be cached.
- setTag(String) - Static method in class org.djodjo.comm.jus.JusLog
-
Customize the log tag for your application, so that other apps
using Jus don't mix their logs with yours.
- setTag(Object) - Method in class org.djodjo.comm.jus.Request
-
Set a tag on this request.
- shouldCache() - Method in class org.djodjo.comm.jus.Request
-
Returns true if responses to this request should be cached.
- softTtl - Variable in class org.djodjo.comm.jus.Cache.Entry
-
Soft TTL for this record.
- SP - Static variable in class org.djodjo.comm.jus.http.HTTP
-
- start() - Method in class org.djodjo.comm.jus.RequestQueue
-
Starts the dispatchers in this queue.
- statusCode - Variable in class org.djodjo.comm.jus.NetworkResponse
-
The HTTP status code.
- stop() - Method in class org.djodjo.comm.jus.RequestQueue
-
Stops the cache and network dispatchers.
- StringRequest - Class in org.djodjo.comm.jus.request
-
A canned request for retrieving the response body at a given URL as a String.
- StringRequest(int, String, Response.Listener<String>, Response.ErrorListener) - Constructor for class org.djodjo.comm.jus.request.StringRequest
-
Creates a new request with the given method.
- StringRequest(String, Response.Listener<String>, Response.ErrorListener) - Constructor for class org.djodjo.comm.jus.request.StringRequest
-
Creates a new GET request.
- success(T, Cache.Entry) - Static method in class org.djodjo.comm.jus.Response
-
Returns a successful response containing the parsed result.