You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2015/11/12 09:37:12 UTC
svn commit: r1713974 - in /tomcat/trunk/java:
javax/servlet/http/PushBuilder.java org/apache/catalina/Context.java
Author: markt
Date: Thu Nov 12 08:37:11 2015
New Revision: 1713974
URL: http://svn.apache.org/viewvc?rev=1713974&view=rev
Log:
Javadoc
Modified:
tomcat/trunk/java/javax/servlet/http/PushBuilder.java
tomcat/trunk/java/org/apache/catalina/Context.java
Modified: tomcat/trunk/java/javax/servlet/http/PushBuilder.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/http/PushBuilder.java?rev=1713974&r1=1713973&r2=1713974&view=diff
==============================================================================
--- tomcat/trunk/java/javax/servlet/http/PushBuilder.java (original)
+++ tomcat/trunk/java/javax/servlet/http/PushBuilder.java Thu Nov 12 08:37:11 2015
@@ -29,8 +29,8 @@ import java.util.Set;
* <li>Conditional, range, expectation, authorization and referer headers will
* be removed.</li>
* <li>Cookies added to the associated response will be added to the push
- * request unless maxAge <= 0 in which case any request cookie with the same
- * name will be removed.</li>
+ * request unless maxAge <= 0 in which case any request cookie with the
+ * same name will be removed.</li>
* <li>The referer header will be set to
* {@link HttpServletRequest#getRequestURL()} plus, if present, the query
* string from {@link HttpServletRequest#getQueryString()}.
Modified: tomcat/trunk/java/org/apache/catalina/Context.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/Context.java?rev=1713974&r1=1713973&r2=1713974&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/Context.java (original)
+++ tomcat/trunk/java/org/apache/catalina/Context.java Thu Nov 12 08:37:11 2015
@@ -395,8 +395,9 @@ public interface Context extends Contain
/**
- * Return the document root for this Context. This can be an absolute
- * pathname, a relative pathname, or a URL.
+ * Obtain the document root for this Context.
+ *
+ * @return An absolute pathname, a relative pathname, or a URL.
*/
public String getDocBase();
@@ -411,13 +412,18 @@ public interface Context extends Contain
/**
- * Return the URL encoded context path, using UTF-8.
+ * Return the URL encoded context path
+ *
+ * @return The URL encoded (with UTF-8) context path
*/
public String getEncodedPath();
/**
- * Return the boolean on the annotations parsing.
+ * Determine if annotations parsing is currently disabled
+ *
+ * @return {@code true} if annotation parsing is disabled for this web
+ * application
*/
public boolean getIgnoreAnnotations();
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org