Class LocalHttpRequestEnvironment
java.lang.Object
com.google.appengine.tools.development.LocalEnvironment
com.google.appengine.tools.development.jakarta.LocalHttpRequestEnvironment
- All Implemented Interfaces:
ApiProxy.Environment
LocalHttpRequestEnvironment is a simple LocalEnvironment for
use during http request handling.
This sets LocalEnvironment.getAttributes() from
- Authentication details from the cookie that is maintained
by the stub implementation of
invalid reference
UserService - The passed in
ModulesFilterHelper.
-
Field Summary
Fields inherited from class com.google.appengine.tools.development.LocalEnvironment
API_CALL_SEMAPHORE, DEFAULT_VERSION_HOSTNAME, HTTP_SERVLET_REQUEST, INSTANCE_ID_ENV_ATTRIBUTE, MAIN_INSTANCE, PORT_ID_ENV_ATTRIBUTE, REQUEST_END_LISTENERS, REQUEST_ID, START_TIME_ATTR, TESTING_DEFAULT_PORT -
Constructor Summary
ConstructorsConstructorDescriptionLocalHttpRequestEnvironment(String appId, String serverName, String majorVersionId, int instance, Integer port, jakarta.servlet.http.HttpServletRequest request, Long deadlineMillis, ModulesFilterHelper modulesFilterHelper) -
Method Summary
Methods inherited from class com.google.appengine.tools.development.LocalEnvironment
callRequestEndListeners, getAppId, getAttributes, getAuthDomain, getMajorVersion, getModuleId, getRemainingMillis, getRequestNamespace, getVersionId, setInstance, setPort
-
Constructor Details
-
LocalHttpRequestEnvironment
-
-
Method Details
-
isLoggedIn
public boolean isLoggedIn() -
getEmail
-
isAdmin
public boolean isAdmin()
-