Interface Handshakedata

    • Method Detail

      • 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