You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2007/02/20 03:30:29 UTC
svn commit: r509413 - in
/tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/services:
RequestFilter.java RequestHandler.java
Author: hlship
Date: Mon Feb 19 18:30:29 2007
New Revision: 509413
URL: http://svn.apache.org/viewvc?view=rev&rev=509413
Log:
Fix javadoc for RequestHandler / RequestFilter
[TAPESTRY-1232]
Modified:
tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/services/RequestFilter.java
tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/services/RequestHandler.java
Modified: tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/services/RequestFilter.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/services/RequestFilter.java?view=diff&rev=509413&r1=509412&r2=509413
==============================================================================
--- tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/services/RequestFilter.java (original)
+++ tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/services/RequestFilter.java Mon Feb 19 18:30:29 2007
@@ -1,4 +1,4 @@
-// Copyright 2006 The Apache Software Foundation
+// Copyright 2006, 2007 The Apache Software Foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -17,7 +17,11 @@
import java.io.IOException;
/**
- * Filter interface for {@link org.apache.tapestry.services.RequestHandler}.
+ * Filter interface for {@link org.apache.tapestry.services.RequestHandler}. Implementations of
+ * this interface may be contributed into the tapestry.RequestHandler service configuration.
+ *
+ * @see TapestryModule#buildRequestHandler(org.apache.commons.logging.Log, java.util.List,
+ * Dispatcher)
*/
public interface RequestFilter
{
Modified: tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/services/RequestHandler.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/services/RequestHandler.java?view=diff&rev=509413&r1=509412&r2=509413
==============================================================================
--- tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/services/RequestHandler.java (original)
+++ tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/services/RequestHandler.java Mon Feb 19 18:30:29 2007
@@ -1,4 +1,4 @@
-// Copyright 2006 The Apache Software Foundation
+// Copyright 2006, 2007 The Apache Software Foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -12,17 +12,20 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-package org.apache.tapestry.services;
-
-import java.io.IOException;
-
-/**
- * Service interface for the tapestry.request.WebRequestHandler pipeline service.
- *
- *
- */
-public interface RequestHandler
-{
- /** Returns true if the request has been handled, false otherwise. */
- boolean service(Request request, Response response) throws IOException;
-}
+package org.apache.tapestry.services;
+
+import java.io.IOException;
+
+/**
+ * Service interface for the tapestry.RequestHandler pipeline service.
+ *
+ * @see RequestFilter
+ * @see TapestryModule#buildRequestHandler(org.apache.commons.logging.Log, java.util.List,
+ * Dispatcher)
+ */
+
+public interface RequestHandler
+{
+ /** Returns true if the request has been handled, false otherwise. */
+ boolean service(Request request, Response response) throws IOException;
+}