Class SiteStaticDirectoryServlet

  • All Implemented Interfaces:
    Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class SiteStaticDirectoryServlet
    extends ResourceServlet
    Sends static content from the site 's static/ subdirectory.
    See Also:
    Serialized Form
    • Method Detail

      • getResourcePath

        protected Path getResourcePath​(String pathInfo)
        Description copied from class: ResourceServlet
        Get the resource path on the filesystem that should be served for this request.
        Specified by:
        getResourcePath in class ResourceServlet
        Parameters:
        pathInfo - result of HttpServletRequest.getPathInfo().
        Returns:
        path where static content can be found.