- Cache - Interface in com.threecrickets.prudence.cache
-
An interface for cache backends.
- CACHE_ATTRIBUTE - Static variable in class com.threecrickets.prudence.util.InstanceUtil
-
- CacheControlFilter - Class in com.threecrickets.prudence.util
-
A
Filter
that adds cache control directives to responses.
- CacheControlFilter(Context) - Constructor for class com.threecrickets.prudence.util.CacheControlFilter
-
Construction with a default max age of -1 (meaning: do nothing).
- CacheControlFilter(Context, Restlet) - Constructor for class com.threecrickets.prudence.util.CacheControlFilter
-
Construction with a default max age of -1 (meaning: do nothing).
- CacheControlFilter(Context, int) - Constructor for class com.threecrickets.prudence.util.CacheControlFilter
-
Construction with specific default max age.
- CacheControlFilter(Context, Restlet, int) - Constructor for class com.threecrickets.prudence.util.CacheControlFilter
-
Construction with specific default max age.
- CacheEntry - Class in com.threecrickets.prudence.cache
-
- CacheEntry() - Constructor for class com.threecrickets.prudence.cache.CacheEntry
-
Constructor.
- CacheEntry(CacheEntry, Encoding) - Constructor for class com.threecrickets.prudence.cache.CacheEntry
-
Construction with re-encoding.
- CacheEntry(CacheEntry, String) - Constructor for class com.threecrickets.prudence.cache.CacheEntry
-
Construction with different string.
- CacheEntry(String, MediaType, Language, CharacterSet, Encoding, Series<Header>, Date, Tag, Date, Date) - Constructor for class com.threecrickets.prudence.cache.CacheEntry
-
Constructor.
- CacheEntry(byte[], MediaType, Language, CharacterSet, Encoding, Series<Header>, Date, Tag, Date, Date) - Constructor for class com.threecrickets.prudence.cache.CacheEntry
-
Constructor.
- CacheEntry(String, MediaType, Language, CharacterSet, Encoding, Series<Header>, long, Tag, long, long) - Constructor for class com.threecrickets.prudence.cache.CacheEntry
-
Constructor.
- CacheEntry(byte[], MediaType, Language, CharacterSet, Encoding, Series<Header>, long, Tag, long, long) - Constructor for class com.threecrickets.prudence.cache.CacheEntry
-
Constructor.
- CacheEntry(Representation, Series<Header>, long, Tag, long, long) - Constructor for class com.threecrickets.prudence.cache.CacheEntry
-
Constructor.
- CacheEntry(byte[]) - Constructor for class com.threecrickets.prudence.cache.CacheEntry
-
Deserializing construction.
- CachingServiceBase<R extends ServerResource,A extends com.threecrickets.prudence.internal.attributes.ResourceContextualAttributes,C extends ResourceConversationServiceBase<R>> - Class in com.threecrickets.prudence.service
-
Caching service exposed to executables.
- CachingServiceBase(R, A, DocumentService<A>, C, CachingUtil<R, A>) - Constructor for class com.threecrickets.prudence.service.CachingServiceBase
-
Constructor.
- cachingUtil - Variable in class com.threecrickets.prudence.service.CachingServiceBase
-
The caching utilities.
- cachingUtil - Variable in class com.threecrickets.prudence.service.ResourceDocumentServiceBase
-
Caching utilities;
- call() - Method in class com.threecrickets.prudence.ApplicationTask
-
- call() - Method in class com.threecrickets.prudence.SerializableApplicationTask
-
- CALL_RESOLVER_CONSTRUCTOR - Static variable in class com.threecrickets.prudence.util.ResolvingTemplate
-
Attribute of the call resolver constructor for an
Application
.
- capture(int, String, String) - Method in class com.threecrickets.prudence.DelegatedStatusService
-
Captures (internally redirects) a status code to a URI within an
application.
- capture(String, String) - Method in class com.threecrickets.prudence.PrudenceRouter
-
- capture(String, String, boolean) - Method in class com.threecrickets.prudence.util.CapturingRouter
-
Captures (internally redirects) a URI to a new URI within this router's
application.
- captureAndHide(String, String, boolean) - Method in class com.threecrickets.prudence.PrudenceRouter
-
- captureAndHide(String, String) - Method in class com.threecrickets.prudence.PrudenceRouter
-
- captureBase(String, String, boolean) - Method in class com.threecrickets.prudence.PrudenceRouter
-
- captureBase(String, String) - Method in class com.threecrickets.prudence.PrudenceRouter
-
- CAPTURED_REFERENCE - Static variable in class com.threecrickets.prudence.util.CapturingRedirector
-
- CAPTURED_ROOT_REFERENCE - Static variable in class com.threecrickets.prudence.util.CapturingRedirector
-
- captureOther(String, String, String) - Method in class com.threecrickets.prudence.PrudenceRouter
-
- captureOther(String, String, String, boolean) - Method in class com.threecrickets.prudence.util.CapturingRouter
-
Internally redirects a URI to a new URI within any application installed
in this router's component.
- captureOtherAndHide(String, String, String) - Method in class com.threecrickets.prudence.PrudenceRouter
-
- CaptureWriter - Class in com.threecrickets.prudence.util
-
- CaptureWriter(String) - Constructor for class com.threecrickets.prudence.util.CaptureWriter
-
- CapturingRedirector - Class in com.threecrickets.prudence.util
-
A
Redirector
that keeps track of the captured reference.
- CapturingRedirector(Context, String) - Constructor for class com.threecrickets.prudence.util.CapturingRedirector
-
- CapturingRedirector(Context, String, int) - Constructor for class com.threecrickets.prudence.util.CapturingRedirector
-
Constructor.
- CapturingRoute - Class in com.threecrickets.prudence.util
-
A
Route
that always scores 0.0 for captured requests.
- CapturingRoute(Restlet) - Constructor for class com.threecrickets.prudence.util.CapturingRoute
-
Constructor.
- CapturingRoute(Router, String, Restlet) - Constructor for class com.threecrickets.prudence.util.CapturingRoute
-
Constructor.
- CapturingRoute(Router, Template, Restlet) - Constructor for class com.threecrickets.prudence.util.CapturingRoute
-
Constructor.
- CapturingRouter - Class in com.threecrickets.prudence.util
-
- CapturingRouter(Context) - Constructor for class com.threecrickets.prudence.util.CapturingRouter
-
Constructor.
- ChainCache - Class in com.threecrickets.prudence.cache
-
Allows chaining of caches together in order, where the faster, less reliable
caches are assumed to be before the slower, more reliable caches.
- ChainCache() - Constructor for class com.threecrickets.prudence.cache.ChainCache
-
Constructor.
- ChainCache(Cache...) - Constructor for class com.threecrickets.prudence.cache.ChainCache
-
Constructor.
- Clojure - Class in com.threecrickets.prudence.test
-
- Clojure() - Constructor for class com.threecrickets.prudence.test.Clojure
-
- close() - Method in class com.threecrickets.prudence.util.StackedWriter
-
- codeTask(String, String, Object, int, int, boolean) - Method in class com.threecrickets.prudence.service.ApplicationService
-
Submits or schedules an
ApplicationTask
on the the shared
executor service.
- CollectionUtil - Class in com.threecrickets.prudence.util
-
Utility methods for collections.
- com.threecrickets.prudence - package com.threecrickets.prudence
-
- com.threecrickets.prudence.cache - package com.threecrickets.prudence.cache
-
- com.threecrickets.prudence.service - package com.threecrickets.prudence.service
-
- com.threecrickets.prudence.test - package com.threecrickets.prudence.test
-
- com.threecrickets.prudence.util - package com.threecrickets.prudence.util
-
- COMPONENT_ATTRIBUTE - Static variable in class com.threecrickets.prudence.util.InstanceUtil
-
- compress(InputStream, Encoding, String) - Static method in class com.threecrickets.prudence.util.IoUtil
-
Compresses an input stream into a byte array, without the initial two
- compress(CharSequence, Encoding, String) - Static method in class com.threecrickets.prudence.util.IoUtil
-
Compresses text into a byte array.
- CompressedStringRepresentation - Class in com.threecrickets.prudence.util
-
This is a
ByteArrayRepresentation
that can be constructed using text
and an encoding, which it then compresses into bytes according the encoding.
- CompressedStringRepresentation(CharSequence, Encoding) - Constructor for class com.threecrickets.prudence.util.CompressedStringRepresentation
-
Construction with media type "text/plain" and UTF-8.
- CompressedStringRepresentation(CharSequence, Language, Encoding) - Constructor for class com.threecrickets.prudence.util.CompressedStringRepresentation
-
Construction with media type "text/plain" and UTF-8.
- CompressedStringRepresentation(CharSequence, MediaType, Encoding) - Constructor for class com.threecrickets.prudence.util.CompressedStringRepresentation
-
Construction with UTF-8.
- CompressedStringRepresentation(CharSequence, MediaType, Language, Encoding) - Constructor for class com.threecrickets.prudence.util.CompressedStringRepresentation
-
Construction with UTF-8.
- CompressedStringRepresentation(CharSequence, MediaType, Language, CharacterSet, Encoding) - Constructor for class com.threecrickets.prudence.util.CompressedStringRepresentation
-
- CONVERSATION_STOPPED_ATTRIBUTE - Static variable in exception com.threecrickets.prudence.service.ConversationStoppedException
-
Conversation stopped attribute for a
Request
.
- ConversationCookie - Class in com.threecrickets.prudence.util
-
A modifiable extension of a regular
Cookie
.
- ConversationCookie(Cookie, Series<CookieSetting>) - Constructor for class com.threecrickets.prudence.util.ConversationCookie
-
Construction based on existing cookie.
- ConversationCookie(String, Series<CookieSetting>) - Constructor for class com.threecrickets.prudence.util.ConversationCookie
-
Constructor.
- conversationService - Variable in class com.threecrickets.prudence.service.CachingServiceBase
-
The conversation service.
- ConversationService - Class in com.threecrickets.prudence.service
-
Conversation service exposed to executables.
- ConversationService(int, File) - Constructor for class com.threecrickets.prudence.service.ConversationService
-
Constructor.
- conversationService - Variable in class com.threecrickets.prudence.service.ResourceDocumentServiceBase
-
The conversation service.
- ConversationStoppedException - Exception in com.threecrickets.prudence.service
-
- ConversationStoppedException(Request) - Constructor for exception com.threecrickets.prudence.service.ConversationStoppedException
-
Constructor.
- copyStream(InputStream, OutputStream) - Static method in class com.threecrickets.prudence.util.IoUtil
-
Copies streams.
- CorsFilter - Class in com.threecrickets.prudence.util
-
- CorsFilter() - Constructor for class com.threecrickets.prudence.util.CorsFilter
-
Constructor.
- CorsFilter(Context) - Constructor for class com.threecrickets.prudence.util.CorsFilter
-
Constructor.
- CorsFilter(Context, Restlet) - Constructor for class com.threecrickets.prudence.util.CorsFilter
-
Constructor.
- create() - Static method in class com.threecrickets.prudence.service.ApplicationService
-
Constructor using the current application.
- create(Application) - Static method in class com.threecrickets.prudence.service.ApplicationService
-
Constructor.
- createCookie(String) - Method in class com.threecrickets.prudence.service.ConversationService
-
Returns a new conversation cookie instance if the cookie doesn't exist
yet, or the existing cookie if it does.
- createCookie(String, Series<CookieSetting>, Collection<ConversationCookie>) - Static method in class com.threecrickets.prudence.util.ConversationCookie
-
Returns a new conversation cookie instance if the cookie doesn't exist
yet, or the existing cookie if it does.
- createDebugRepresentation(Status, Request, Response) - Method in class com.threecrickets.prudence.DelegatedStatusService
-
Create a debug representation for a conversation.
- createRoute(String, Restlet, int) - Method in class com.threecrickets.prudence.util.CapturingRouter
-
- createRoute(String, Restlet, int) - Method in class com.threecrickets.prudence.util.ResolvingRouter
-
- CssUnifyMinifyFilter - Class in com.threecrickets.prudence.util
-
A
Filter
that automatically unifies and/or compresses CSS source
files, saving them as a single file.
- CssUnifyMinifyFilter(Context, File, long) - Constructor for class com.threecrickets.prudence.util.CssUnifyMinifyFilter
-
Constructor.
- CssUnifyMinifyFilter(Context, Restlet, File, long) - Constructor for class com.threecrickets.prudence.util.CssUnifyMinifyFilter
-
Constructor.
- CustomAuthenticatorHelper - Class in com.threecrickets.prudence.util
-
Utility class for registering custom Restlet authentication schemes.
- CustomAuthenticatorHelper(ChallengeScheme, boolean, boolean) - Constructor for class com.threecrickets.prudence.util.CustomAuthenticatorHelper
-
Constructor.
- CustomAuthenticatorHelper(String, boolean, boolean) - Constructor for class com.threecrickets.prudence.util.CustomAuthenticatorHelper
-
Constructor.
- CustomEncoder - Class in com.threecrickets.prudence.util
-
An encoder supporting a list of default encodings.
- CustomEncoder(Application) - Constructor for class com.threecrickets.prudence.util.CustomEncoder
-
Constructor that encodes responses.
- CustomEncoder(Application, boolean, boolean) - Constructor for class com.threecrickets.prudence.util.CustomEncoder
-
Constructor.
- CustomEncoder(Context, boolean, boolean, EncoderService) - Constructor for class com.threecrickets.prudence.util.CustomEncoder
-
Constructor.
- CustomEncoderService - Class in com.threecrickets.prudence.util
-
- CustomEncoderService() - Constructor for class com.threecrickets.prudence.util.CustomEncoderService
-