Skip to content

Commit 461f675

Browse files
committed
No public description
PiperOrigin-RevId: 931625354 Change-Id: Ie66e6b11e6449341ac354e60de47e412110461df
1 parent 83e468a commit 461f675

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

  • runtime/local_jetty9/src/main/java/com/google/appengine/tools/development/jetty9

‎runtime/local_jetty9/src/main/java/com/google/appengine/tools/development/jetty9/StaticFileUtils.java‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,27 +26,26 @@
2626
import java.util.regex.Matcher;
2727
import java.util.regex.Pattern;
2828
import javax.servlet.RequestDispatcher;
29+
import javax.servlet.ServletContext;
2930
import javax.servlet.ServletException;
3031
import javax.servlet.http.HttpServletRequest;
3132
import javax.servlet.http.HttpServletResponse;
3233
import org.eclipse.jetty.http.HttpHeader;
3334
import org.eclipse.jetty.http.HttpMethod;
3435
import org.eclipse.jetty.io.WriterOutputStream;
35-
import org.eclipse.jetty.server.handler.ContextHandler;
3636
import org.eclipse.jetty.util.URIUtil;
3737
import org.eclipse.jetty.util.resource.Resource;
3838

3939
/**
40-
* {@code StaticFileUtils} is a collection of utilities shared by
41-
* {@link LocalResourceFileServlet} and {@link StaticFileFilter}.
42-
*
40+
* {@code StaticFileUtils} is a collection of utilities shared by {@link LocalResourceFileServlet}
41+
* and {@link StaticFileFilter}.
4342
*/
4443
public class StaticFileUtils {
4544
private static final String DEFAULT_CACHE_CONTROL_VALUE = "public, max-age=600";
4645

47-
private final ContextHandler.Context servletContext;
46+
private final ServletContext servletContext;
4847

49-
public StaticFileUtils(ContextHandler.Context servletContext) {
48+
public StaticFileUtils(ServletContext servletContext) {
5049
this.servletContext = servletContext;
5150
}
5251

0 commit comments

Comments
 (0)