Skip to content
This repository was archived by the owner on Jun 6, 2018. It is now read-only.

Commit c0aa280

Browse files
author
Ed Burns
committed
#73 Address what to do about the case of getNamedDispatcher()
modified: copyright-exclude modified: src/main/java/javax/servlet/http/HttpServletRequest.java
1 parent eee68d0 commit c0aa280

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

copyright-exclude

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
copyright-exclude
22
LICENSE
33
README.md
4+
CONTRIBUTING.md
45
src/main/javadoc/doc-files/expert-draft-bg-blank.graffle
56
src/main/javadoc/doc-files/expert-draft-bg-blank.png
67
src/main/javadoc/doc-files/expert-draft-bg-non-blank.graffle

src/main/java/javax/servlet/http/HttpServletRequest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,10 @@ public interface HttpServletRequest extends ServletRequest {
276276
* javax.servlet.RequestDispatcher#INCLUDE_MAPPING} and {@link
277277
* javax.servlet.AsyncContext#ASYNC_MAPPING} for additional request
278278
* attributes related to {@code HttpServletMapping}.</p>
279+
*
280+
* <p>If the {@code Servlet} corresponding to this request was
281+
* obtained using {@link javax.servlet.ServletContext#getNamedDispatcher}, this
282+
* method must return {@code null}.</p>
279283
*
280284
* <p>The returned object is immutable. Servlet 4.0 compliant
281285
* implementations must override this method.</p>

0 commit comments

Comments
 (0)