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.
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}Stringversion=SystemProperty.version.get();
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThis content details several utility classes designed for use within the App Engine environment.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFutureWrapper\u003c/code\u003e is a thread-safe utility class that wraps a parent \u003ccode\u003eFuture\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eHttpRequestParser\u003c/code\u003e and \u003ccode\u003eHttpRequestParser.StaticDataSource\u003c/code\u003e provide tools for parsing \u003ccode\u003emultipart/form-data\u003c/code\u003e HTTP requests.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSystemProperty\u003c/code\u003e allows access to global system properties defined by App Engine, including the current environment and version.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSystemProperty.Environment.Value\u003c/code\u003e enum specifies the different possible values that can be assigned to an Environment.\u003c/p\u003e\n"]]],[],null,["# Package com.google.appengine.api.utils (2.0.0)\n\nProvides common utility classes.\n\nClasses\n-------\n\n### [FutureWrapper\\\u003cK,V\\\u003e](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.utils.FutureWrapper)\n\n`FutureWrapper` is a simple [Future](https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html) that wraps a\nparent `Future`. This class is thread-safe.\n\n### [HttpRequestParser](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.utils.HttpRequestParser)\n\n`HttpRequestParser` encapsulates helper methods used to parse incoming `\nmultipart/form-data` HTTP requests. Subclasses should use these methods to parse specific\nrequests into useful data structures.\n\n### [HttpRequestParser.StaticDataSource](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.utils.HttpRequestParser.StaticDataSource)\n\nA read-only [DataSource](https://docs.oracle.com/javase/8/docs/api/javax/activation/DataSource.html) backed by a content type and a\nfixed byte array.\n\n### [SystemProperty](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.utils.SystemProperty)\n\nGlobal system properties which are set by App Engine.\n\n\nExample code: \n\n\n if (SystemProperty.environment.value() == SystemProperty.Environment.Value.Production) {\n // do something that's production-only\n }\n String version = SystemProperty.version.get();\n \n### [SystemProperty.Environment](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.utils.SystemProperty.Environment)\n\nThe current executing environment. Has the key,\n`\"com.google.appengine.runtime.environment\"`.\nThe set of values are specified by Value.\n\nEnums\n-----\n\n### [SystemProperty.Environment.Value](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.utils.SystemProperty.Environment.Value)\n\nThe set of possible values for Environment."]]