You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by gg...@apache.org on 2014/08/21 17:27:51 UTC

svn commit: r1619439 - in /httpcomponents/httpclient/trunk/httpclient/src/main: java-deprecated/org/apache/http/impl/client/ java/org/apache/http/client/utils/

Author: ggregory
Date: Thu Aug 21 15:27:50 2014
New Revision: 1619439

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

Modified:
    httpcomponents/httpclient/trunk/httpclient/src/main/java-deprecated/org/apache/http/impl/client/AbstractHttpClient.java
    httpcomponents/httpclient/trunk/httpclient/src/main/java-deprecated/org/apache/http/impl/client/DefaultHttpClient.java
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/utils/URLEncodedUtils.java

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java-deprecated/org/apache/http/impl/client/AbstractHttpClient.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java-deprecated/org/apache/http/impl/client/AbstractHttpClient.java?rev=1619439&r1=1619438&r2=1619439&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java-deprecated/org/apache/http/impl/client/AbstractHttpClient.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java-deprecated/org/apache/http/impl/client/AbstractHttpClient.java Thu Aug 21 15:27:50 2014
@@ -102,62 +102,77 @@ import org.apache.http.util.Args;
  * of those aspects with custom, application specific ones. This class
  * also provides factory methods to instantiate those objects:
  * <ul>
