public class StaticContentHandler extends Object implements RequestHandler
RequestHandler responsible for serving static resources.Site (see
SiteProperties.DOCUMENT_DIR and Path.isDocument()).FORWARDED| Constructor and Description |
|---|
StaticContentHandler(Controller controller) |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
Environment environment,
Site site,
PathInfo pathInfo)
Handles the given
HttpServletRequest, |
public StaticContentHandler(Controller controller)
public void handle(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
Environment environment,
Site site,
PathInfo pathInfo)
throws javax.servlet.ServletException,
IOException
RequestHandlerHttpServletRequest,handle in interface RequestHandlerservletRequest - the current HttpServletRequestservletResponse - the current HttpServletResponseenvironment - the current Environmentsite - the current SitepathInfo - the current PathInfojavax.servlet.ServletException - if a servlet-specific error occursIOException - if a resource could not be foundCopyright © 2011–2023 aiticon GmbH. All rights reserved.