hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1619405 - in /httpcomponents/httpclient/trunk/httpclient/src/main: java-deprecated/org/apache/http/client/ java/org/apache/http/client/ java/org/apache/http/client/methods/ java/org/apache/http/client/params/
Date Thu, 21 Aug 2014 14:19:59 GMT
Author: ggregory
Date: Thu Aug 21 14:19:59 2014
New Revision: 1619405

URL: http://svn.apache.org/r1619405
Log:
Javadoc 8 fixes.

Modified:
    httpcomponents/httpclient/trunk/httpclient/src/main/java-deprecated/org/apache/http/client/RequestDirector.java
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/UserTokenHandler.java
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpGet.java
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpHead.java
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpOptions.java
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpPatch.java
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpPost.java
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpPut.java
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpTrace.java
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpUriRequest.java
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/params/AllClientPNames.java

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java-deprecated/org/apache/http/client/RequestDirector.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java-deprecated/org/apache/http/client/RequestDirector.java?rev=1619405&r1=1619404&r2=1619405&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java-deprecated/org/apache/http/client/RequestDirector.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java-deprecated/org/apache/http/client/RequestDirector.java
Thu Aug 21 14:19:59 2014
@@ -52,10 +52,11 @@ public interface RequestDirector {
 
     /**
      * Executes a request.
-     * <br/><b>Note:</b>
-     * For the time being, a new director is instantiated for each request.
+     * <p>
+     * <b>Note:</b> For the time being, a new director is instantiated for each
request.
      * This is the same behavior as for <code>HttpMethodDirector</code>
      * in HttpClient 3.
+     * </p>
      *
      * @param target    the target host for the request.
      *                  Implementations may accept <code>null</code>

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/UserTokenHandler.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/UserTokenHandler.java?rev=1619405&r1=1619404&r2=1619405&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/UserTokenHandler.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/UserTokenHandler.java
Thu Aug 21 14:19:59 2014
@@ -52,7 +52,7 @@ public interface UserTokenHandler {
      * @param context the execution context
      *
      * @return user token that uniquely identifies the user or
-     * <code>null</null> if the context is not user specific.
+     * {@code null} if the context is not user specific.
      */
     Object getUserToken(HttpContext context);
 

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpGet.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpGet.java?rev=1619405&r1=1619404&r2=1619405&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpGet.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpGet.java
Thu Aug 21 14:19:59 2014
@@ -36,6 +36,7 @@ import org.apache.http.annotation.NotThr
  * <p>
  * The HTTP GET method is defined in section 9.3 of
  * <a href="http://www.ietf.org/rfc/rfc2616.txt">RFC2616</a>:
+ * </p>
  * <blockquote>
  * The GET method means retrieve whatever information (in the form of an
  * entity) is identified by the Request-URI. If the Request-URI refers
@@ -43,7 +44,6 @@ import org.apache.http.annotation.NotThr
  * returned as the entity in the response and not the source text of the
  * process, unless that text happens to be the output of the process.
  * </blockquote>
- * </p>
  *
  * @since 4.0
  */

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpHead.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpHead.java?rev=1619405&r1=1619404&r2=1619405&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpHead.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpHead.java
Thu Aug 21 14:19:59 2014
@@ -36,6 +36,7 @@ import org.apache.http.annotation.NotThr
  * <p>
  * The HTTP HEAD method is defined in section 9.4 of
  * <a href="http://www.ietf.org/rfc/rfc2616.txt">RFC2616</a>:
+ * </p>
  * <blockquote>
  * The HEAD method is identical to GET except that the server MUST NOT
  * return a message-body in the response. The metainformation contained
@@ -46,7 +47,6 @@ import org.apache.http.annotation.NotThr
  * often used for testing hypertext links for validity, accessibility,
  * and recent modification.
  * </blockquote>
- * </p>
  *
  * @since 4.0
  */

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpOptions.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpOptions.java?rev=1619405&r1=1619404&r2=1619405&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpOptions.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpOptions.java
Thu Aug 21 14:19:59 2014
@@ -43,6 +43,7 @@ import org.apache.http.util.Args;
  * <p>
  * The HTTP OPTIONS method is defined in section 9.2 of
  * <a href="http://www.ietf.org/rfc/rfc2616.txt">RFC2616</a>:
+ * </p>
  * <blockquote>
  *  The OPTIONS method represents a request for information about the
  *  communication options available on the request/response chain
@@ -51,7 +52,6 @@ import org.apache.http.util.Args;
  *  or the capabilities of a server, without implying a resource action
  *  or initiating a resource retrieval.
  * </blockquote>
- * </p>
  *
  * @since 4.0
  */

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpPatch.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpPatch.java?rev=1619405&r1=1619404&r2=1619405&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpPatch.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpPatch.java
Thu Aug 21 14:19:59 2014
@@ -35,7 +35,9 @@ import org.apache.http.annotation.NotThr
  * HTTP PATCH method.
  * <p>
  * The HTTP PATCH method is defined in <a
- * href="http://tools.ietf.org/html/rfc5789">RF5789</a>: <blockquote> The
PATCH
+ * href="http://tools.ietf.org/html/rfc5789">RF5789</a>: 
+ * </p>
+ * <blockquote> The PATCH
  * method requests that a set of changes described in the request entity be
  * applied to the resource identified by the Request- URI. Differs from the PUT
  * method in the way the server processes the enclosed entity to modify the
@@ -43,8 +45,8 @@ import org.apache.http.annotation.NotThr
  * origin server, and the client is requesting that the stored version be
  * replaced. With PATCH, however, the enclosed entity contains a set of
  * instructions describing how a resource currently residing on the origin
- * server should be modified to produce a new version. </blockquote>
- * </p>
+ * server should be modified to produce a new version. 
+ * </blockquote>
  *
  * @since 4.2
  */

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpPost.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpPost.java?rev=1619405&r1=1619404&r2=1619405&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpPost.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpPost.java
Thu Aug 21 14:19:59 2014
@@ -36,6 +36,7 @@ import org.apache.http.annotation.NotThr
  * <p>
  * The HTTP POST method is defined in section 9.5 of
  * <a href="http://www.ietf.org/rfc/rfc2616.txt">RFC2616</a>:
+ * </p>
  * <blockquote>
  * The POST method is used to request that the origin server accept the entity
  * enclosed in the request as a new subordinate of the resource identified by
@@ -50,7 +51,6 @@ import org.apache.http.annotation.NotThr
  *   <li>Extending a database through an append operation</li>
  * </ul>
  * </blockquote>
- * </p>
  *
  * @since 4.0
  */

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpPut.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpPut.java?rev=1619405&r1=1619404&r2=1619405&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpPut.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpPut.java
Thu Aug 21 14:19:59 2014
@@ -36,13 +36,13 @@ import org.apache.http.annotation.NotThr
  * <p>
  * The HTTP PUT method is defined in section 9.6 of
  * <a href="http://www.ietf.org/rfc/rfc2616.txt">RFC2616</a>:
+ * </p>
  * <blockquote>
  * The PUT method requests that the enclosed entity be stored under the
  * supplied Request-URI. If the Request-URI refers to an already
  * existing resource, the enclosed entity SHOULD be considered as a
  * modified version of the one residing on the origin server.
  * </blockquote>
- * </p>
  *
  * @since 4.0
  */

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpTrace.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpTrace.java?rev=1619405&r1=1619404&r2=1619405&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpTrace.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpTrace.java
Thu Aug 21 14:19:59 2014
@@ -36,6 +36,7 @@ import org.apache.http.annotation.NotThr
  * <p>
  * The HTTP TRACE method is defined in section 9.6 of
  * <a href="http://www.ietf.org/rfc/rfc2616.txt">RFC2616</a>:
+ * </p>
  * <blockquote>
  *  The TRACE method is used to invoke a remote, application-layer loop-
  *  back of the request message. The final recipient of the request
@@ -45,7 +46,6 @@ import org.apache.http.annotation.NotThr
  *  value of zero (0) in the request (see section 14.31). A TRACE request
  *  MUST NOT include an entity.
  * </blockquote>
- * </p>
  *
  * @since 4.0
  */

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpUriRequest.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpUriRequest.java?rev=1619405&r1=1619404&r2=1619405&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpUriRequest.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpUriRequest.java
Thu Aug 21 14:19:59 2014
@@ -49,8 +49,9 @@ public interface HttpUriRequest extends 
     /**
      * Returns the URI this request uses, such as
      * <code>http://example.org/path/to/file</code>.
-     * <br/>
+     * <p>
      * Note that the URI may be absolute URI (as above) or may be a relative URI.
+     * </p>
      * <p>
      * Implementations are encouraged to return
      * the URI that was initially requested.

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/params/AllClientPNames.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/params/AllClientPNames.java?rev=1619405&r1=1619404&r2=1619405&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/params/AllClientPNames.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/params/AllClientPNames.java
Thu Aug 21 14:19:59 2014
@@ -40,10 +40,11 @@ import org.apache.http.params.CoreProtoc
  * module and all dependency modules or informational units.
  * It does not define additional parameter names, but references
  * other interfaces defining parameter names.
- * <br/>
+ * <p>
  * This interface is meant as a navigation aid for developers.
  * When referring to parameter names, you should use the interfaces
  * in which the respective constants are actually defined.
+ * </p>
  *
  * @since 4.0
  *



Mime
View raw message