All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.netflix.governator.guice.jetty.JettyConfig Maven / Gradle / Ivy

The newest version!
package com.netflix.governator.guice.jetty;

public interface JettyConfig {

    int getPort();

    /**
     * @deprecated 2016-10-14 use {@link #getStaticResourceBase()} instead
     *
     * @return The directory where the webapp has the static resources. It can just be a suffix since we'll scan the
     * classpath to find the exact directory name.
     */
    @Deprecated
    String getResourceBase();

    /**
     * @return The directory where the webapp has the static resources. It can just be a suffix since we'll scan the
     * classpath to find the exact directory name.
     */
    default String getStaticResourceBase() { return getResourceBase(); };

    /**
     * @return the web app resource base
     */
    String getWebAppResourceBase();

    /**
     * @return the web app context path
     */
    default String getWebAppContextPath() { return "/"; }

    boolean isUnencryptedSocketEnabled();

    int getRequestHeaderSizeBytes();

    String getBindToHost();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy