Class PongMessageDecoder

  • All Implemented Interfaces:
    javax.websocket.Decoder, javax.websocket.Decoder.Binary<javax.websocket.PongMessage>

    public class PongMessageDecoder
    extends AbstractDecoder
    implements javax.websocket.Decoder.Binary<javax.websocket.PongMessage>
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface javax.websocket.Decoder

        javax.websocket.Decoder.Binary<T extends java.lang.Object>, javax.websocket.Decoder.BinaryStream<T extends java.lang.Object>, javax.websocket.Decoder.Text<T extends java.lang.Object>, javax.websocket.Decoder.TextStream<T extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.websocket.PongMessage decode​(java.nio.ByteBuffer bytes)  
      boolean willDecode​(java.nio.ByteBuffer bytes)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.websocket.Decoder

        destroy, init
    • Constructor Detail

      • PongMessageDecoder

        public PongMessageDecoder()
    • Method Detail

      • decode

        public javax.websocket.PongMessage decode​(java.nio.ByteBuffer bytes)
                                           throws javax.websocket.DecodeException
        Specified by:
        decode in interface javax.websocket.Decoder.Binary<javax.websocket.PongMessage>
        Throws:
        javax.websocket.DecodeException
      • willDecode

        public boolean willDecode​(java.nio.ByteBuffer bytes)
        Specified by:
        willDecode in interface javax.websocket.Decoder.Binary<javax.websocket.PongMessage>