Class ApplicationLayerProtocolNegotiationExtension
java.lang.Object
tech.kwik.agent15.extension.ApplicationLayerProtocolNegotiationExtension
- All Implemented Interfaces:
Extension
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getBytes()Serializes the extension to a byte array, including the extension type and length.intgetType()parse(ByteBuffer buffer) Parses an application layer protocol negotiation extension from a byte stream.toString()
-
Constructor Details
-
ApplicationLayerProtocolNegotiationExtension
-
ApplicationLayerProtocolNegotiationExtension
-
-
Method Details
-
parse
public static ApplicationLayerProtocolNegotiationExtension parse(ByteBuffer buffer) throws DecodeErrorException Parses an application layer protocol negotiation extension from a byte stream.- Parameters:
buffer-- Throws:
DecodeErrorException
-
getBytes
-
getProtocols
-
toString
-
getType
-