Skip to content

Commit 4d18511

Browse files
committed
Fix javadoc
1 parent 60e0272 commit 4d18511

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

client/src/main/java/org/asynchttpclient/handler/AsyncHandlerExtensions.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,14 @@ public interface AsyncHandlerExtensions {
5858
*
5959
* Might be called several times if the name was resolved to multiple addresses and we failed to connect to the first(s) one(s).
6060
*
61-
* @param address the address we try to connect to
61+
* @param remoteAddress the address we try to connect to
6262
*/
63-
void onTcpConnect(InetSocketAddress address);
63+
void onTcpConnect(InetSocketAddress remoteAddress);
6464

6565
/**
6666
* Notify the callback after a successful connect
6767
*
68-
* @param address the address we try to connect to
68+
* @param remoteAddress the address we try to connect to
6969
* @param connection the connection
7070
*/
7171
void onTcpConnectSuccess(InetSocketAddress remoteAddress, Channel connection);
@@ -75,7 +75,7 @@ public interface AsyncHandlerExtensions {
7575
*
7676
* Might be called several times, or be followed by onTcpConnectSuccess when the name was resolved to multiple addresses.
7777
*
78-
* @param address the address we try to connect to
78+
* @param remoteAddress the address we try to connect to
7979
* @param cause the cause of the failure
8080
*/
8181
void onTcpConnectFailure(InetSocketAddress remoteAddress, Throwable cause);

0 commit comments

Comments
 (0)