@@ -42,11 +42,11 @@ public abstract class AbstractFilter implements Filter {
42
42
43
43
/**
44
44
* @see Filter#doFilter(ServletRequest, ServletResponse, FilterChain)
45
- * @param request
46
- * @param response
47
- * @param chain
48
- * @throws IOException
49
- * @throws ServletException
45
+ * @param request the request
46
+ * @param response the response
47
+ * @param chain the FilterChain
48
+ * @throws IOException if there's an IO exception
49
+ * @throws ServletException if there's a servlet exception
50
50
*/
51
51
public final void doFilter (
52
52
ServletRequest request , ServletResponse response ,
@@ -82,11 +82,15 @@ public void destroy() {
82
82
* requests are given to the {@link RackDispatcher}, but you can extend
83
83
* this method and return false if you want to signal that you don't want
84
84
* the {@link RackDispatcher} to see the request.
85
-
85
+ *
86
+ * @param request the request
87
+ * @param response the response
88
+ * @param chain the FilterChain
89
+ * @param env the RackEnvironent
86
90
* @return true if the dispatcher should handle the request, false if it
87
91
* shouldn't.
88
- * @throws IOException
89
- * @throws ServletException
92
+ * @throws IOException if there's an IO exception
93
+ * @throws ServletException if there's a servlet exception
90
94
*/
91
95
protected boolean isDoDispatch (
92
96
RequestCapture request , ResponseCapture response ,
@@ -97,6 +101,14 @@ protected boolean isDoDispatch(
97
101
98
102
/**
99
103
* @deprecated use {@link #isDoDispatch(RequestCapture, ResponseCapture, FilterChain, RackEnvironment)}
104
+ * @param request the request
105
+ * @param response the response
106
+ * @param chain the FilterChain
107
+ * @param env the RackEnvironent
108
+ * @param responseEnv the RackResponseEnvironment
109
+ * @return isDoDispatch
110
+ * @throws IOException if there's an IO exception
111
+ * @throws ServletException if there's a servlet exception
100
112
*/
101
113
@ Deprecated
102
114
protected boolean isDoDispatch (
@@ -109,7 +121,7 @@ protected boolean isDoDispatch(
109
121
110
122
/**
111
123
* Extension point if you'll need to customize {@link RequestCapture}
112
- * @param request
124
+ * @param request the request
113
125
* @return request capture
114
126
*/
115
127
protected RequestCapture wrapRequest (ServletRequest request ) {
@@ -118,7 +130,7 @@ protected RequestCapture wrapRequest(ServletRequest request) {
118
130
119
131
/**
120
132
* Extension point if you'll need to customize {@link ResponseCapture}
121
- * @param response
133
+ * @param response the response
122
134
* @return response capture
123
135
*/
124
136
protected ResponseCapture wrapResponse (ServletResponse response ) {
0 commit comments