Class WebSocketImpl.WebSocketFrameImpl

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private byte[] bytes  
    • Constructor Summary

      Constructors 
      Constructor Description
      WebSocketFrameImpl​(java.lang.String payload, boolean isBase64)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] binary()
      Returns binary payload.
      java.lang.String text()
      Returns text payload.
      • Methods inherited from class java.lang.Object

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

      • bytes

        private final byte[] bytes
    • Constructor Detail

      • WebSocketFrameImpl

        WebSocketFrameImpl​(java.lang.String payload,
                           boolean isBase64)