
com.netflix.governator.guice.jetty.JettyConfig Maven / Gradle / Ivy
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 "/"; }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy