com.dyuproject.ext.stringtemplate
Class StringTemplateDispatcher
java.lang.Object
com.dyuproject.web.rest.AbstractLifeCycle
com.dyuproject.ext.stringtemplate.StringTemplateDispatcher
- All Implemented Interfaces:
- LifeCycle, ViewDispatcher, org.antlr.stringtemplate.StringTemplateErrorListener
public final class StringTemplateDispatcher
- extends AbstractLifeCycle
- implements ViewDispatcher, org.antlr.stringtemplate.StringTemplateErrorListener
- Author:
- David Yu
- Date created:
- Jan 15, 2009
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_BASE_DIR
public static final String DEFAULT_BASE_DIR
- See Also:
- Constant Field Values
DEFAULT_FILE_EXTENSION
public static final String DEFAULT_FILE_EXTENSION
- See Also:
- Constant Field Values
StringTemplateDispatcher
public StringTemplateDispatcher()
getFileExtension
public String getFileExtension()
init
protected void init()
- Specified by:
init
in class AbstractLifeCycle
dispatch
public void dispatch(String uri,
HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Specified by:
dispatch
in interface ViewDispatcher
- Throws:
ServletException
IOException
error
public void error(String message,
Throwable t)
- Specified by:
error
in interface org.antlr.stringtemplate.StringTemplateErrorListener
warning
public void warning(String message)
- Specified by:
warning
in interface org.antlr.stringtemplate.StringTemplateErrorListener
Copyright © 2008-2013. All Rights Reserved.