Class OpCode


  • @Deprecated(since="2021-05-27")
    public final class OpCode
    extends java.lang.Object
    Deprecated.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static byte BINARY
      Deprecated.
      OpCode for a Binary Frame
      static byte CLOSE
      Deprecated.
      OpCode for a Close Frame
      static byte CONTINUATION
      Deprecated.
      OpCode for a Continuation Frame
      static byte PING
      Deprecated.
      OpCode for a Ping Frame
      static byte PONG
      Deprecated.
      OpCode for a Pong Frame
      static byte TEXT
      Deprecated.
      OpCode for a Text Frame
      static byte UNDEFINED
      Deprecated.
      An undefined OpCode
    • Constructor Summary

      Constructors 
      Constructor Description
      OpCode()
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static boolean isControlFrame​(byte opcode)
      Deprecated.
       
      static boolean isDataFrame​(byte opcode)
      Deprecated.
       
      static boolean isKnown​(byte opcode)
      Deprecated.
      Test for known opcodes (per the RFC spec)
      static java.lang.String name​(byte opcode)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait