org.objectweb.telosys.common
Class ResourceView
java.lang.Object
org.objectweb.telosys.common.TelosysObject
org.objectweb.telosys.common.ResourceView
- All Implemented Interfaces:
- View
- public class ResourceView
- extends TelosysObject
- implements View
Local resource implementation of the View interface
To use the resource located at the given path as a standard "MVC view"
Method Summary |
void |
generate(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse)
|
java.lang.String |
getTarget()
Returns the target URL or URI of the View |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceView
public ResourceView(java.lang.String sPath)
getTarget
public java.lang.String getTarget()
- Description copied from interface:
View
- Returns the target URL or URI of the View
- Specified by:
getTarget
in interface View
- Returns:
generate
public void generate(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse)
throws TelosysException
- Specified by:
generate
in interface View
- Throws:
TelosysException