Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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, java.lang.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
    • Method Detail

      • notFound

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

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