- *   <li>{@link HttpRequestExecutor}</li> object used to transmit messages
+ *   <li>{@link HttpRequestExecutor} object used to transmit messages
  *    over HTTP connections. The {@link #createRequestExecutor()} must be
  *    implemented by concrete super classes to instantiate this object.
- *   <li>{@link BasicHttpProcessor}</li> object to manage a list of protocol
+ *    </li>
+ *   <li>{@link BasicHttpProcessor} object to manage a list of protocol
  *    interceptors and apply cross-cutting protocol logic to all incoming
  *    and outgoing HTTP messages. The {@link #createHttpProcessor()} must be
  *    implemented by concrete super classes to instantiate this object.
- *   <li>{@link HttpRequestRetryHandler}</li> object used to decide whether
+ *    </li>
+ *   <li>{@link HttpRequestRetryHandler} object used to decide whether
  *    or not a failed HTTP request is safe to retry automatically.
  *    The {@link #createHttpRequestRetryHandler()} must be
  *    implemented by concrete super classes to instantiate this object.
- *   <li>{@link ClientConnectionManager}</li> object used to manage
+ *    </li>
+ *   <li>{@link ClientConnectionManager} object used to manage
  *    persistent HTTP connections.
- *   <li>{@link ConnectionReuseStrategy}</li> object used to decide whether
+ *    </li>
+ *   <li>{@link ConnectionReuseStrategy} object used to decide whether
  *    or not a HTTP connection can be kept alive and re-used for subsequent
  *    HTTP requests. The {@link #createConnectionReuseStrategy()} must be
  *    implemented by concrete super classes to instantiate this object.
- *   <li>{@link ConnectionKeepAliveStrategy}</li> object used to decide how
+ *    </li>
+ *   <li>{@link ConnectionKeepAliveStrategy} object used to decide how
  *    long a persistent HTTP connection can be kept alive.
  *    The {@link #createConnectionKeepAliveStrategy()} must be
  *    implemented by concrete super classes to instantiate this object.
- *   <li>{@link CookieSpecRegistry}</li> object used to maintain a list of
+ *    </li>
+ *   <li>{@link CookieSpecRegistry} object used to maintain a list of
  *    supported cookie specifications.
  *    The {@link #createCookieSpecRegistry()} must be implemented by concrete
  *    super classes to instantiate this object.
- *   <li>{@link CookieStore}</li> object used to maintain a collection of
+ *    </li>
+ *   <li>{@link CookieStore} object used to maintain a collection of
  *    cookies. The {@link #createCookieStore()} must be implemented by
  *    concrete super classes to instantiate this object.
- *   <li>{@link AuthSchemeRegistry}</li> object used to maintain a list of
+ *    </li>
+ *   <li>{@link AuthSchemeRegistry} object used to maintain a list of
  *    supported authentication schemes.
  *    The {@link #createAuthSchemeRegistry()} must be implemented by concrete
  *    super classes to instantiate this object.
- *   <li>{@link CredentialsProvider}</li> object used to maintain
+ *    </li>
+ *   <li>{@link CredentialsProvider} object used to maintain
  *    a collection user credentials. The {@link #createCredentialsProvider()}
  *    must be implemented by concrete super classes to instantiate
  *    this object.
- *   <li>{@link AuthenticationStrategy}</li> object used to authenticate
+ *    </li>
+ *   <li>{@link AuthenticationStrategy} object used to authenticate
  *    against the target host.
  *    The {@link #createTargetAuthenticationStrategy()} must be implemented
  *    by concrete super classes to instantiate this object.
- *   <li>{@link AuthenticationStrategy}</li> object used to authenticate
+ *    </li>
+ *   <li>{@link AuthenticationStrategy} object used to authenticate
  *    against the proxy host.
  *    The {@link #createProxyAuthenticationStrategy()} must be implemented
  *    by concrete super classes to instantiate this object.
- *   <li>{@link HttpRoutePlanner}</li> object used to calculate a route
+ *    </li>
+ *   <li>{@link HttpRoutePlanner} object used to calculate a route
  *    for establishing a connection to the target host. The route
  *    may involve multiple intermediate hops.
  *    The {@link #createHttpRoutePlanner()} must be implemented
  *    by concrete super classes to instantiate this object.
- *   <li>{@link RedirectStrategy}</li> object used to determine if an HTTP
+ *    </li>
+ *   <li>{@link RedirectStrategy} object used to determine if an HTTP
  *    request should be redirected to a new location in response to an HTTP
  *    response received from the target server.
- *   <li>{@link UserTokenHandler}</li> object used to determine if the
+ *    </li>
+ *   <li>{@link UserTokenHandler} object used to determine if the
  *    execution context is user identity specific.
  *    The {@link #createUserTokenHandler()} must be implemented by
  *    concrete super classes to instantiate this object.
+ *    </li>
  * </ul>
  * <p>
  *   This class also maintains a list of protocol interceptors intended

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java-deprecated/org/apache/http/impl/client/DefaultHttpClient.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java-deprecated/org/apache/http/impl/client/DefaultHttpClient.java?rev=1619439&r1=1619438&r2=1619439&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java-deprecated/org/apache/http/impl/client/DefaultHttpClient.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java-deprecated/org/apache/http/impl/client/DefaultHttpClient.java Thu Aug 21 15:27:50 2014
@@ -173,7 +173,7 @@ public class DefaultHttpClient extends A
      * <li>{@link org.apache.http.params.CoreConnectionPNames#SOCKET_BUFFER_SIZE}:
      *   8192</li>
      * <li>{@link org.apache.http.params.CoreProtocolPNames#USER_AGENT}:
-     *   Apache-HttpClient/<release> (java 1.5)</li>
+     *   Apache-HttpClient (Java 1.5)</li>
      * </ul>
      */
     public static void setDefaultHttpParams(final HttpParams params) {

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/utils/URLEncodedUtils.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/utils/URLEncodedUtils.java?rev=1619439&r1=1619438&r2=1619439&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/utils/URLEncodedUtils.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/utils/URLEncodedUtils.java Thu Aug 21 15:27:50 2014
@@ -141,7 +141,7 @@ public class URLEncodedUtils {
 
     /**
      * Adds all parameters within the Scanner to the list of {@code parameters}, as encoded by
-     * {@code encoding>. For example, a scanner containing the string {@code a=1&b=2&c=3} would add the
+     * {@code encoding}. For example, a scanner containing the string {@code a=1&b=2&c=3} would add the
      * {@link NameValuePair NameValuePairs} a=1, b=2, and c=3 to the list of parameters. By convention, {@code '&'} and
      * {@code ';'} are accepted as parameter separators.
      *