public class JettyHttpProxy extends Object
When used as a Docker Titanium image, you can create the image via a Dockerfile like:
FROM gcr.io/gae-gcp/java8-runtime-http-proxy # for now s~ is needed for API calls. ENV GAE_APPLICATION s~myapp ENV GAE_VERSION myversion ADD . /appdata/s~myapp/myversion
| Modifier and Type | Class and Description |
|---|---|
static class |
JettyHttpProxy.ForwardingHandler
Handler to stub out the frontend server.
|
| Modifier and Type | Method and Description |
|---|---|
static org.eclipse.jetty.server.Server |
newServer(ServletEngineAdapter.Config runtimeOptions,
JettyHttpProxy.ForwardingHandler handler) |
static void |
startServer(ServletEngineAdapter.Config runtimeOptions)
Based on the adapter configuration, this will start a new Jetty server in charge of proxying
HTTP requests to the App Engine Java runtime.
|
public static void startServer(ServletEngineAdapter.Config runtimeOptions)
public static org.eclipse.jetty.server.Server newServer(ServletEngineAdapter.Config runtimeOptions, JettyHttpProxy.ForwardingHandler handler)
Copyright © 2022. All rights reserved.