public final class HelloExtensions extends Object
HelloExtensions.| Modifier and Type | Field and Description |
|---|---|
static int |
LENGTH_BITS |
| Constructor and Description |
|---|
HelloExtensions() |
HelloExtensions(List<HelloExtension> extensions) |
| Modifier and Type | Method and Description |
|---|---|
void |
addExtension(HelloExtension extension)
Add hello extension.
|
static HelloExtensions |
fromReader(org.eclipse.californium.elements.util.DatagramReader reader,
InetSocketAddress peerAddress) |
List<HelloExtension> |
getExtensions() |
int |
getLength() |
byte[] |
toByteArray() |
String |
toString() |
public static final int LENGTH_BITS
public HelloExtensions()
public HelloExtensions(List<HelloExtension> extensions)
public int getLength()
public void addExtension(HelloExtension extension)
extension - hello extension to addIllegalArgumentException - if extension of that type was already
added.public byte[] toByteArray()
public static HelloExtensions fromReader(org.eclipse.californium.elements.util.DatagramReader reader, InetSocketAddress peerAddress) throws HandshakeException
HandshakeExceptionpublic List<HelloExtension> getExtensions()
Copyright © 2023 Eclipse Foundation. All rights reserved.