Package 

Interface ServerHandshakeBuilder

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

    
    public interface ServerHandshakeBuilder
     implements HandshakeBuilder, ServerHandshake
                        

    The interface for building a handshake for the server

    • Method Summary

      Modifier and Type Method Description
      abstract void setHttpStatus(short status) Setter for the http status code
      abstract void setHttpStatusMessage(String message) Setter for the http status message
      • Methods inherited from class com.tds.common.websocket.handshake.HandshakeBuilder

        put, setContent
      • Methods inherited from class com.tds.common.websocket.handshake.Handshakedata

        getContent, getFieldValue, hasFieldValue, iterateHttpFields
      • Methods inherited from class com.tds.common.websocket.handshake.ServerHandshake

        getHttpStatus, getHttpStatusMessage
      • Methods inherited from class java.lang.Object

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

      • setHttpStatus

         abstract void setHttpStatus(short status)

        Setter for the http status code

        Parameters:
        status - the http status code
      • setHttpStatusMessage

         abstract void setHttpStatusMessage(String message)

        Setter for the http status message

        Parameters:
        message - the http status message