Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Erdfelt2015-11-02 20:34:49 +0000
committerJoakim Erdfelt2015-11-02 20:34:49 +0000
commit92cc44c1a333964163c0d47dabc0345586f6e36f (patch)
treef0db86637a961494f9582c862e0ca409a5bd4c2b
parent2235eab93c15741e67856f6c6b5caf6fd4b4f50b (diff)
downloadorg.eclipse.jetty.project-92cc44c1a333964163c0d47dabc0345586f6e36f.tar.gz
org.eclipse.jetty.project-92cc44c1a333964163c0d47dabc0345586f6e36f.tar.xz
org.eclipse.jetty.project-92cc44c1a333964163c0d47dabc0345586f6e36f.zip
Javadoc fix: HttpServletRequest#getPushBuilder() does not exist
+ Fixing bad order (@throws, @param, @return) to correct order @param, @return, @throws
-rw-r--r--jetty-server/src/main/java/org/eclipse/jetty/server/PushBuilder.java19
1 files changed, 5 insertions, 14 deletions
diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/PushBuilder.java b/jetty-server/src/main/java/org/eclipse/jetty/server/PushBuilder.java
index 2dbbb2f1d7..a16c9960e6 100644
--- a/jetty-server/src/main/java/org/eclipse/jetty/server/PushBuilder.java
+++ b/jetty-server/src/main/java/org/eclipse/jetty/server/PushBuilder.java
@@ -29,7 +29,8 @@ import javax.servlet.http.HttpSession;
/** Build a request to be pushed.
*
* <p>A PushBuilder is obtained by calling {@link
- * HttpServletRequest#getPushBuilder()}. Each call to this method will
+ * Request#getPushBuilder()} (<code>Eventually HttpServletRequest.getPushBuilder()</code>).
+ * Each call to this method will
* return a new instance of a PushBuilder based off the current {@code
* HttpServletRequest}. Any mutations to the returned PushBuilder are
* not reflected on future returns.</p>
@@ -103,12 +104,10 @@ public interface PushBuilder
*
* <p>Any non-empty String may be used for the method.</p>
*
- * @throws NullPointerException if the argument is {@code null}
- *
- * @throws IllegalArgumentException if the argument is the empty String
- *
* @param method the method to be used for the push.
* @return this builder.
+ * @throws NullPointerException if the argument is {@code null}
+ * @throws IllegalArgumentException if the argument is the empty String
*/
public abstract PushBuilder method(String method);
@@ -209,7 +208,7 @@ public interface PushBuilder
* nulled after every call to {@link #push()}
* @param lastModified the last modified date to be used for the push.
* @return this builder.
- * */
+ */
public abstract PushBuilder lastModified(String lastModified);
@@ -240,10 +239,6 @@ public interface PushBuilder
*/
public abstract void push();
-
-
-
-
public abstract String getMethod();
public abstract String getQueryString();
public abstract String getSessionId();
@@ -253,8 +248,4 @@ public interface PushBuilder
public abstract String getPath();
public abstract String getEtag();
public abstract String getLastModified();
-
-
-
-
} \ No newline at end of file

Back to the top