Interface Handshakedata

All Known Subinterfaces:
ClientHandshake, ClientHandshakeBuilder, HandshakeBuilder, ServerHandshake, ServerHandshakeBuilder
All Known Implementing Classes:
HandshakedataImpl1, HandshakeImpl1Client, HandshakeImpl1Server

public interface Handshakedata
The interface for the data of a handshake
  • Method Details

    • iterateHttpFields

      Iterator<String> iterateHttpFields()
      Iterator for the http fields
      Returns:
      the http fields
    • getFieldValue

      String getFieldValue(String name)
      Gets the value of the field
      Parameters:
      name - The name of the field
      Returns:
      the value of the field or an empty String if not in the handshake
    • hasFieldValue

      boolean hasFieldValue(String name)
      Checks if this handshake contains a specific field
      Parameters:
      name - The name of the field
      Returns:
      true, if it contains the field
    • getContent

      byte[] getContent()
      Get the content of the handshake
      Returns:
      the content as byte-array