com.dyuproject.web.rest.mvc.controller
Class VerbMappedController
java.lang.Object
com.dyuproject.web.rest.mvc.AbstractController
com.dyuproject.web.rest.mvc.controller.VerbMappedController
- All Implemented Interfaces:
- Controller
- Direct Known Subclasses:
- CRUDController
Deprecated.
@Deprecated
public abstract class VerbMappedController
- extends AbstractController
REST verbs are mapped to the methods with a specific method signature.
Any method that takes a (String, request, response) signature will be called
when the verb matches
- Author:
- David Yu
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 |
VerbMappedController
public VerbMappedController()
- Deprecated.
init
protected void init()
- Deprecated.
- Specified by:
init
in class AbstractController
handle
public final void handle(String mime,
HttpServletRequest request,
HttpServletResponse response)
throws IOException,
ServletException
- Deprecated.
- Throws:
IOException
ServletException
handleDefault
protected abstract void handleDefault(String id,
String mime,
HttpServletRequest request,
HttpServletResponse response)
throws IOException,
ServletException
- Deprecated.
- Throws:
IOException
ServletException
Copyright © 2013. All Rights Reserved.