Package 

Interface HandshakeBuilder

  • All Implemented Interfaces:
    com.tds.common.websocket.handshake.Handshakedata

    
    public interface HandshakeBuilder
     implements Handshakedata
                        

    The interface for building a handshake

    • Method Summary

      Modifier and Type Method Description
      abstract void setContent(Array<byte> content) Setter for the content of the handshake
      abstract void put(String name, String value) Adding a specific field with a specific value
      • Methods inherited from class com.tds.common.websocket.handshake.Handshakedata

        getContent, getFieldValue, hasFieldValue, iterateHttpFields
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • setContent

         abstract void setContent(Array<byte> content)

        Setter for the content of the handshake

        Parameters:
        content - the content to set
      • put

         abstract void put(String name, String value)

        Adding a specific field with a specific value

        Parameters:
        name - the http field
        value - the value for this field