public class ResourceHandlerImpl extends AbstractUrlHandler implements ResourceHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
ResourceHandlerImpl.ErrorResult |
static interface |
ResourceHandlerImpl.LookupResult |
static class |
ResourceHandlerImpl.RedirectResult |
static class |
ResourceHandlerImpl.ResourceUrl |
| Constructor and Description |
|---|
ResourceHandlerImpl(UrlHandler parent,
SecurityContext context) |
| Modifier and Type | Method and Description |
|---|---|
long |
getLastModified(javax.servlet.http.HttpServletRequest req) |
protected String |
getMimeType(String path) |
protected String |
getPath() |
protected boolean |
isForbidden(String path) |
protected ResourceHandlerImpl.LookupResult |
lookup(javax.servlet.http.HttpServletRequest req) |
protected ResourceHandlerImpl.LookupResult |
lookupNoCache(javax.servlet.http.HttpServletRequest req) |
protected ResourceHandlerImpl.LookupResult |
lookupNoCache(javax.servlet.http.HttpServletRequest req,
String path) |
boolean |
serve(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
checkMasterPermission, checkPermission, checkPermissionLocalOrMaster, destroy, getFullPathMapping, getMasterUser, getPathInfo, getPathMapping, getRootHandler, getSecuredPath, getSecurityProvider, getServletContext, getUser, init, isSubPath, registerChildUrlHandler, registerFirstChildUrlHandler, removeChildUrlHandler, secureServe, serveRestMethod, toPathclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckMasterPermission, checkPermission, destroy, getFullPathMapping, getPathMapping, getRootHandler, getSecuredPath, getSecurityProvider, getServletContext, getUser, init, registerChildUrlHandler, registerFirstChildUrlHandler, removeChildUrlHandlerpublic ResourceHandlerImpl(UrlHandler parent, SecurityContext context)
protected String getPath()
getPath in class AbstractUrlHandlerpublic boolean serve(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws org.webswing.server.model.exception.WsException
serve in interface UrlHandlerserve in class AbstractUrlHandlerorg.webswing.server.model.exception.WsExceptionpublic long getLastModified(javax.servlet.http.HttpServletRequest req)
getLastModified in interface UrlHandlergetLastModified in class AbstractUrlHandlerprotected ResourceHandlerImpl.LookupResult lookup(javax.servlet.http.HttpServletRequest req)
protected ResourceHandlerImpl.LookupResult lookupNoCache(javax.servlet.http.HttpServletRequest req)
protected ResourceHandlerImpl.LookupResult lookupNoCache(javax.servlet.http.HttpServletRequest req, String path)
protected boolean isForbidden(String path)
Copyright © 2018. All rights reserved.