public abstract class ManagementService
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.logging.Logger |
log |
Modifier | Constructor and Description |
---|---|
protected |
ManagementService(Management management,
java.lang.String serviceName) |
Modifier and Type | Method and Description |
---|---|
boolean |
isAuthorized(HttpServletRequest request,
HttpServletResponse response,
ServletContext application) |
protected boolean |
isReadAllowed(ServletRequest request,
ServletResponse response) |
protected boolean |
isWriteAllowed(ServletRequest request,
ServletResponse response) |
abstract void |
service(ServletRequest request,
ServletResponse response) |
void |
start() |
java.lang.String |
toString() |
protected ManagementService(Management management, java.lang.String serviceName)
public void start()
public boolean isAuthorized(HttpServletRequest request, HttpServletResponse response, ServletContext application) throws ServletException, java.io.IOException
ServletException
java.io.IOException
protected boolean isReadAllowed(ServletRequest request, ServletResponse response) throws java.io.IOException, ServletException
java.io.IOException
ServletException
protected boolean isWriteAllowed(ServletRequest request, ServletResponse response) throws java.io.IOException, ServletException
java.io.IOException
ServletException
public abstract void service(ServletRequest request, ServletResponse response) throws java.io.IOException, ServletException
java.io.IOException
ServletException
public java.lang.String toString()
toString
in class java.lang.Object