hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1603933 [2/2] - in /httpcomponents: contrib/httpcore/trunk/src/main/java/org/apache/http/contrib/sip/ httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/ httpasyncclient/trunk/httpasyncclient/src/main/java/...
Date Thu, 19 Jun 2014 15:45:43 GMT
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2965PortAttributeHandler.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2965PortAttributeHandler.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2965PortAttributeHandler.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2965PortAttributeHandler.java
Thu Jun 19 15:45:42 2014
@@ -41,7 +41,7 @@ import org.apache.http.cookie.SetCookie2
 import org.apache.http.util.Args;
 
 /**
- * <tt>"Port"</tt> cookie attribute handler for RFC 2965 cookie spec.
+ * {@code "Port"} cookie attribute handler for RFC 2965 cookie spec.
  *
  * @since 4.0
  */
@@ -82,13 +82,13 @@ public class RFC2965PortAttributeHandler
     }
 
     /**
-     * Returns <tt>true</tt> if the given port exists in the given
+     * Returns {@code true} if the given port exists in the given
      * ports list.
      *
      * @param port port of host where cookie was received from or being sent to.
      * @param ports port list
-     * @return true returns <tt>true</tt> if the given port exists in
-     *         the given ports list; <tt>false</tt> otherwise.
+     * @return true returns {@code true} if the given port exists in
+     *         the given ports list; {@code false} otherwise.
      */
     private static boolean portMatch(final int port, final int[] ports) {
         boolean portInList = false;

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2965VersionAttributeHandler.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2965VersionAttributeHandler.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2965VersionAttributeHandler.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2965VersionAttributeHandler.java
Thu Jun 19 15:45:42 2014
@@ -39,7 +39,7 @@ import org.apache.http.cookie.SetCookie2
 import org.apache.http.util.Args;
 
 /**
- * <tt>"Version"</tt> cookie attribute handler for RFC 2965 cookie spec.
+ * {@code "Version"} cookie attribute handler for RFC 2965 cookie spec.
  *
  * @since 4.0
  */

Modified: httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/impl/cookie/TestCookieRFC2965Spec.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/impl/cookie/TestCookieRFC2965Spec.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/impl/cookie/TestCookieRFC2965Spec.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/impl/cookie/TestCookieRFC2965Spec.java
Thu Jun 19 15:45:42 2014
@@ -46,7 +46,7 @@ import org.junit.Test;
 public class TestCookieRFC2965Spec {
 
     /**
-     * Test parsing cookie <tt>"Path"</tt> attribute.
+     * Test parsing cookie {@code "Path"} attribute.
      */
     @Test
     public void testParsePath() throws Exception {
@@ -103,7 +103,7 @@ public class TestCookieRFC2965Spec {
     }
 
     /**
-     * Test parsing cookie <tt>"Domain"</tt> attribute.
+     * Test parsing cookie {@code "Domain"} attribute.
      */
     @Test
     public void testParseDomain() throws Exception {
@@ -169,7 +169,7 @@ public class TestCookieRFC2965Spec {
     }
 
     /**
-     * Test parsing cookie <tt>"Port"</tt> attribute.
+     * Test parsing cookie {@code "Port"} attribute.
      */
     @Test
     public void testParsePort() throws Exception {
@@ -280,7 +280,7 @@ public class TestCookieRFC2965Spec {
     }
 
     /**
-     * test parsing cookie <tt>"Version"</tt> attribute.
+     * test parsing cookie {@code "Version"} attribute.
      */
     @Test
     public void testParseVersion() throws Exception {
@@ -322,7 +322,7 @@ public class TestCookieRFC2965Spec {
         }
     }
     /**
-     * test parsing cookie <tt>"Max-age"</tt> attribute.
+     * test parsing cookie {@code "Max-age"} attribute.
      */
     @Test
     public void testParseMaxage() throws Exception {
@@ -377,7 +377,7 @@ public class TestCookieRFC2965Spec {
     }
 
     /**
-     * test parsing <tt>"Secure"</tt> attribute.
+     * test parsing {@code "Secure"} attribute.
      */
     @Test
     public void testParseSecure() throws Exception {
@@ -392,7 +392,7 @@ public class TestCookieRFC2965Spec {
     }
 
     /**
-     * test parsing <tt>"Discard"</tt> attribute.
+     * test parsing {@code "Discard"} attribute.
      */
     @Test
     public void testParseDiscard() throws Exception {
@@ -416,8 +416,8 @@ public class TestCookieRFC2965Spec {
     }
 
     /**
-     * test parsing <tt>"Comment"</tt>, <tt>"CommentURL"</tt> and
-     * <tt>"Secure"</tt> attributes.
+     * test parsing {@code "Comment"</tt>, <tt>"CommentURL"} and
+     * {@code "Secure"} attributes.
      */
     @Test
     public void testParseOtherAttributes() throws Exception {
@@ -462,8 +462,8 @@ public class TestCookieRFC2965Spec {
     // ------------------------------------------------------- Test Cookie Validation
 
     /**
-     * Test <tt>Domain</tt> validation when domain is not specified
-     * in <tt>Set-Cookie2</tt> header.
+     * Test {@code Domain} validation when domain is not specified
+     * in {@code Set-Cookie2} header.
      */
     @Test
     public void testValidateNoDomain() throws Exception {
@@ -482,7 +482,7 @@ public class TestCookieRFC2965Spec {
     }
 
     /**
-     * Test <tt>Domain</tt> validation. Cookie domain attribute must have a
+     * Test {@code Domain} validation. Cookie domain attribute must have a
      * leading dot.
      */
     @Test
@@ -501,7 +501,7 @@ public class TestCookieRFC2965Spec {
     }
 
     /**
-     * Test <tt>Domain</tt> validation. Domain must have at least one embedded
dot.
+     * Test {@code Domain} validation. Domain must have at least one embedded dot.
      */
     @Test
     public void testValidateDomainEmbeddedDot() throws Exception {
@@ -527,7 +527,7 @@ public class TestCookieRFC2965Spec {
     }
 
     /**
-     * Test local <tt>Domain</tt> validation. Simple host names
+     * Test local {@code Domain} validation. Simple host names
      * (without any dots) are valid only when cookie domain is specified
      * as ".local".
      */
@@ -574,7 +574,7 @@ public class TestCookieRFC2965Spec {
     }
 
     /**
-     * Test <tt>Domain</tt> validation. Effective host name
+     * Test {@code Domain} validation. Effective host name
      * must domain-match domain attribute.
      */
     @Test
@@ -604,7 +604,7 @@ public class TestCookieRFC2965Spec {
     }
 
     /**
-     * Test local <tt>Domain</tt> validation.
+     * Test local {@code Domain} validation.
      * Effective host name minus domain must not contain any dots.
      */
     @Test
@@ -622,7 +622,7 @@ public class TestCookieRFC2965Spec {
     }
 
     /**
-     * Test cookie <tt>Path</tt> validation. Cookie path attribute must path-match
+     * Test cookie {@code Path} validation. Cookie path attribute must path-match
      * request path.
      */
     @Test
@@ -698,7 +698,7 @@ public class TestCookieRFC2965Spec {
     }
 
     /**
-     * Test cookie <tt>Port</tt> validation. Request port must be in the
+     * Test cookie {@code Port} validation. Request port must be in the
      * port attribute list.
      */
     @Test
@@ -731,7 +731,7 @@ public class TestCookieRFC2965Spec {
     }
 
     /**
-     * Test cookie <tt>Version</tt> validation.
+     * Test cookie {@code Version} validation.
      */
     @Test
     public void testValidateVersion() throws Exception {
@@ -751,7 +751,7 @@ public class TestCookieRFC2965Spec {
     // ------------------------------------------------------- Test Cookie Matching
 
     /**
-     * test cookie <tt>Path</tt> matching. Cookie path attribute must path-match
+     * test cookie {@code Path} matching. Cookie path attribute must path-match
      * path of the request URI.
      */
     @Test
@@ -768,7 +768,7 @@ public class TestCookieRFC2965Spec {
     }
 
     /**
-     * test cookie <tt>Domain</tt> matching.
+     * test cookie {@code Domain} matching.
      */
     @Test
     public void testMatchDomain() throws Exception {
@@ -789,7 +789,7 @@ public class TestCookieRFC2965Spec {
     }
 
     /**
-     * test cookie local <tt>Domain</tt> matching.
+     * test cookie local {@code Domain} matching.
      */
     @Test
     public void testMatchDomainLocal() throws Exception {
@@ -805,7 +805,7 @@ public class TestCookieRFC2965Spec {
     }
 
     /**
-     * test cookie <tt>Port</tt> matching.
+     * test cookie {@code Port} matching.
      */
     @Test
     public void testMatchPort() throws Exception {
@@ -865,7 +865,7 @@ public class TestCookieRFC2965Spec {
     }
 
     /**
-     * test cookie <tt>Secure</tt> attribute.
+     * test cookie {@code Secure} attribute.
      */
     @Test
     public void testCookieSecure() throws Exception {
@@ -996,7 +996,7 @@ public class TestCookieRFC2965Spec {
     // ------------------------------------------------------- Backward compatibility tests
 
     /**
-     * Test rejection of <tt>Set-Cookie</tt> header.
+     * Test rejection of {@code Set-Cookie} header.
      */
     @Test
     public void testRejectSetCookie() throws Exception {

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java-deprecated/org/apache/http/nio/protocol/HttpAsyncRequestExecutionHandler.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java-deprecated/org/apache/http/nio/protocol/HttpAsyncRequestExecutionHandler.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java-deprecated/org/apache/http/nio/protocol/HttpAsyncRequestExecutionHandler.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java-deprecated/org/apache/http/nio/protocol/HttpAsyncRequestExecutionHandler.java
Thu Jun 19 15:45:42 2014
@@ -32,7 +32,7 @@ import org.apache.http.protocol.HttpCont
 import org.apache.http.protocol.HttpProcessor;
 
 /**
- * <tt>HttpAsyncRequestExecutionHandler</tt> represents a callback interface
+ * {@code HttpAsyncRequestExecutionHandler} represents a callback interface
  * that combines functionality of {@link HttpAsyncRequestProducer} and
  * {@link HttpAsyncResponseConsumer} and is capable of handling logically
  * related series of HTTP request / response exchanges.

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/bootstrap/ServerBootstrap.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/bootstrap/ServerBootstrap.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/bootstrap/ServerBootstrap.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/bootstrap/ServerBootstrap.java
Thu Jun 19 15:45:42 2014
@@ -203,7 +203,7 @@ public class ServerBootstrap {
     }
 
     /**
-     * Assigns <tt>Server</tt> response header value.
+     * Assigns {@code Server} response header value.
      * <p/>
      * Please note this value can be overridden by the {@link #setHttpProcessor(
      * org.apache.http.protocol.HttpProcessor)} method.

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/NHttpConnection.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/NHttpConnection.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/NHttpConnection.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/NHttpConnection.java
Thu Jun 19 15:45:42 2014
@@ -77,7 +77,7 @@ public interface NHttpConnection extends
 
     /**
      * Returns the current HTTP response if one is being received / transmitted.
-     * Otherwise returns <tt>null</tt>.
+     * Otherwise returns {@code null}.
      *
      * @return HTTP response, if available, <code>null</code> otherwise.
      */

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/entity/HttpAsyncContentProducer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/entity/HttpAsyncContentProducer.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/entity/HttpAsyncContentProducer.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/entity/HttpAsyncContentProducer.java
Thu Jun 19 15:45:42 2014
@@ -34,7 +34,7 @@ import org.apache.http.nio.ContentEncode
 import org.apache.http.nio.IOControl;
 
 /**
- * <tt>HttpAsyncContentProducer</tt> is a callback interface whose methods
+ * {@code HttpAsyncContentProducer} is a callback interface whose methods
  * get invoked to stream out message content to a non-blocking HTTP connection.
  *
  * @since 4.2

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncClientExchangeHandler.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncClientExchangeHandler.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncClientExchangeHandler.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncClientExchangeHandler.java
Thu Jun 19 15:45:42 2014
@@ -39,15 +39,15 @@ import org.apache.http.nio.ContentEncode
 import org.apache.http.nio.IOControl;
 
 /**
- * <tt>HttpAsyncClientExchangeHandler</tt> represents a callback interface whose
+ * {@code HttpAsyncClientExchangeHandler} represents a callback interface whose
  * methods get invoked when executing one or multiple HTTP message exchanges
  * on the client side.
  * <p/>
- * Individual <tt>HttpAsyncClientExchangeHandler</tt> are expected to make use
of
+ * Individual {@code HttpAsyncClientExchangeHandler} are expected to make use of
  * a {@link org.apache.http.protocol.HttpProcessor} to generate mandatory protocol
  * headers for all outgoing messages and apply common, cross-cutting message
  * transformations to all incoming and outgoing messages.
- * <tt>HttpAsyncClientExchangeHandler</tt>s can delegate implementation
+ * {@code HttpAsyncClientExchangeHandler}s can delegate implementation
  * of application specific content generation and processing to
  * a {@link HttpAsyncRequestProducer} and a {@link HttpAsyncResponseConsumer}.
  *

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncExchange.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncExchange.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncExchange.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncExchange.java
Thu Jun 19 15:45:42 2014
@@ -32,7 +32,7 @@ import org.apache.http.HttpResponse;
 import org.apache.http.concurrent.Cancellable;
 
 /**
- * <tt>HttpAsyncExchange</tt> represents a server-side HTTP message exchange
+ * {@code HttpAsyncExchange} represents a server-side HTTP message exchange
  * where an HTTP response can be deferred without blocking the I/O event thread
  * and triggered asynchronously at a later point of later time.
  *

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncExpectationVerifier.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncExpectationVerifier.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncExpectationVerifier.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncExpectationVerifier.java
Thu Jun 19 15:45:42 2014
@@ -33,7 +33,7 @@ import org.apache.http.HttpException;
 import org.apache.http.protocol.HttpContext;
 
 /**
- * <tt>HttpAsyncExpectationVerifier</tt> defines a strategy to verify whether
+ * {@code HttpAsyncExpectationVerifier} defines a strategy to verify whether
  * or not an incoming HTTP request meets the target server's expectations.
  *<p/>
  * A server that does not understand or is unable to comply with any of

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestConsumer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestConsumer.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestConsumer.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestConsumer.java
Thu Jun 19 15:45:42 2014
@@ -36,7 +36,7 @@ import org.apache.http.nio.IOControl;
 import org.apache.http.protocol.HttpContext;
 
 /**
- * <tt>HttpAsyncRequestConsumer</tt> is a callback interface whose methods
+ * {@code HttpAsyncRequestConsumer} is a callback interface whose methods
  * get invoked to process an HTTP request message and to stream message
  * content from a non-blocking HTTP connection on the server side.
  *

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestExecutor.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestExecutor.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestExecutor.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestExecutor.java
Thu Jun 19 15:45:42 2014
@@ -52,9 +52,9 @@ import org.apache.http.util.Args;
 import org.apache.http.util.Asserts;
 
 /**
- * <tt>HttpAsyncRequestExecutor</tt> is a fully asynchronous HTTP client side
+ * {@code HttpAsyncRequestExecutor} is a fully asynchronous HTTP client side
  * protocol handler based on the NIO (non-blocking) I/O model.
- * <tt>HttpAsyncRequestExecutor</tt> translates individual events fired through
+ * {@code HttpAsyncRequestExecutor} translates individual events fired through
  * the {@link NHttpClientEventHandler} interface into logically related HTTP
  * message exchanges.
  * <p/> The caller is expected to pass an instance of
@@ -65,11 +65,11 @@ import org.apache.http.util.Asserts;
  * returns <code>true</code>. The {@link HttpAsyncRequester} utility class can
  * be used to facilitate initiation of asynchronous HTTP request execution.
  * <p/>
- * Individual <tt>HttpAsyncClientExchangeHandler</tt> are expected to make use
of
+ * Individual {@code HttpAsyncClientExchangeHandler} are expected to make use of
  * a {@link org.apache.http.protocol.HttpProcessor} to generate mandatory protocol
  * headers for all outgoing messages and apply common, cross-cutting message
  * transformations to all incoming and outgoing messages.
- * <tt>HttpAsyncClientExchangeHandler</tt>s can delegate implementation of
+ * {@code HttpAsyncClientExchangeHandler}s can delegate implementation of
  * application specific content generation and processing to
  * a {@link HttpAsyncRequestProducer} and a {@link HttpAsyncResponseConsumer}.
  *
@@ -87,7 +87,7 @@ public class HttpAsyncRequestExecutor im
     private final ExceptionLogger exceptionLogger;
 
     /**
-     * Creates new instance of <tt>HttpAsyncRequestExecutor</tt>.
+     * Creates new instance of {@code HttpAsyncRequestExecutor}.
      * @param waitForContinue wait for continue time period.
      * @param exceptionLogger Exception logger. If <code>null</code>
      *   {@link ExceptionLogger#NO_OP} will be used. Please note that the exception

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestHandler.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestHandler.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestHandler.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestHandler.java
Thu Jun 19 15:45:42 2014
@@ -34,7 +34,7 @@ import org.apache.http.HttpRequest;
 import org.apache.http.protocol.HttpContext;
 
 /**
- * <tt>HttpAsyncRequestHandler</tt> represents a routine for asynchronous
+ * {@code HttpAsyncRequestHandler} represents a routine for asynchronous
  * processing of a specific group of non-blocking HTTP requests. Protocol
  * handlers are designed to take care of protocol specific aspects, whereas
  * individual request handlers are expected to take care of application

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestHandlerMapper.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestHandlerMapper.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestHandlerMapper.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestHandlerMapper.java
Thu Jun 19 15:45:42 2014
@@ -30,7 +30,7 @@ package org.apache.http.nio.protocol;
 import org.apache.http.HttpRequest;
 
 /**
- * <tt>HttpAsyncRequestHandlerMapper</tt> can be used to resolve an instance
+ * {@code HttpAsyncRequestHandlerMapper} can be used to resolve an instance
  * of {@link HttpAsyncRequestHandler} matching a particular {@link HttpRequest}.
  * Usually the resolved request handler will be used to process the request.
  *

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestHandlerResolver.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestHandlerResolver.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestHandlerResolver.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestHandlerResolver.java
Thu Jun 19 15:45:42 2014
@@ -28,7 +28,7 @@
 package org.apache.http.nio.protocol;
 
 /**
- * <tt>HttpAsyncRequestHandlerResolver</tt> can be used to map an instance
+ * {@code HttpAsyncRequestHandlerResolver} can be used to map an instance
  * of {@link HttpAsyncRequestHandler} matching a particular request URI.
  * Usually the mapped request handler will be used to process the request
  * with the specified request URI.

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestProducer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestProducer.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestProducer.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestProducer.java
Thu Jun 19 15:45:42 2014
@@ -37,7 +37,7 @@ import org.apache.http.nio.IOControl;
 import org.apache.http.protocol.HttpContext;
 
 /**
- * <tt>HttpAsyncRequestProducer</tt> is a callback interface whose methods
+ * {@code HttpAsyncRequestProducer} is a callback interface whose methods
  * get invoked to generate an HTTP request message and to stream message
  * content to a non-blocking HTTP connection.
  * <p/>

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequester.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequester.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequester.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequester.java
Thu Jun 19 15:45:42 2014
@@ -49,7 +49,7 @@ import org.apache.http.protocol.HttpProc
 import org.apache.http.util.Args;
 
 /**
- * <tt>HttpAsyncRequester</tt> is a utility class that can be used
+ * {@code HttpAsyncRequester} is a utility class that can be used
  * in conjunction with {@link HttpAsyncRequestExecutor} to initiate execution
  * of asynchronous HTTP requests.
  *

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncResponseConsumer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncResponseConsumer.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncResponseConsumer.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncResponseConsumer.java
Thu Jun 19 15:45:42 2014
@@ -37,7 +37,7 @@ import org.apache.http.nio.IOControl;
 import org.apache.http.protocol.HttpContext;
 
 /**
- * <tt>HttpAsyncResponseConsumer</tt> is a callback interface whose methods
+ * {@code HttpAsyncResponseConsumer} is a callback interface whose methods
  * get invoked to process an HTTP response message and to stream message
  * content from a non-blocking HTTP connection on the client side.
  *

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncResponseProducer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncResponseProducer.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncResponseProducer.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncResponseProducer.java
Thu Jun 19 15:45:42 2014
@@ -36,7 +36,7 @@ import org.apache.http.nio.IOControl;
 import org.apache.http.protocol.HttpContext;
 
 /**
- * <tt>HttpAsyncResponseProducer</tt> is a callback interface whose methods
+ * {@code HttpAsyncResponseProducer} is a callback interface whose methods
  * get invoked to generate an HTTP response message and to stream message
  * content to a non-blocking HTTP connection on the server side.
  *

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncService.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncService.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncService.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncService.java
Thu Jun 19 15:45:42 2014
@@ -66,13 +66,13 @@ import org.apache.http.util.Args;
 import org.apache.http.util.Asserts;
 
 /**
- * <tt>HttpAsyncService</tt> is a fully asynchronous HTTP server side protocol
+ * {@code HttpAsyncService} is a fully asynchronous HTTP server side protocol
  * handler based on the non-blocking (NIO) I/O model.
- * <tt>HttpAsyncServerProtocolHandler</tt> translates individual events fired
+ * {@code HttpAsyncServerProtocolHandler} translates individual events fired
  * through the {@link NHttpServerEventHandler} interface into logically related
  * HTTP message exchanges.
  * <p/>
- * Upon receiving an incoming request <tt>HttpAsyncService</tt> verifies
+ * Upon receiving an incoming request {@code HttpAsyncService} verifies
  * the message for compliance with the server expectations using
  * {@link HttpAsyncExpectationVerifier}, if provided, and then
  * {@link HttpAsyncRequestHandlerMapper} is used to map the request
@@ -81,7 +81,7 @@ import org.apache.http.util.Asserts;
  * {@link HttpAsyncRequestHandler} instance to process the incoming request
  * and to generate an outgoing response.
  * <p/>
- * <tt>HttpAsyncService</tt> relies on {@link HttpProcessor} to generate
+ * {@code HttpAsyncService} relies on {@link HttpProcessor} to generate
  * mandatory protocol headers for all outgoing messages and apply common,
  * cross-cutting message transformations to all incoming and outgoing messages,
  * whereas individual {@link HttpAsyncRequestHandler}s are expected
@@ -110,7 +110,7 @@ public class HttpAsyncService implements
     private final ExceptionLogger exceptionLogger;
 
     /**
-     * Creates new instance of <tt>HttpAsyncServerProtocolHandler</tt>.
+     * Creates new instance of {@code HttpAsyncServerProtocolHandler}.
      *
      * @param httpProcessor HTTP protocol processor (required).
      * @param connStrategy Connection re-use strategy (required).
@@ -139,7 +139,7 @@ public class HttpAsyncService implements
     }
 
     /**
-     * Creates new instance of <tt>HttpAsyncServerProtocolHandler</tt>.
+     * Creates new instance of {@code HttpAsyncServerProtocolHandler}.
      *
      * @param httpProcessor HTTP protocol processor (required).
      * @param connStrategy Connection re-use strategy (required).
@@ -164,7 +164,7 @@ public class HttpAsyncService implements
     }
 
     /**
-     * Creates new instance of <tt>HttpAsyncServerProtocolHandler</tt>.
+     * Creates new instance of {@code HttpAsyncServerProtocolHandler}.
      *
      * @param httpProcessor HTTP protocol processor.
      * @param connStrategy Connection re-use strategy. If <code>null</code>
@@ -186,7 +186,7 @@ public class HttpAsyncService implements
     }
 
     /**
-     * Creates new instance of <tt>HttpAsyncServerProtocolHandler</tt>.
+     * Creates new instance of {@code HttpAsyncServerProtocolHandler}.
      *
      * @param httpProcessor HTTP protocol processor.
      * @param connStrategy Connection re-use strategy. If <code>null</code>
@@ -221,7 +221,7 @@ public class HttpAsyncService implements
     }
 
     /**
-     * Creates new instance of <tt>HttpAsyncServerProtocolHandler</tt>.
+     * Creates new instance of {@code HttpAsyncServerProtocolHandler}.
      *
      * @param httpProcessor HTTP protocol processor.
      * @param handlerMapper Request handler mapper.
@@ -235,7 +235,7 @@ public class HttpAsyncService implements
     }
 
     /**
-     * Creates new instance of <tt>HttpAsyncServerProtocolHandler</tt>.
+     * Creates new instance of {@code HttpAsyncServerProtocolHandler}.
      *
      * @param httpProcessor HTTP protocol processor.
      * @param handlerMapper Request handler mapper.

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/SessionInputBuffer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/SessionInputBuffer.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/SessionInputBuffer.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/SessionInputBuffer.java
Thu Jun 19 15:45:42 2014
@@ -66,7 +66,7 @@ public interface SessionInputBuffer {
      * {@link ReadableByteChannel}.
      *
      * @param src the source channel
-     * @return The number of bytes read, possibly zero, or <tt>-1</tt> if the
+     * @return The number of bytes read, possibly zero, or {@code -1} if the
      *   channel has reached end-of-stream.
      * @throws IOException in case of an I/O error.
      */

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLIOSession.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLIOSession.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLIOSession.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLIOSession.java
Thu Jun 19 15:45:42 2014
@@ -52,11 +52,11 @@ import org.apache.http.util.Args;
 import org.apache.http.util.Asserts;
 
 /**
- * <tt>SSLIOSession</tt> is a decorator class intended to transparently extend
+ * {@code SSLIOSession} is a decorator class intended to transparently extend
  * an {@link IOSession} with transport layer security capabilities based on
  * the SSL/TLS protocol.
  * <p/>
- * The resultant instance of <tt>SSLIOSession</tt> must be added to the original
+ * The resultant instance of {@code SSLIOSession} must be added to the original
  * I/O session as an attribute with the {@link #SESSION_KEY} key.
  * <pre>
  *  SSLContext sslcontext = SSLContext.getInstance("SSL");
@@ -97,7 +97,7 @@ public class SSLIOSession implements IOS
     private volatile boolean initialized;
 
     /**
-     * Creates new instance of <tt>SSLIOSession</tt> class. The instances created
uses a
+     * Creates new instance of {@code SSLIOSession} class. The instances created uses a
      * {@link PermanentSSLBufferManagementStrategy} to manage its buffers.
      *
      * @param session I/O session to be decorated with the TLS/SSL capabilities.
@@ -118,7 +118,7 @@ public class SSLIOSession implements IOS
     }
 
     /**
-     * Creates new instance of <tt>SSLIOSession</tt> class.
+     * Creates new instance of {@code SSLIOSession} class.
      *
      * @param session I/O session to be decorated with the TLS/SSL capabilities.
      * @param sslMode SSL mode (client or server)
@@ -165,7 +165,7 @@ public class SSLIOSession implements IOS
     }
 
     /**
-     * Creates new instance of <tt>SSLIOSession</tt> class.
+     * Creates new instance of {@code SSLIOSession} class.
      *
      * @param session I/O session to be decorated with the TLS/SSL capabilities.
      * @param sslMode SSL mode (client or server)



Mime
View raw message