Package org.eclipse.jetty.client
Class Socks5.NoAuthenticationFactory
java.lang.Object
org.eclipse.jetty.client.Socks5.NoAuthenticationFactory
- All Implemented Interfaces:
Socks5.Authentication.Factory
- Enclosing class:
- Socks5
public static class Socks5.NoAuthenticationFactory
extends Object
implements Socks5.Authentication.Factory
The implementation of the NO AUTH
authentication method defined in
RFC 1928.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
METHOD
public static final byte METHOD- See Also:
-
-
Constructor Details
-
NoAuthenticationFactory
public NoAuthenticationFactory()
-
-
Method Details
-
getMethod
public byte getMethod()- Specified by:
getMethod
in interfaceSocks5.Authentication.Factory
- Returns:
- the authentication method defined by RFC 1928
-
newAuthentication
- Specified by:
newAuthentication
in interfaceSocks5.Authentication.Factory
- Returns:
- a new
Socks5.Authentication
-