com.dyuproject.web.rest.mvc.controller
Class VerbMappedController

java.lang.Object
  extended by com.dyuproject.web.rest.mvc.AbstractController
      extended by 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
Date created:
May 16, 2008

Field Summary
 
Fields inherited from interface com.dyuproject.web.rest.mvc.Controller
DELETE, GET, POST, PUT
 
Constructor Summary
VerbMappedController()
          Deprecated.  
 
Method Summary
 void handle(String mime, HttpServletRequest request, HttpServletResponse response)
          Deprecated.  
protected abstract  void handleDefault(String id, String mime, HttpServletRequest request, HttpServletResponse response)
          Deprecated.  
protected  void init()
          Deprecated.  
 
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
 

Constructor Detail

VerbMappedController

public VerbMappedController()
Deprecated. 
Method Detail

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 © 2008-2013. All Rights Reserved.