Provides common utility classes.
Classes
FutureWrapper<K,V>
FutureWrapper
is a simple Future that wraps a
parent Future
. This class is thread-safe.
HttpRequestParser
HttpRequestParser
encapsulates helper methods used to parse incoming
multipart/form-data
HTTP requests. Subclasses should use these methods to parse specific
requests into useful data structures.
HttpRequestParser.StaticDataSource
A read-only DataSource backed by a content type and a fixed byte array.
SystemProperty
Global system properties which are set by App Engine.
Example code:
if (SystemProperty.environment.value() == SystemProperty.Environment.Value.Production) {
// do something that's production-only
}
String version = SystemProperty.version.get();
SystemProperty.Environment
The current executing environment. Has the key,
"com.google.appengine.runtime.environment"
.
The set of values are specified by Value.
Enums
SystemProperty.Environment.Value
The set of possible values for Environment.