|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dyuproject.web.rest.WebContext
com.dyuproject.web.rest.mvc.RESTControllerContext
@Deprecated public class RESTControllerContext
The application context using REST Controllers
Field Summary |
---|
Fields inherited from class com.dyuproject.web.rest.WebContext |
---|
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, getServletContext, getSession, getSession, getViewDispatcher, invalidateSession, isInitialized, isMimeSupported, isSessionEnabled, newObjectInstance, persistSession, service, setAttributes, setEnv, setEnv, setEnv, setEnv, setMime, setMime, setMime, setMime, setViewDispatchers |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RESTControllerContext()
Method Detail |
---|
protected void preConfigure(ServletConfig config) throws Exception
preConfigure
in class WebContext
Exception
protected void init()
init
in class WebContext
public void setDefaultController(Controller defaultController)
public Controller getDefaultController()
public void setControllers(Controller[] controllers)
public void setControllers(List<Controller> controllers)
public void addController(Controller c)
public Controller getController(String resourceName)
protected void handleRoot(RequestContext requestContext) throws ServletException, IOException
handleRoot
in class WebContext
ServletException
IOException
protected void handlePath(RequestContext requestContext) throws ServletException, IOException
handlePath
in class WebContext
ServletException
IOException
public void handle(String[] pathInfo, String mime, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
ServletException
IOException
public static void handle(Controller controller, String mime, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
ServletException
IOException
protected void destroy()
destroy
in class WebContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |