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

java.lang.Object
  extended by com.dyuproject.web.rest.mvc.AbstractController
      extended by com.dyuproject.web.rest.mvc.controller.ContextController
All Implemented Interfaces:
Controller

Deprecated.

@Deprecated
public class ContextController
extends AbstractController

A controller with subControllers and is being attached to a specific context.

Author:
David Yu

Field Summary
 
Fields inherited from interface com.dyuproject.web.rest.mvc.Controller
DELETE, GET, POST, PUT
 
Constructor Summary
ContextController()
          Deprecated.  
ContextController(String identifier)
          Deprecated.  
 
Method Summary
 void addController(Controller c)
          Deprecated.  
 Controller getController(String resourceName)
          Deprecated.  
 Controller getDefaultController()
          Deprecated.  
 int getIndex(HttpServletRequest request)
          Deprecated.  
 void handle(String mime, HttpServletRequest request, HttpServletResponse response)
          Deprecated.  
protected  void handleRoot(String mime, HttpServletRequest request, HttpServletResponse response)
          Deprecated.  
protected  void init()
          Deprecated.  
 void setControllers(Controller[] controllers)
          Deprecated.  
 void setControllers(List<Controller> controllers)
          Deprecated.  
 void setDefaultController(Controller defaultController)
          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

ContextController

public ContextController()
Deprecated. 

ContextController

public ContextController(String identifier)
Deprecated. 
Method Detail

init

protected void init()
Deprecated. 
Specified by:
init in class AbstractController

setDefaultController

public void setDefaultController(Controller defaultController)
Deprecated. 

getDefaultController

public Controller getDefaultController()
Deprecated. 

setControllers

public void setControllers(Controller[] controllers)
Deprecated. 

setControllers

public void setControllers(List<Controller> controllers)
Deprecated. 

addController

public void addController(Controller c)
Deprecated. 

getController

public Controller getController(String resourceName)
Deprecated. 

getIndex

public final int getIndex(HttpServletRequest request)
Deprecated. 

handle

public void handle(String mime,
                   HttpServletRequest request,
                   HttpServletResponse response)
            throws IOException,
                   ServletException
Deprecated. 
Throws:
IOException
ServletException

handleRoot

protected void handleRoot(String mime,
                          HttpServletRequest request,
                          HttpServletResponse response)
                   throws IOException,
                          ServletException
Deprecated. 
Throws:
IOException
ServletException


Copyright © 2013. All Rights Reserved.