You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@velocity.apache.org by nb...@apache.org on 2008/11/05 21:21:12 UTC
svn commit: r711683 -
/velocity/tools/trunk/src/main/java/org/apache/velocity/tools/view/VelocityViewServlet.java
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
- * {@link #fillContext} to add custom things to the {@link Context}
- * or override a {@link #getTemplate} method to change how
- * {@link Template}s are retrieved</p>
+ * <p>This was a common extension point, but now it is usually
+ * simpler to override {@link #fillContext} to add custom things
+ * to the {@link Context} or override a {@link #getTemplate}
+ * method to change how {@link 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,