com.dyuproject.web.rest.mvc
Class AbstractController

java.lang.Object
  extended by com.dyuproject.web.rest.mvc.AbstractController
All Implemented Interfaces:
Controller
Direct Known Subclasses:
ContextController, JSPViewController, StaticResourceController, VerbMappedController

Deprecated.

@Deprecated
public abstract class AbstractController
extends Object
implements Controller

The base controller to serve REST requests.

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
AbstractController()
          Deprecated.  
 
Method Summary
protected  void destroy()
          Deprecated.  
 void destroy(WebContext webContext)
          Deprecated.  
 String getIdentifier()
          Deprecated.  
 String getIdentifierAttribute()
          Deprecated.  
 Interceptor getInterceptor()
          Deprecated.  
 String getVerbOrId(HttpServletRequest request)
          Deprecated.  
 WebContext getWebContext()
          Deprecated.  
protected abstract  void init()
          Deprecated.  
 void init(WebContext webContext)
          Deprecated.  
protected  boolean isInitialized()
          Deprecated.  
 void setIdentifier(String identifier)
          Deprecated.  
 void setIdentifierAttribute(String identifierAttribute)
          Deprecated.  
 void setInterceptor(Interceptor interceptor)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.dyuproject.web.rest.mvc.Controller
handle
 

Constructor Detail

AbstractController

public AbstractController()
Deprecated. 
Method Detail

init

public final void init(WebContext webContext)
Deprecated. 
Specified by:
init in interface Controller

init

protected abstract void init()
Deprecated. 

destroy

protected void destroy()
Deprecated. 

isInitialized

protected boolean isInitialized()
Deprecated. 

getWebContext

public WebContext getWebContext()
Deprecated. 

setIdentifier

public void setIdentifier(String identifier)
Deprecated. 

getIdentifier

public String getIdentifier()
Deprecated. 
Specified by:
getIdentifier in interface Controller

setIdentifierAttribute

public void setIdentifierAttribute(String identifierAttribute)
Deprecated. 

getIdentifierAttribute

public String getIdentifierAttribute()
Deprecated. 
Specified by:
getIdentifierAttribute in interface Controller

setInterceptor

public void setInterceptor(Interceptor interceptor)
Deprecated. 

getInterceptor

public Interceptor getInterceptor()
Deprecated. 
Specified by:
getInterceptor in interface Controller

getVerbOrId

public String getVerbOrId(HttpServletRequest request)
Deprecated. 

destroy

public void destroy(WebContext webContext)
Deprecated. 
Specified by:
destroy in interface Controller


Copyright © 2008-2013. All Rights Reserved.