Class ApiProxyLocalFactory

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

public class ApiProxyLocalFactory extends Object
Factory class for an ApiProxy.Delegate object configured to use local services.
  • Constructor Details

    • ApiProxyLocalFactory

      public ApiProxyLocalFactory()
  • Method Details

    • create

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

      public ApiProxyLocal create(LocalServerEnvironment localServerEnvironment, String applicationName)
      Creates a new local proxy that delegates some calls to a Python API server.
      Parameters:
      localServerEnvironment - the local server env
      applicationName - the application name to pass to the ApiServer binary
      Returns:
      a new local proxy object