Class SiteStaticDirectoryServlet

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.google.gerrit.httpd.raw.ResourceServlet
com.google.gerrit.httpd.raw.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:
  • Method Details

    • 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.