@@ -264,24 +264,23 @@ public interface HttpServletRequest extends ServletRequest {
264
264
* obtain the {@link RequestDispatcher}. If the currently active
265
265
* {@code Servlet} invocation was obtained by a call to {@link
266
266
* ServletRequest#getRequestDispatcher} followed by a call to {@link
267
- * RequestDispatcher#include}, the returned {@code HttpServletMapping}
268
- * is the one corresponding to the path that caused the first {@code
269
- * Servlet} in the invocation sequence to be invoked. If the
270
- * currently active {@code Servlet} invocation was obtained by a
271
- * call to {@link javax.servlet.AsyncContext#dispatch}, the returned
272
- * {@code HttpServletMapping} is the one corresponding to the path that caused
273
- * the first {@code Servlet} in the invocation sequence to be
267
+ * RequestDispatcher#include}, the returned {@code
268
+ * HttpServletMapping} is the one corresponding to the path that
269
+ * caused the first {@code Servlet} in the invocation sequence to be
270
+ * invoked. If the currently active {@code Servlet} invocation was
271
+ * obtained by a call to {@link
272
+ * javax.servlet.AsyncContext#dispatch}, the returned {@code
273
+ * HttpServletMapping} is the one corresponding to the path that
274
+ * caused the first {@code Servlet} in the invocation sequence to be
274
275
* invoked. See {@link
275
276
* javax.servlet.RequestDispatcher#FORWARD_MAPPING}, {@link
276
277
* javax.servlet.RequestDispatcher#INCLUDE_MAPPING} and {@link
277
278
* javax.servlet.AsyncContext#ASYNC_MAPPING} for additional request
278
- * attributes related to {@code HttpServletMapping}.</p>
279
- *
280
- * <p>If the {@code Servlet} corresponding to this request was
281
- * obtained using {@link
282
- * javax.servlet.ServletContext#getNamedDispatcher}, the returned
283
- * {@code HttpServletMapping} instance must have properties that
284
- * reflect the mapping last applied to this request.</p>
279
+ * attributes related to {@code HttpServletMapping}. If the
280
+ * currently active {@code Servlet} invocation was obtained by a
281
+ * call to {@link javax.servlet.ServletContext#getNamedDispatcher},
282
+ * the returned {@code HttpServletMapping} is the one corresponding
283
+ * to the path for the mapping last applied to this request.</p>
285
284
*
286
285
* <p>The returned object is immutable. Servlet 4.0 compliant
287
286
* implementations must override this method.</p>
0 commit comments