|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dyuproject.web.rest.mvc.AbstractController
com.dyuproject.web.rest.mvc.controller.VerbMappedController
com.dyuproject.web.rest.mvc.controller.CRUDController
@Deprecated public abstract class CRUDController
Helper controller for CRUD restful requests
Field Summary | |
---|---|
static String |
DEFAULT_METHOD_PARAM
Deprecated. |
Fields inherited from interface com.dyuproject.web.rest.mvc.Controller |
---|
DELETE, GET, POST, PUT |
Constructor Summary | |
---|---|
CRUDController()
Deprecated. |
Method Summary | |
---|---|
protected abstract void |
create(HttpServletRequest request,
HttpServletResponse response,
String mime)
Deprecated. |
protected abstract void |
delete(HttpServletRequest request,
HttpServletResponse response,
String mime,
String id)
Deprecated. |
protected void |
handleDefault(String id,
String mime,
HttpServletRequest request,
HttpServletResponse response)
Deprecated. |
protected void |
init()
Deprecated. |
boolean |
isAllowMethodOverride()
Deprecated. |
protected abstract void |
read(HttpServletRequest request,
HttpServletResponse response,
String mime)
Deprecated. |
protected abstract void |
read(HttpServletRequest request,
HttpServletResponse response,
String mime,
String id)
Deprecated. |
void |
setAllowMethodOverride(boolean allowMethodOverride)
Deprecated. |
void |
setMethodParam(String methodParam)
Deprecated. |
protected abstract void |
update(HttpServletRequest request,
HttpServletResponse response,
String mime,
String id)
Deprecated. |
Methods inherited from class com.dyuproject.web.rest.mvc.controller.VerbMappedController |
---|
handle |
Methods inherited from class com.dyuproject.web.rest.mvc.AbstractController |
---|
destroy, destroy, getIdentifier, getIdentifierAttribute, getInterceptor, getVerbOrId, getWebContext, init, isInitialized, setIdentifier, setIdentifierAttribute, setInterceptor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_METHOD_PARAM
Constructor Detail |
---|
public CRUDController()
Method Detail |
---|
protected void init()
init
in class VerbMappedController
public void setAllowMethodOverride(boolean allowMethodOverride)
public boolean isAllowMethodOverride()
public void setMethodParam(String methodParam)
protected void handleDefault(String id, String mime, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
handleDefault
in class VerbMappedController
IOException
ServletException
protected abstract void create(HttpServletRequest request, HttpServletResponse response, String mime) throws IOException, ServletException
IOException
ServletException
protected abstract void read(HttpServletRequest request, HttpServletResponse response, String mime) throws IOException, ServletException
IOException
ServletException
protected abstract void read(HttpServletRequest request, HttpServletResponse response, String mime, String id) throws IOException, ServletException
IOException
ServletException
protected abstract void update(HttpServletRequest request, HttpServletResponse response, String mime, String id) throws IOException, ServletException
IOException
ServletException
protected abstract void delete(HttpServletRequest request, HttpServletResponse response, String mime, String id) throws IOException, ServletException
IOException
ServletException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |