Package org.webswing.server.base
Interface UrlHandler
-
- All Known Subinterfaces:
FileTransferHandler,LoginHandler,LogoutHandler,ResourceHandler,RestUrlHandler,SwingInstanceManager,WebSocketUrlHandler
- All Known Implementing Classes:
AbstractUrlHandler,FileTransferHandlerImpl,GlobalUrlHandler,LoginHandlerImpl,LogoutHandlerImpl,PrimaryUrlHandler,RecordingPlaybackUrlHandlerImpl,ResourceHandlerImpl,RestUrlHandlerImpl,SwingInstanceManagerImpl,WebSocketUrlHandlerImpl
public interface UrlHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcheckMasterPermission(org.webswing.server.services.security.api.WebswingAction action)voidcheckPermission(org.webswing.server.services.security.api.WebswingAction action)voiddestroy()StringgetFullPathMapping()longgetLastModified(javax.servlet.http.HttpServletRequest req)StringgetPathMapping()UrlHandlergetRootHandler()StringgetSecuredPath()SecuredPathHandlergetSecurityProvider()javax.servlet.ServletContextgetServletContext()org.webswing.server.services.security.api.AbstractWebswingUsergetUser()voidinit()voidregisterChildUrlHandler(UrlHandler handler)voidregisterFirstChildUrlHandler(UrlHandler handler)voidremoveChildUrlHandler(UrlHandler Handler)booleanserve(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
-
-
-
Method Detail
-
init
void init()
-
destroy
void destroy()
-
serve
boolean serve(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws org.webswing.server.model.exception.WsException- Throws:
org.webswing.server.model.exception.WsException
-
registerFirstChildUrlHandler
void registerFirstChildUrlHandler(UrlHandler handler)
-
registerChildUrlHandler
void registerChildUrlHandler(UrlHandler handler)
-
removeChildUrlHandler
void removeChildUrlHandler(UrlHandler Handler)
-
getServletContext
javax.servlet.ServletContext getServletContext()
-
getLastModified
long getLastModified(javax.servlet.http.HttpServletRequest req)
-
getPathMapping
String getPathMapping()
-
getFullPathMapping
String getFullPathMapping()
-
getSecuredPath
String getSecuredPath()
-
getRootHandler
UrlHandler getRootHandler()
-
getUser
org.webswing.server.services.security.api.AbstractWebswingUser getUser()
-
checkPermission
void checkPermission(org.webswing.server.services.security.api.WebswingAction action) throws org.webswing.server.model.exception.WsException- Throws:
org.webswing.server.model.exception.WsException
-
checkMasterPermission
void checkMasterPermission(org.webswing.server.services.security.api.WebswingAction action) throws org.webswing.server.model.exception.WsException- Throws:
org.webswing.server.model.exception.WsException
-
getSecurityProvider
SecuredPathHandler getSecurityProvider()
-
-