Class ClassPathResourceContentServlet

  • All Implemented Interfaces:
    java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, org.eclipse.jetty.server.ResourceService.WelcomeFactory, org.eclipse.jetty.util.resource.ResourceFactory

    public class ClassPathResourceContentServlet
    extends org.eclipse.jetty.servlet.DefaultServlet
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.eclipse.jetty.servlet.DefaultServlet

        CONTEXT_INIT
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.eclipse.jetty.util.resource.Resource getResource​(java.lang.String pathInContext)  
      • Methods inherited from class org.eclipse.jetty.servlet.DefaultServlet

        destroy, doGet, doHead, doOptions, doPost, doTrace, getInitParameter, getWelcomeFile, init, initContextHandler
      • Methods inherited from class javax.servlet.http.HttpServlet

        doDelete, doPut, getLastModified, service, service
      • Methods inherited from class javax.servlet.GenericServlet

        getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClassPathResourceContentServlet

        public ClassPathResourceContentServlet​(java.lang.String packageName)
    • Method Detail

      • getResource

        public org.eclipse.jetty.util.resource.Resource getResource​(java.lang.String pathInContext)
        Specified by:
        getResource in interface org.eclipse.jetty.util.resource.ResourceFactory
        Overrides:
        getResource in class org.eclipse.jetty.servlet.DefaultServlet