B C D E G H I K L M N O P R S T V W _
All Classes All Packages
All Classes All Packages
All Classes All Packages
B
- Base64 - Class in net.toddm.comm
-
For maximum compatibility across Java versions and various platforms (such as Android, etc.) this simple class provides base 64 functionality without relying on any external libraries or newer Java features.
- Base64() - Constructor for class net.toddm.comm.Base64
- Builder() - Constructor for class net.toddm.comm.CommManager.Builder
C
- CacheBehavior - Enum in net.toddm.comm
-
An enumeration of caching behaviors supported by the Comm Manager.
- CachedResponseFuture - Class in net.toddm.comm
-
This is a simple no-op
FutureTaskimplementation that simply wraps and returns a cachedResponse. - CachedResponseFuture(Response) - Constructor for class net.toddm.comm.CachedResponseFuture
-
Constructors a
FutureTaskinstance that always immediately returns the given Response. - cancel(int, boolean) - Method in class net.toddm.comm.CommManager
-
Cancels work with the given ID if found, otherwise no-op.
- CANCELLED - net.toddm.comm.Work.Status
-
The
Workinstance has been cancelled - CommException - Exception in net.toddm.comm
-
An exception type thrown by the communications framework.
- CommException() - Constructor for exception net.toddm.comm.CommException
-
See
RuntimeException(). - CommException(String) - Constructor for exception net.toddm.comm.CommException
- CommException(String, Throwable) - Constructor for exception net.toddm.comm.CommException
- CommException(Throwable) - Constructor for exception net.toddm.comm.CommException
- CommManager - Class in net.toddm.comm
-
This is the main work horse of the communications framework.
- CommManager.Builder - Class in net.toddm.comm
-
This is a factory class used for configuring and then creating instances of
CommManager. - COMPLETED - net.toddm.comm.Work.Status
-
The
Workinstance has finished without being cancelled - ConfigurationException - Exception in net.toddm.comm
-
An exception type thrown by configuration providers.
- ConfigurationException() - Constructor for exception net.toddm.comm.ConfigurationException
-
See
RuntimeException(). - ConfigurationException(String) - Constructor for exception net.toddm.comm.ConfigurationException
- ConfigurationException(String, Throwable) - Constructor for exception net.toddm.comm.ConfigurationException
- ConfigurationException(Throwable) - Constructor for exception net.toddm.comm.ConfigurationException
- ConfigurationProvider - Interface in net.toddm.comm
-
Configuration providers implement this interface in order to expose configuration data to the comm framework.
- contains(String) - Method in interface net.toddm.comm.ConfigurationProvider
-
Returns true if a value with the given name exists in the configuration data, false otherwise.
- contains(String) - Method in class net.toddm.comm.MapConfigurationProvider
-
Returns true if a value with the given name exists in the configuration data, false otherwise.
- create() - Method in class net.toddm.comm.CommManager.Builder
-
Creates a new
CommManagerinstance based on the values currently configured on thisCommManager.Builderinstance. - CREATED - net.toddm.comm.Work.Status
-
The
Workinstance has been created, but has not started processing yet
D
- DefaultConfigurationProvider - Class in net.toddm.comm
-
A simple implementation of the
ConfigurationProviderinterface that exposes a set of default configuration values used by the comm framework when a configuration provider is not supplied. - DefaultConfigurationProvider() - Constructor for class net.toddm.comm.DefaultConfigurationProvider
- DefaultPriorityManagmentProvider - Class in net.toddm.comm
-
A simple implementation of
PriorityManagementProviderthat guards against starvation with simple timestamps based priority promotion. - DefaultPriorityManagmentProvider(LoggingProvider) - Constructor for class net.toddm.comm.DefaultPriorityManagmentProvider
-
Returns an instance of
DefaultPriorityManagmentProvider. - DefaultRetryPolicyProvider - Class in net.toddm.comm
-
A simple implementation of
RetryPolicyProviderthat provides basic support for 503 and 202 based retries and error retries for a sub-set of exceptions where attempting the request again later seems to make sense. - DefaultRetryPolicyProvider(LoggingProvider) - Constructor for class net.toddm.comm.DefaultRetryPolicyProvider
-
Returns an instance of
DefaultRetryPolicyProvider. - DELETE - net.toddm.comm.Request.RequestMethod
- DependentWorkListener - Interface in net.toddm.comm
-
This interface is implemented by parties that are providing dependent work via
SubmittableWork.setDependentWork(SubmittableWork, DependentWorkListener). - DO_NOT_CACHE - net.toddm.comm.CacheBehavior
-
Indicates to the Comm Manager that the related data should not be cached.
E
- encode(byte[]) - Static method in class net.toddm.comm.Base64
-
Base 64 encodes the given byte array and returns the resulting string.
- enqueueWork(URI, Request.RequestMethod, byte[], Map<String, String>, boolean, Priority.StartingPriority, CachePriority, CacheBehavior) - Method in class net.toddm.comm.CommManager
-
Enters a request into the communications framework for processing.
- enqueueWork(SubmittableWork) - Method in class net.toddm.comm.CommManager
-
Enters a request into the communications framework for processing.
- equals(Object) - Method in class net.toddm.comm.Request
G
- get() - Method in class net.toddm.comm.CachedResponseFuture
-
Immediately returns the cached
Response. - get() - Method in class net.toddm.comm.NoResponseFuture
-
Immediately returns null.
- get() - Method in interface net.toddm.comm.Work
-
Waits if necessary for the computation to complete, and then retrieves its result.
- get(long, TimeUnit) - Method in class net.toddm.comm.CachedResponseFuture
-
Immediately returns the cached
Response. - get(long, TimeUnit) - Method in class net.toddm.comm.NoResponseFuture
-
Immediately returns null.
- get(long, TimeUnit) - Method in interface net.toddm.comm.Work
-
Waits if necessary for the computation to complete, and then retrieves its result.
- get(String) - Method in interface net.toddm.comm.ConfigurationProvider
-
Returns an
Objectrepresentation of the configuration value with the given name. - get(String) - Method in class net.toddm.comm.MapConfigurationProvider
-
Returns an
Objectrepresentation of the configuration value with the given name. - GET - net.toddm.comm.Request.RequestMethod
-
Standard HTTP GET
- GET_ONLY_FROM_CACHE - net.toddm.comm.CacheBehavior
-
Indicates to the Comm Manager that the related request should not result in a network request and should be serviced only from cache.
- getBoolean(String) - Method in interface net.toddm.comm.ConfigurationProvider
-
Returns a boolean representation of the configuration value with the given name.
- getBoolean(String) - Method in class net.toddm.comm.MapConfigurationProvider
-
Returns a boolean representation of the configuration value with the given name.
- getCachingBehavior() - Method in interface net.toddm.comm.SubmittableWork
-
Returns the caching
CacheBehaviorof thisSubmittableWorkinstance, or null if it had no behavior set. - getCachingPriority() - Method in interface net.toddm.comm.SubmittableWork
-
Returns the caching
CachePriorityof thisSubmittableWorkinstance, or null if it had no priority set. - getContentEncoding(Map<String, List<String>>) - Static method in class net.toddm.comm.Response
-
Returns the value for the 'Content-Encoding' header from the given header collection, or NULL if no value can be resolved.
- getCreatedTimestamp() - Method in class net.toddm.comm.Priority
-
Returns the creation timestamp of this
Priorityinstance in epoch milliseconds. - getETagFromHeaders() - Method in class net.toddm.comm.Response
-
If we are able to resolve an ETag value form the headers of this
Responseinstance then the ETag value is returned, otherwise NULL is returned. - getException() - Method in interface net.toddm.comm.Work
- getHeaders() - Method in class net.toddm.comm.Request
-
Returns the headers of this
Requestinstance or null if there are none. - getHeaders() - Method in class net.toddm.comm.Response
-
The HTTP header values from the response.
- getId() - Method in class net.toddm.comm.Request
-
The ID of this
Request. - getId() - Method in interface net.toddm.comm.SubmittableWork
-
Returns the ID of this
SubmittableWorkinstance. - getInstanceCreationTime() - Method in class net.toddm.comm.Response
-
Returns the epoch timestamp in milliseconds of when this instance of
Responsewas created. - getInt(String) - Method in interface net.toddm.comm.ConfigurationProvider
-
Returns an integer representation of the configuration value with the given name.
- getInt(String) - Method in class net.toddm.comm.MapConfigurationProvider
-
Returns an integer representation of the configuration value with the given name.
- getLastPromotionTimestamp() - Method in class net.toddm.comm.Priority
-
Returns the timestamp of the last priority promotion of this
Priorityinstance in epoch milliseconds. - getLocationFromHeaders(Request) - Method in class net.toddm.comm.Response
- getLong(String) - Method in interface net.toddm.comm.ConfigurationProvider
-
Returns a long representation of the configuration value with the given name.
- getLong(String) - Method in class net.toddm.comm.MapConfigurationProvider
-
Returns a long representation of the configuration value with the given name.
- getMaxStaleFromHeaders() - Method in class net.toddm.comm.Response
-
If we are able to resolve a "max-stale" value form the Cache-Control headers of this
Responseinstance then the value is returned, otherwise NULL is returned. - getMethod() - Method in class net.toddm.comm.Request
-
Returns the HTTP method of this
Requestinstance. - getPostData() - Method in class net.toddm.comm.Request
-
Returns the POST data of this
Requestinstance or null if there is no POST data. - getPriorityComparator() - Method in class net.toddm.comm.DefaultPriorityManagmentProvider
-
Returns a
Comparatorthat will be used to control priority order and thus effect the order in which work is attempted. - getPriorityComparator() - Method in interface net.toddm.comm.PriorityManagementProvider
-
Returns a
Comparatorthat will be used to control priority order and thus effect the order in which work is attempted. - getPriorityValue() - Method in enum net.toddm.comm.Priority.StartingPriority
-
Returns the integer value of the this Priority instance
- getRedirectCount() - Method in class net.toddm.comm.Request
-
Returns the total number of times
Request.redirect(URI)has been called on thisRequestinstance. - getRequest() - Method in interface net.toddm.comm.SubmittableWork
-
Returns the
Requestinstance associated with thisSubmittableWorkinstance. - getRequestId() - Method in class net.toddm.comm.Response
- getRequestPriority() - Method in interface net.toddm.comm.SubmittableWork
-
Returns the request
Priorityof thisSubmittableWorkinstance. - getResponseBody() - Method in class net.toddm.comm.Response
-
Returns the response body of this response as a String, or null if there is no response body or the response body bytes can not be interpreted as a UTF-8 string.
- getResponseBytes() - Method in class net.toddm.comm.Response
-
Returns the response body of this response as raw bytes, or null if there is no response body.
- getResponseCode() - Method in class net.toddm.comm.Response
-
Returns the HTTP Status Code for this response, or null if there isn't one.
- getResponseTimeMilliseconds() - Method in class net.toddm.comm.Response
-
Returns the total amount of time, in milliseconds, that it took to get this response from the time it started processing.
- getRetryAfter() - Method in class net.toddm.comm.Response
-
If we are able to resolve a Retry-After value form the headers of this
Responseinstance then the Retry-After value is returned, otherwise NULL is returned. - getRetryAfterMilliseconds() - Method in class net.toddm.comm.RetryProfile
-
Returns the number of milliseconds that it is recommended to wait before retrying a
Request. - getRetryCountFromFailure() - Method in class net.toddm.comm.Request
-
Returns the total number of times this request has been retried due to a failure (socket timeout, etc.).
- getRetryCountFromResponse() - Method in class net.toddm.comm.Request
-
Returns the total number of times this request has been retried due to a response (503 response code, etc.).
- getStartingValue() - Method in class net.toddm.comm.Priority
-
Returns the
Priority.StartingPrioritythat this instance started with. - getState() - Method in interface net.toddm.comm.Work
-
Returns the current state of this
Workinstance - getString(String) - Method in interface net.toddm.comm.ConfigurationProvider
-
Returns a
Stringrepresentation of the configuration value with the given name. - getString(String) - Method in class net.toddm.comm.MapConfigurationProvider
-
Returns a
Stringrepresentation of the configuration value with the given name. - getTtlFromHeaders() - Method in class net.toddm.comm.Response
-
If we are able to resolve a TTL value form the Cache-Control headers ("max-age") of this
Responseinstance then the TTL value is returned, otherwise NULL is returned. - getUri() - Method in class net.toddm.comm.Request
-
Returns the most recent URI to be used for this
Requestinstance. - getValue() - Method in class net.toddm.comm.Priority
-
Returns the current priority value of this instance.
- getWork() - Method in class net.toddm.comm.Priority
- getWork(URI, Request.RequestMethod, byte[], Map<String, String>, boolean, Priority.StartingPriority, CachePriority, CacheBehavior) - Method in class net.toddm.comm.CommManager
-
Creates and returns a
Workinstance representing the request described by the provided data.
H
- hashCode() - Method in class net.toddm.comm.Request
-
The hash code of this
Request. - HIGH - net.toddm.comm.Priority.StartingPriority
-
Work with this priority level will be done before any other pending work.
I
- incrementRetryCountFromFailure() - Method in class net.toddm.comm.Request
-
Increments the count of the total number of times this request has been retried due to a failure (socket timeout, etc.).
- incrementRetryCountFromResponse() - Method in class net.toddm.comm.Request
-
Increments the count of the total number of times this request has been retried due to a response (503 response code, etc.).
- invalidateCache(int) - Method in class net.toddm.comm.CommManager
-
If a cache entry exists for the given work ID it's TTL is updated to 0 making the entry stale.
- isCancelled() - Method in class net.toddm.comm.CachedResponseFuture
-
Always returns FALSE.
- isCancelled() - Method in class net.toddm.comm.NoResponseFuture
-
Always returns FALSE.
- isCancelled() - Method in interface net.toddm.comm.Work
-
Returns true if this work was cancelled before it completed normally.
- isDone() - Method in class net.toddm.comm.CachedResponseFuture
-
Always returns TRUE.
- isDone() - Method in class net.toddm.comm.NoResponseFuture
-
Always returns TRUE.
- isDone() - Method in interface net.toddm.comm.Work
-
Returns true if this work completed.
- isFromCache() - Method in class net.toddm.comm.Response
-
Returns true if this
Responsewas served from cache. - isIdempotent() - Method in class net.toddm.comm.Request
-
Returns a flag indicating if this request is considered to be an idempotent request.
- isSuccessful() - Method in class net.toddm.comm.Response
-
Returns true if this
Responseinstance has an HTTP response code that we consider to indicate "success".
K
- KeyConnectTimeoutMilliseconds - Static variable in class net.toddm.comm.DefaultConfigurationProvider
-
The value mapped to this key defines the timeout value when waiting for connections to be established.
- KeyDisableSSLCertChecking - Static variable in class net.toddm.comm.DefaultConfigurationProvider
-
If set to true invalid SSL certificates are accepted.
- KeyMaxSimultaneousRequests - Static variable in class net.toddm.comm.DefaultConfigurationProvider
-
The value mapped to this key defines the maximum number of simultaneous requests that the comm framework will attempt to process at the same time.
- KeyReadTimeoutMilliseconds - Static variable in class net.toddm.comm.DefaultConfigurationProvider
-
The value mapped to this key defines the timeout value when waiting for read responses.
- KeyRedirectLimit - Static variable in class net.toddm.comm.DefaultConfigurationProvider
-
The value mapped to this key defines the maximum number of unique redirects a request can result in before giving up.
- KeyUseBuiltInHttpURLConnectionRedirectionSupport - Static variable in class net.toddm.comm.DefaultConfigurationProvider
-
The Comm Framework provides support for request redirection based on response (301, 302, 303).
L
- LOW - net.toddm.comm.Priority.StartingPriority
-
Work with this priority level will be done after any other pending work.
M
- MapConfigurationProvider - Class in net.toddm.comm
-
A simple implementation of the
ConfigurationProviderinterface that backs configuration data with an in-memory hash map. - MapConfigurationProvider(Map<String, Object>) - Constructor for class net.toddm.comm.MapConfigurationProvider
- MEDIUM - net.toddm.comm.Priority.StartingPriority
-
In general, unless you are sure that your work merits special priority, this is the default priority to use when submitting work.
N
- net.toddm.comm - package net.toddm.comm
-
The root package of the Comm Framework.
- net.toddm.comm.tests - package net.toddm.comm.tests
- NoResponseFuture - Class in net.toddm.comm
-
This is a simple no-op
FutureTaskimplementation that simply returns a nullResponse. - NoResponseFuture() - Constructor for class net.toddm.comm.NoResponseFuture
-
Constructors a
FutureTaskinstance that always immediately returns null. - NORMAL - net.toddm.comm.CacheBehavior
-
Indicates to the Comm Manager that normal caching behavior should be used.
O
- onDependentWorkCompleted(Work, Work) - Method in interface net.toddm.comm.DependentWorkListener
-
This is called when processing for the relevant dependent
Workcompletes.
P
- POST - net.toddm.comm.Request.RequestMethod
-
Standard HTTP POST
- Priority - Class in net.toddm.comm
-
A class that represents a priority for a unit of
Workbeing managed by an instance ofCommManager. - Priority(Work, Priority.StartingPriority) - Constructor for class net.toddm.comm.Priority
-
Constructs an instance of
Priority - Priority.StartingPriority - Enum in net.toddm.comm
-
An enumeration of priority levels that calling code can claim for their
Workinstances - PriorityManagementProvider - Interface in net.toddm.comm
-
Priority management providers implement this interface in order to control priority queue functionality such as priority promotion and priority queue sorting.
- promotePriority(Priority) - Method in class net.toddm.comm.DefaultPriorityManagmentProvider
-
Decides if the given instance of
Priorityshould be adjusted and makes the adjustment if it should.
Note:CommManagerwill call this method each time it is deciding if work should begin, implement accordingly. - promotePriority(Priority) - Method in interface net.toddm.comm.PriorityManagementProvider
-
Decides if the given instance of
Priorityshould be adjusted and makes the adjustment if it should.
Note:CommManagerwill call this method each time it is deciding if work should begin, implement accordingly. - purgeCache() - Method in class net.toddm.comm.CommManager
-
Deletes ALL response cache entries.
- purgeCache(int) - Method in class net.toddm.comm.CommManager
-
If a cache entry exists for the given work ID it is deleted.
R
- redirect(URI) - Method in class net.toddm.comm.Request
-
If the given URI has never been visited before for this
Requestinstance this method updates the URI end-point of this request to the given new location and returns true. - REDIRECTING - net.toddm.comm.Work.Status
-
There is a pending redirect attempt for the
Workinstance - Request - Class in net.toddm.comm
-
Represents a network request being managed by the Comm Framework.
- Request(URI, Request.RequestMethod, byte[], Map<String, String>, boolean) - Constructor for class net.toddm.comm.Request
-
Creates an instance of
Request. - Request.RequestMethod - Enum in net.toddm.comm
-
HTTP request methods supported by the comm framework.
- Response - Class in net.toddm.comm
-
Represents a response resulting from an attempt to process a
Requestinstance. - Response(byte[], Map<String, List<String>>, int, int, int, LoggingProvider) - Constructor for class net.toddm.comm.Response
- RETRYING - net.toddm.comm.Work.Status
-
There is a pending retry attempt for the
Workinstance - RetryPolicyProvider - Interface in net.toddm.comm
-
Retry policy providers implement this interface in order to control retry behavior such as if and when a request should be retried after a network failure, retry frequencies and limits, etc.
- RetryProfile - Class in net.toddm.comm
-
Returned by
RetryPolicyProviderimplementers to describe needed retry work (indicate if a retry should be attempted and how long to wait). - RetryProfile(boolean, long) - Constructor for class net.toddm.comm.RetryProfile
-
Constructs an instance of
RetryProfilewith the given values. - run() - Method in class net.toddm.comm.CachedResponseFuture
-
Does nothing.
- run() - Method in class net.toddm.comm.NoResponseFuture
-
Does nothing.
- RUNNING - net.toddm.comm.Work.Status
-
The
Workinstance is actively being processed
S
- SERVER_DIRECTED_CACHE - net.toddm.comm.CacheBehavior
-
Indicates to the Comm Manager that the related data should only be cached if there are response headers defining cache behavior.
- setCacheProvider(CacheProvider) - Method in class net.toddm.comm.CommManager.Builder
-
Sets the
CacheProviderinstance used by the comm framework for caching results. - setConfigurationProvider(ConfigurationProvider) - Method in class net.toddm.comm.CommManager.Builder
-
Sets the
ConfigurationProviderinstance used by the comm framework for getting configuration data. - setDependentWork(SubmittableWork, DependentWorkListener) - Method in interface net.toddm.comm.SubmittableWork
-
Causes this
SubmittableWorkto be dependent on the provided Work. - setLoggingProvider(LoggingProvider) - Method in class net.toddm.comm.CommManager.Builder
-
Sets the
LoggingProviderinstance used by the comm framework for logging. - setName(String) - Method in class net.toddm.comm.CommManager.Builder
-
Sets a name used to tag the main processing thread of
CommManagerinstances subsequently created viaCommManager.Builder.create(). - setPriorityManagmentProvider(PriorityManagementProvider) - Method in class net.toddm.comm.CommManager.Builder
-
Sets the
PriorityManagementProviderinstance used by the comm framework for work priority queue management. - setRetryPolicyProvider(RetryPolicyProvider) - Method in class net.toddm.comm.CommManager.Builder
-
Sets the
RetryPolicyProviderinstance used by the comm framework when deciding if requests should be enqueued for retry. - shouldNotCacheDueToNoCacheDirective() - Method in class net.toddm.comm.Response
-
If the Cache-Control headers of this
Responseinstance contain the "no-cache" directive true is returned, otherwise false is returned. - shouldRetry() - Method in class net.toddm.comm.RetryProfile
-
Returns a flag indicating if it is recommended to retry a
Request. - shouldRetry(Work, Exception) - Method in class net.toddm.comm.DefaultRetryPolicyProvider
-
Called by the
CommManagerwhen network request work results in an exception. - shouldRetry(Work, Exception) - Method in interface net.toddm.comm.RetryPolicyProvider
-
Called by the
CommManagerwhen network request work results in an exception. - shouldRetry(Work, Response) - Method in class net.toddm.comm.DefaultRetryPolicyProvider
-
Called by the
CommManagerwhen network request work results in a response back from the remote resource. - shouldRetry(Work, Response) - Method in interface net.toddm.comm.RetryPolicyProvider
-
Called by the
CommManagerwhen network request work results in a response back from the remote resource. - SubmittableWork - Interface in net.toddm.comm
-
An interface implemented by the Comm Framework to publicly express units of work that can be submitted for processing.
T
- test202Handling() - Method in class net.toddm.comm.tests.TestDefaultRetryPolicyProvider
-
Use http://httpbin.org/ to simulate specific response shapes for testing
- test304Responses() - Method in class net.toddm.comm.tests.TestResponse
- test503Handling() - Method in class net.toddm.comm.tests.TestDefaultRetryPolicyProvider
-
Use http://httpbin.org/ to simulate specific response shapes for testing
- testBadCert() - Method in class net.toddm.comm.tests.TestSSL
- TestBase64 - Class in net.toddm.comm.tests
- TestBase64() - Constructor for class net.toddm.comm.tests.TestBase64
- TestConfigurationProvider - Class in net.toddm.comm.tests
- TestConfigurationProvider() - Constructor for class net.toddm.comm.tests.TestConfigurationProvider
- TestDefaultPriorityManagmentProvider - Class in net.toddm.comm.tests
- TestDefaultPriorityManagmentProvider() - Constructor for class net.toddm.comm.tests.TestDefaultPriorityManagmentProvider
- TestDefaultRetryPolicyProvider - Class in net.toddm.comm.tests
- TestDefaultRetryPolicyProvider() - Constructor for class net.toddm.comm.tests.TestDefaultRetryPolicyProvider
- testDependentWorkCallbackAllowsCurrentWork() - Method in class net.toddm.comm.tests.TestWork
- testDependentWorkCallbackCancelsCurrentWork() - Method in class net.toddm.comm.tests.TestWork
- testDoNotCachePreventsCaching() - Method in class net.toddm.comm.tests.TestRequest
- testEncodeComplex() - Method in class net.toddm.comm.tests.TestBase64
- testEncodeSimple() - Method in class net.toddm.comm.tests.TestBase64
- testGetETagFromHeaders() - Method in class net.toddm.comm.tests.TestResponse
- testGetException() - Method in class net.toddm.comm.tests.TestWork
- testGetLocationFromHeadersAbsolute() - Method in class net.toddm.comm.tests.TestResponse
- testGetLocationFromHeadersRelative() - Method in class net.toddm.comm.tests.TestResponse
- testGetMaxStaleFromHeaders() - Method in class net.toddm.comm.tests.TestResponse
- testGetOnlyFromCache() - Method in class net.toddm.comm.tests.TestRequest
- testGetRetryAfterHTTPDateInTheFuture() - Method in class net.toddm.comm.tests.TestResponse
- testGetRetryAfterHTTPDateInThePast() - Method in class net.toddm.comm.tests.TestResponse
- testGetRetryAfterSeconds() - Method in class net.toddm.comm.tests.TestResponse
- testGetTtlFromHeaders() - Method in class net.toddm.comm.tests.TestResponse
- testGoodCert() - Method in class net.toddm.comm.tests.TestSSL
- TestGZIP - Class in net.toddm.comm.tests
- TestGZIP() - Constructor for class net.toddm.comm.tests.TestGZIP
- testGZIPResponse() - Method in class net.toddm.comm.tests.TestGZIP
- testInvalidateCache() - Method in class net.toddm.comm.tests.TestResponse
- testMapConfigurationProvider() - Method in class net.toddm.comm.tests.TestConfigurationProvider
- testMaxStaleBehavior() - Method in class net.toddm.comm.tests.TestRequest
- testNoCachePreventsCaching() - Method in class net.toddm.comm.tests.TestRequest
- testPriorityComparator() - Method in class net.toddm.comm.tests.TestDefaultPriorityManagmentProvider
- testPromotePriority() - Method in class net.toddm.comm.tests.TestDefaultPriorityManagmentProvider
- testPurgeCache() - Method in class net.toddm.comm.tests.TestResponse
- testRequest() - Method in class net.toddm.comm.tests.TestRequest
- TestRequest - Class in net.toddm.comm.tests
- TestRequest() - Constructor for class net.toddm.comm.tests.TestRequest
- testRequestCachingHeaders() - Method in class net.toddm.comm.tests.TestRequest
- testRequestCanceling() - Method in class net.toddm.comm.tests.TestRequest
- testRequestEquality() - Method in class net.toddm.comm.tests.TestRequest
- testRequestRedirectAbsolute() - Method in class net.toddm.comm.tests.TestRequest
- testRequestRedirectRelative() - Method in class net.toddm.comm.tests.TestRequest
- testRequestWithCaching() - Method in class net.toddm.comm.tests.TestRequest
- testRequestWithHeaders() - Method in class net.toddm.comm.tests.TestRequest
- TestResponse - Class in net.toddm.comm.tests
- TestResponse() - Constructor for class net.toddm.comm.tests.TestResponse
- testServerDirectedCache() - Method in class net.toddm.comm.tests.TestRequest
- testSetDependentWorkCyclicDependence() - Method in class net.toddm.comm.tests.TestWork
- testShouldNotCacheDueToNoCacheDirective() - Method in class net.toddm.comm.tests.TestResponse
- testShouldRetryOnError() - Method in class net.toddm.comm.tests.TestDefaultRetryPolicyProvider
- testShouldRetryOnResponse() - Method in class net.toddm.comm.tests.TestDefaultRetryPolicyProvider
- TestSSL - Class in net.toddm.comm.tests
- TestSSL() - Constructor for class net.toddm.comm.tests.TestSSL
- TestWork - Class in net.toddm.comm.tests
- TestWork() - Constructor for class net.toddm.comm.tests.TestWork
V
- validateInvalidateCache(CacheProvider) - Static method in class net.toddm.comm.tests.TestResponse
- validatePurgeCache(CacheProvider) - Static method in class net.toddm.comm.tests.TestResponse
- ValueConnectTimeoutMilliseconds - Static variable in class net.toddm.comm.DefaultConfigurationProvider
-
The default value for the timeout value when waiting for connections to be established.
- ValueDisableSSLCertChecking - Static variable in class net.toddm.comm.DefaultConfigurationProvider
-
The default value for if invalid SSL certificates are accepted.
- ValueMaxSimultaneousRequests - Static variable in class net.toddm.comm.DefaultConfigurationProvider
-
The default value for the maximum number of simultaneous requests that the comm framework will attempt to process at the same time.
- valueOf(String) - Static method in enum net.toddm.comm.CacheBehavior
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.toddm.comm.Priority.StartingPriority
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.toddm.comm.Request.RequestMethod
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.toddm.comm.Work.Status
-
Returns the enum constant of this type with the specified name.
- ValueReadTimeoutMilliseconds - Static variable in class net.toddm.comm.DefaultConfigurationProvider
-
The default value for the timeout value when waiting for read responses.
- ValueRedirectLimit - Static variable in class net.toddm.comm.DefaultConfigurationProvider
-
The default value for the maximum number of unique redirects a request can result in before giving up.
- values() - Static method in enum net.toddm.comm.CacheBehavior
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.toddm.comm.Priority.StartingPriority
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.toddm.comm.Request.RequestMethod
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.toddm.comm.Work.Status
-
Returns an array containing the constants of this enum type, in the order they are declared.
- ValueUseBuiltInHttpURLConnectionRedirectionSupport - Static variable in class net.toddm.comm.DefaultConfigurationProvider
-
The default value for what request redirection support to use.
W
- WAITING - net.toddm.comm.Work.Status
-
The
Workinstance is waiting in the pending work queue - Work - Interface in net.toddm.comm
-
An interface implemented by the Comm Framework to publicly express units of work that are being managed by the framework.
- Work.Status - Enum in net.toddm.comm
-
An set of possible states that work can be in
_
- _lastPromotionTimestamp - Variable in class net.toddm.comm.Priority
- _priority - Variable in class net.toddm.comm.Priority
All Classes All Packages