Class LocalHttpRequestEnvironment

java.lang.Object
com.google.appengine.tools.development.LocalEnvironment
com.google.appengine.tools.development.LocalHttpRequestEnvironment
All Implemented Interfaces:
ApiProxy.Environment

public class LocalHttpRequestEnvironment extends LocalEnvironment
LocalHttpRequestEnvironment is a simple LocalEnvironment for use during http request handling. This sets LocalEnvironment.getAttributes() from
  1. Authentication details from the cookie that is maintained by the stub implementation of
    invalid reference
    UserService
  2. The passed in ModulesFilterHelper.
  • Constructor Details

    • LocalHttpRequestEnvironment

      public LocalHttpRequestEnvironment(String appId, String serverName, String majorVersionId, int instance, Integer port, javax.servlet.http.HttpServletRequest request, Long deadlineMillis, ModulesFilterHelper modulesFilterHelper)
  • Method Details

    • isLoggedIn

      public boolean isLoggedIn()
    • getEmail

      public String getEmail()
    • isAdmin

      public boolean isAdmin()