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
    default String getResourceBase() { return getStaticResourceBase(); };

    /**
     * @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.
     */
    String getStaticResourceBase();

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

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

@@ -372,32 +372,24 @@
 recated%0A    
-default 
 String getRe
@@ -404,44 +404,8 @@
 se()
- %7B return getStaticResourceBase(); %7D
 ;%0A%0A 
@@ -583,32 +583,40 @@
 me.%0A     */%0A    
+default 
 String getStatic
@@ -621,32 +621,62 @@
 icResourceBase()
+ %7B return getResourceBase(); %7D
 ;%0A%0A    /**%0A     

switch interface defaults to be safer for overrides