Java 8 has reached end of support
and will be
deprecated
on January 31, 2026. After deprecation, you won't be able to deploy Java 8
applications, even if your organization previously used an organization policy to
re-enable deployments of legacy runtimes. Your existing Java
8 applications will continue to run and receive traffic after their
deprecation date. We recommend that
you
migrate to the latest supported version of Java.
com.google.apphosting.api (Google App Engine API for Java)
Stay organized with collections
Save and categorize content based on your preferences.
-
Interface Summary
Interface |
Description |
ApiProxy.ApiResultFuture<T> |
A subtype of Future that provides more detailed
information about the timing and resource consumption of
particular API calls.
|
ApiProxy.Delegate<E extends ApiProxy.Environment> |
This interface can be used to provide a class that actually
implements API calls.
|
ApiProxy.Environment |
Environment is a simple data container that provides additional
information about the current request (e.g.
|
ApiProxy.EnvironmentFactory |
Used to create an Environment object to use if no thread local Environment is set.
|
-
Class Summary
Class |
Description |
ApiProxy |
ApiProxy is a static class that serves as the collection point for
all API calls from user code into the application server.
|
ApiProxy.ApiConfig |
ApiConfig encapsulates one or more configuration
parameters scoped to an individual API call.
|
ApiProxy.LogRecord |
LogRecord represents a single apphosting log entry,
including a Java-specific logging level, a timestamp in
microseconds, and a message, which is a formatted string containing the
rest of the logging information (e.g.
|
-
-
Package com.google.apphosting.api Description
Provides access to the ApiProxy, which dispatches API calls to
backend services.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-16 UTC.
[[["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-06-16 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ecom.google.apphosting.api\u003c/code\u003e package facilitates communication with backend services via the \u003ccode\u003eApiProxy\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eApiProxy\u003c/code\u003e serves as the central point for all API calls from user code to the application server.\u003c/p\u003e\n"],["\u003cp\u003eThe package includes interfaces like \u003ccode\u003eApiProxy.Delegate\u003c/code\u003e and \u003ccode\u003eApiProxy.Environment\u003c/code\u003e, used for implementing and providing context for API calls.\u003c/p\u003e\n"],["\u003cp\u003eThe package also has the \u003ccode\u003eApiProxy.LogRecord\u003c/code\u003e class which is for logging, encapsulating log entries with details like logging level, timestamps, and formatted messages.\u003c/p\u003e\n"],["\u003cp\u003eSeveral exceptions are defined within the package, such as \u003ccode\u003eApiDeadlineExceededException\u003c/code\u003e and \u003ccode\u003eDeadlineExceededException\u003c/code\u003e, to handle various error conditions related to API calls.\u003c/p\u003e\n"]]],[],null,["# com.google.apphosting.api (Google App Engine API for Java)\n\nPackage com.google.apphosting.api\n=================================\n\nProvides access to the ApiProxy, which dispatches API calls to backend services.\n\nSee: [Description](#package.description) \n-\n\n-\n\n-\n\n-\n\n\nPackage com.google.apphosting.api Description\n---------------------------------------------\n\nProvides access to the ApiProxy, which dispatches API calls to backend services."]]