Class ServletEngineAdapter.Config

  • Enclosing interface:
    ServletEngineAdapter

    public abstract static class ServletEngineAdapter.Config
    extends Object
    Options to configure a Jetty HTTP server, forwarding servlet requests to the GAE Java runtime.
    • Constructor Detail

      • Config

        public Config()
    • Method Detail

      • useJettyHttpProxy

        public abstract boolean useJettyHttpProxy()
        Boolean to turn on the Jetty HTTP server. False by default.
      • applicationRoot

        public abstract String 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

        @Nullable
        public abstract String 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

        @Nullable
        public abstract EvaluationRuntimeServerInterface 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-*.