public abstract class AbstractUrlHandler extends Object implements UrlHandler, SecurableService
| Constructor and Description |
|---|
AbstractUrlHandler(UrlHandler parent) |
public AbstractUrlHandler(UrlHandler parent)
public void init()
init in interface UrlHandlerpublic void destroy()
destroy in interface UrlHandlerpublic boolean serve(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws org.webswing.server.model.exception.WsException
serve in interface UrlHandlerorg.webswing.server.model.exception.WsExceptionpublic Object secureServe(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws org.webswing.server.model.exception.WsException
secureServe in interface SecurableServiceorg.webswing.server.model.exception.WsExceptionpublic String getFullPathMapping()
getFullPathMapping in interface UrlHandlerpublic String getPathInfo(javax.servlet.http.HttpServletRequest req)
protected abstract String getPath()
public String getPathMapping()
getPathMapping in interface UrlHandlerpublic void registerFirstChildUrlHandler(UrlHandler handler)
registerFirstChildUrlHandler in interface UrlHandlerpublic void registerChildUrlHandler(UrlHandler handler)
registerChildUrlHandler in interface UrlHandlerpublic void removeChildUrlHandler(UrlHandler handler)
removeChildUrlHandler in interface UrlHandlerpublic javax.servlet.ServletContext getServletContext()
getServletContext in interface UrlHandlerpublic String getSecuredPath()
getSecuredPath in interface UrlHandlerpublic SecuredPathHandler getSecurityProvider()
getSecurityProvider in interface UrlHandlerpublic long getLastModified(javax.servlet.http.HttpServletRequest req)
getLastModified in interface UrlHandlerpublic AbstractWebswingUser getUser()
getUser in interface UrlHandlerpublic AbstractWebswingUser getMasterUser()
public UrlHandler getRootHandler()
getRootHandler in interface UrlHandlerpublic void checkPermission(WebswingAction action) throws org.webswing.server.model.exception.WsException
checkPermission in interface UrlHandlerorg.webswing.server.model.exception.WsExceptionpublic void checkMasterPermission(WebswingAction action) throws org.webswing.server.model.exception.WsException
checkMasterPermission in interface UrlHandlerorg.webswing.server.model.exception.WsExceptionpublic void checkPermissionLocalOrMaster(WebswingAction a) throws org.webswing.server.model.exception.WsException
org.webswing.server.model.exception.WsExceptionCopyright © 2018. All rights reserved.