public interface ResourceRequestHandler
Modifier and Type | Method and Description |
---|---|
ResourceResponse |
handleRequest(ResourceRequest req)
This method will be called to handle the REST resquest for POST/GET/PUT/DELETE
|
boolean |
isRoot() |
void |
setBlockAccessList(java.util.Set<java.lang.String> blockAccessSet) |
void |
setHandlerName(java.lang.String handlerName) |
void |
setMXSession(MXSession mxSession) |
void |
setRoot(boolean rootHandler) |
ResourceResponse handleRequest(ResourceRequest req) throws java.rmi.RemoteException, MXException
req
- The REST request object which contains information from the HttpServletRequest objectjava.lang.Exception
java.rmi.RemoteException
MXException
void setBlockAccessList(java.util.Set<java.lang.String> blockAccessSet)
void setMXSession(MXSession mxSession)
void setHandlerName(java.lang.String handlerName)
void setRoot(boolean rootHandler)
boolean isRoot()