ApiProxyLocalFactory

com.google.appengine.tools.development

Class ApiProxyLocalFactory

  • java.lang.Object
    • com.google.appengine.tools.development.ApiProxyLocalFactory


  • public class ApiProxyLocalFactory
    extends java.lang.Object
    Factory class for an ApiProxy.Delegate object configured to use local services.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      ApiProxyLocal create(com.google.appengine.tools.development.LocalServerEnvironment localServerEnvironment)
      Creates a new local proxy.
      ApiProxyLocal create(com.google.appengine.tools.development.LocalServerEnvironment localServerEnvironment, java.util.Set<java.lang.String> apisUsingPythonStubs, java.lang.String applicationName)
      Creates a new local proxy that delegates some calls to a Python API server.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ApiProxyLocalFactory

        public ApiProxyLocalFactory()
    • Method Detail

      • create

        public ApiProxyLocal create(com.google.appengine.tools.development.LocalServerEnvironment localServerEnvironment)
        Creates a new local proxy.
        Parameters:
        localServerEnvironment - the local server env
        Returns:
        a new local proxy object
      • create

        public ApiProxyLocal create(com.google.appengine.tools.development.LocalServerEnvironment localServerEnvironment,
                                    java.util.Set<java.lang.String> apisUsingPythonStubs,
                                    java.lang.String applicationName)
        Creates a new local proxy that delegates some calls to a Python API server.
        Parameters:
        localServerEnvironment - the local server env
        apisUsingPythonStubs - a list of API service names that should use Python stubs. All other API services will use the Java implementations
        applicationName - the application name to pass to the ApiServer binary
        Returns:
        a new local proxy object