Package com.google.apphosting.runtime
Class ServletEngineAdapter.Config
java.lang.Object
com.google.apphosting.runtime.ServletEngineAdapter.Config
- Enclosing interface:
- ServletEngineAdapter
Options to configure a Jetty HTTP server, forwarding servlet requests to the GAE Java runtime.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder forConfiginstances. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract StringBase root area for a given application.builder()Returns anConfig.Builder.abstract EvaluationRuntimeServerInterfaceA local server that can be called directly to satisfy EvaluationRuntime requests.abstract StringFixed path to use for the application root directory, irrespective of the application id and version.abstract com.google.common.net.HostAndPortHost and port used by the Jetty HTTP server.abstract intJetty server's max size for HTTP request headers.abstract intJetty server's max size for HTTP response headers.abstract booleanWhether to set SO_REUSEPORT on the Jetty HTTP port.abstract booleanWhether to pass through all headers to the web app, including X-AppEngine-*.abstract booleanBoolean to turn on the Jetty HTTP server.
-
Constructor Details
-
Config
public Config()
-
-
Method Details
-
useJettyHttpProxy
public abstract boolean useJettyHttpProxy()Boolean to turn on the Jetty HTTP server. False by default. -
applicationRoot
Base root area for a given application. The exploded web app can be located under the appId/appVersion directory, to be fully compatible with GAE, or given as a Java runtime flag. -
fixedApplicationPath
Fixed path to use for the application root directory, irrespective of the application id and version. Ignored if not specified. -
jettyHttpAddress
public abstract com.google.common.net.HostAndPort jettyHttpAddress()Host and port used by the Jetty HTTP server. Defaults to [::]:8080. -
jettyReusePort
public abstract boolean jettyReusePort()Whether to set SO_REUSEPORT on the Jetty HTTP port. -
jettyRequestHeaderSize
public abstract int jettyRequestHeaderSize()Jetty server's max size for HTTP request headers. Defaults to 16384. -
jettyResponseHeaderSize
public abstract int jettyResponseHeaderSize()Jetty server's max size for HTTP response headers. Defaults to 16384. -
evaluationRuntimeServerInterface
A local server that can be called directly to satisfy EvaluationRuntime requests. -
passThroughPrivateHeaders
public abstract boolean passThroughPrivateHeaders()Whether to pass through all headers to the web app, including X-AppEngine-*. -
builder
Returns anConfig.Builder.
-