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 2017/05/04 08:54:07 UTC

svn commit: r1793755 - /httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLSetupHandler.java

Author: ggregory
Date: Thu May  4 08:54:07 2017
New Revision: 1793755

URL: http://svn.apache.org/viewvc?rev=1793755&view=rev
Log:
Fix parmeter names.

Modified:
    httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLSetupHandler.java

Modified: httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLSetupHandler.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLSetupHandler.java?rev=1793755&r1=1793754&r2=1793755&view=diff
==============================================================================
--- httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLSetupHandler.java (original)
+++ httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLSetupHandler.java Thu May  4 08:54:07 2017
@@ -46,11 +46,11 @@ public interface SSLSetupHandler {
      * can use this callback to customize properties of the {@link SSLEngine}
      * used to establish the SSL session.
      *
-     * @param sslengine the SSL engine.
+     * @param sslEngine the SSL engine.
      * @throws SSLException if case of SSL protocol error.
      */
     //FIXME: fix type
-    void initalize(SSLEngine sslengine) throws SSLException;
+    void initalize(SSLEngine sslEngine) throws SSLException;
 
     /**
      * Triggered when the SSL connection has been established and initial SSL
@@ -59,10 +59,10 @@ public interface SSLSetupHandler {
      * For instance this would be the right place to enforce SSL cipher
      * strength, validate certificate chain and do hostname checks.
      *
-     * @param iosession the underlying IOSession for the SSL connection.
-     * @param sslsession newly created SSL session.
+     * @param ioSession the underlying IOSession for the SSL connection.
+     * @param sslSession newly created SSL session.
      * @throws SSLException if case of SSL protocol error.
      */
-    void verify(IOSession iosession, SSLSession sslsession) throws SSLException;
+    void verify(IOSession ioSession, SSLSession sslSession) throws SSLException;
 
 }