Package jmri.web.servlet.directory
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.
-
-
Constructor Summary
Constructors Constructor Description DirectoryService()
-
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
-
-
-
-
Constructor Detail
-
DirectoryService
public DirectoryService()
-
-
Method Detail
-
notFound
protected void notFound(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
- Overrides:
notFound
in classorg.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 classorg.eclipse.jetty.server.ResourceService
- Throws:
java.io.IOException
-
-