File tree Expand file tree Collapse file tree
runtime/local_jetty9/src/main/java/com/google/appengine/tools/development/jetty9 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626import java .util .regex .Matcher ;
2727import java .util .regex .Pattern ;
2828import javax .servlet .RequestDispatcher ;
29+ import javax .servlet .ServletContext ;
2930import javax .servlet .ServletException ;
3031import javax .servlet .http .HttpServletRequest ;
3132import javax .servlet .http .HttpServletResponse ;
3233import org .eclipse .jetty .http .HttpHeader ;
3334import org .eclipse .jetty .http .HttpMethod ;
3435import org .eclipse .jetty .io .WriterOutputStream ;
35- import org .eclipse .jetty .server .handler .ContextHandler ;
3636import org .eclipse .jetty .util .URIUtil ;
3737import 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 */
4443public 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
You can’t perform that action at this time.
0 commit comments