-
public interface Handshakedata
The interface for the data of a handshake
-
-
Method Summary
Modifier and Type Method Description abstract Iterator<String>
iterateHttpFields()
Iterator for the http fields abstract String
getFieldValue(String name)
Gets the value of the field abstract boolean
hasFieldValue(String name)
Checks if this handshake contains a specific field abstract Array<byte>
getContent()
Get the content of the handshake -
-
Method Detail
-
iterateHttpFields
abstract Iterator<String> iterateHttpFields()
Iterator for the http fields
-
getFieldValue
abstract String getFieldValue(String name)
Gets the value of the field
- Parameters:
name
- The name of the field
-
hasFieldValue
abstract boolean hasFieldValue(String name)
Checks if this handshake contains a specific field
- Parameters:
name
- The name of the field
-
getContent
abstract Array<byte> getContent()
Get the content of the handshake
-
-
-
-