Author: nbubna
Date: Wed Nov 5 12:21:11 2008
New Revision: 711683
URL: http://svn.apache.org/viewvc?rev=711683&view=rev
Log:
de-deprecate handleRequest, as users (like Martin Thelian) have more valid
use-cases for it than were guessed
Modified:
velocity/tools/trunk/src/main/java/org/apache/velocity/tools/view/VelocityViewServlet.java
Modified:
velocity/tools/trunk/src/main/java/org/apache/velocity/tools/view/VelocityViewServlet.java
URL:
http://svn.apache.org/viewvc/velocity/tools/trunk/src/main/java/org/apache/velocity/tools/view/VelocityViewServlet.java?rev=711683&r1=711682&r2=711683&view=diff
==============================================================================
---
velocity/tools/trunk/src/main/java/org/apache/velocity/tools/view/VelocityViewServlet.java
(original)
+++
velocity/tools/trunk/src/main/java/org/apache/velocity/tools/view/VelocityViewServlet.java
Wed Nov 5 12:21:11 2008
@@ -225,16 +225,15 @@
/**
- * <p>This was a common extension point, but has been deprecated.
- * It has no single replacement. Instead, you should override
- * [EMAIL PROTECTED] #fillContext} to add custom things to the [EMAIL
PROTECTED] Context}
- * or override a [EMAIL PROTECTED] #getTemplate} method to change how
- * [EMAIL PROTECTED] Template}s are retrieved</p>
+ * <p>This was a common extension point, but now it is usually
+ * simpler to override [EMAIL PROTECTED] #fillContext} to add custom things
+ * to the [EMAIL PROTECTED] Context} or override a [EMAIL PROTECTED]
#getTemplate}
+ * method to change how [EMAIL PROTECTED] Template}s are retrieved.
+ * This is only recommended for more complicated use-cases.</p>
*
* @param request client request
* @param response client response
* @param ctx VelocityContext to fill
- * @deprecated This will be removed in VelocityTools 2.1.
* @return Velocity Template object or null
*/
protected Template handleRequest(HttpServletRequest request,