com.dyuproject.web.rest.mvc
Class RESTControllerContext

java.lang.Object
  extended by com.dyuproject.web.rest.WebContext
      extended by com.dyuproject.web.rest.mvc.RESTControllerContext

Deprecated.

@Deprecated
public class RESTControllerContext
extends WebContext

The application context using REST Controllers

Author:
David Yu
Date created:
Dec 4, 2008

Field Summary
 
Fields inherited from class com.dyuproject.web.rest.WebContext
CONSUMER_PROPERTIES_CACHE, DEFAULT_ENV_LOCATION, DEFAULT_MIME_LOCATION, DISPATCH_ATTR, PATH_SUFFIX_ATTR, PATHINFO_ARRAY_ATTR, PATHINFO_INDEX_ATTR, SESSION_ENABLED
 
Constructor Summary
RESTControllerContext()
          Deprecated.  
 
Method Summary
 void addController(Controller c)
          Deprecated.  
protected  void destroy()
          Deprecated.  
 Controller getController(String resourceName)
          Deprecated.  
 Controller getDefaultController()
          Deprecated.  
static void handle(Controller controller, String mime, HttpServletRequest request, HttpServletResponse response)
          Deprecated.  
 void handle(String[] pathInfo, String mime, HttpServletRequest request, HttpServletResponse response)
          Deprecated.  
protected  void handlePath(RequestContext requestContext)
          Deprecated.  
protected  void handleRoot(RequestContext requestContext)
          Deprecated.  
protected  void init()
          Deprecated.  
protected  void preConfigure(ServletConfig config)
          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.WebContext
addAttribute, addViewDispatcher, getAttribute, getCurrentRequestContext, getCurrentSession, getDefaultDispatcher, getJSPDispatcher, getProperty, getRequestContext, getResource, getServletContext, getSession, getSession, getViewDispatcher, invalidateSession, isInitialized, isMimeSupported, isSessionEnabled, newObjectInstance, persistSession, service, setAttribute, setAttributes, setEnv, setEnv, setEnv, setEnv, setMime, setMime, setMime, setMime, setViewDispatcher, setViewDispatchers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RESTControllerContext

public RESTControllerContext()
Deprecated. 
Method Detail

preConfigure

protected void preConfigure(ServletConfig config)
                     throws Exception
Deprecated. 
Specified by:
preConfigure in class WebContext
Throws:
Exception

init

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

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. 

handleRoot

protected void handleRoot(RequestContext requestContext)
                   throws ServletException,
                          IOException
Deprecated. 
Specified by:
handleRoot in class WebContext
Throws:
ServletException
IOException

handlePath

protected void handlePath(RequestContext requestContext)
                   throws ServletException,
                          IOException
Deprecated. 
Specified by:
handlePath in class WebContext
Throws:
ServletException
IOException

handle

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

handle

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

destroy

protected void destroy()
Deprecated. 
Specified by:
destroy in class WebContext


Copyright © 2008-2013. All Rights Reserved.