public class ALPNExtension
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private byte[] |
content |
private static int |
ID |
private java.util.List<java.lang.String> |
protocols |
(package private) ExtensionType |
type |
Constructor and Description |
---|
ALPNExtension(sun.security.ssl.HandshakeInStream input,
int length) |
ALPNExtension(java.util.List<java.lang.String> protocols) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getProtocols() |
private byte[] |
init() |
(package private) int |
length() |
(package private) void |
send(sun.security.ssl.HandshakeOutStream out) |
java.lang.String |
toString() |
private static final int ID
private final java.util.List<java.lang.String> protocols
private final byte[] content
final ExtensionType type
public ALPNExtension(java.util.List<java.lang.String> protocols) throws javax.net.ssl.SSLProtocolException
javax.net.ssl.SSLProtocolException
public ALPNExtension(sun.security.ssl.HandshakeInStream input, int length) throws java.io.IOException
java.io.IOException
private byte[] init() throws javax.net.ssl.SSLProtocolException
javax.net.ssl.SSLProtocolException
public java.util.List<java.lang.String> getProtocols()
int length()
void send(sun.security.ssl.HandshakeOutStream out) throws java.io.IOException
java.io.IOException
public java.lang.String toString()