Package org.eclipse.jetty.client
Interface Socks5.Authentication
- Enclosing class:
- Socks5
public static interface Socks5.Authentication
A SOCKS5 authentication method.
Implementations should send and receive the bytes that are specific to the particular authentication method.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
authenticate
(EndPoint endPoint, Callback callback) Performs the authentication send and receive bytes exchanges specific for thisSocks5.Authentication
.
-
Method Details
-
authenticate
Performs the authentication send and receive bytes exchanges specific for this
Socks5.Authentication
.- Parameters:
endPoint
- theEndPoint
to send to and receive from the SOCKS5 servercallback
- the callback to complete when the authentication is complete
-