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 anApiProxy.Delegate
object configured to use local services.
-
-
Constructor Summary
Constructors Constructor and Description ApiProxyLocalFactory()
-
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.
-
-
-
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 envapisUsingPythonStubs
- a list of API service names that should use Python stubs. All other API services will use the Java implementationsapplicationName
- the application name to pass to the ApiServer binary- Returns:
- a new local proxy object
-
-