Class DirectoryService

java.lang.Object
org.eclipse.jetty.server.ResourceService
jmri.web.servlet.directory.DirectoryService

public class DirectoryService extends org.eclipse.jetty.server.ResourceService
Service that returns a directory listing that matches the JMRI web site theme.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.eclipse.jetty.server.ResourceService

    org.eclipse.jetty.server.ResourceService.WelcomeFactory
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    notFound(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
     
    protected void
    sendDirectory(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.eclipse.jetty.util.resource.Resource resource, String pathInContext)
     

    Methods inherited from class org.eclipse.jetty.server.ResourceService

    doGet, getCacheControl, getContentFactory, getEncodingCacheSize, getGzipEquivalentFileExtensions, getPrecompressedFormats, getWelcomeFactory, isAcceptRanges, isDirAllowed, isEtags, isGzippedContent, isPathInfoOnly, isRedirectWelcome, passConditionalHeaders, putHeaders, sendData, sendStatus, sendWelcome, setAcceptRanges, setCacheControl, setContentFactory, setDirAllowed, setEncodingCacheSize, setEtags, setGzipEquivalentFileExtensions, setPathInfoOnly, setPrecompressedFormats, setRedirectWelcome, setWelcomeFactory

    Methods inherited from class java.lang.Object

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

  • Method Details

    • notFound

      protected void notFound(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
      Overrides:
      notFound in class org.eclipse.jetty.server.ResourceService
      Throws:
      IOException
    • sendDirectory

      protected void sendDirectory(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.eclipse.jetty.util.resource.Resource resource, String pathInContext) throws IOException
      Overrides:
      sendDirectory in class org.eclipse.jetty.server.ResourceService
      Throws:
      IOException