Class OpCode

java.lang.Object
org.eclipse.jetty.websocket.core.OpCode

public final class OpCode extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final byte
    OpCode for a Binary Frame
    static final byte
    OpCode for a Close Frame
    static final byte
    OpCode for a Continuation Frame
    static final byte
    OpCode for a Ping Frame
    static final byte
    OpCode for a Pong Frame
    static final byte
    OpCode for a Text Frame
    static final byte
    An undefined OpCode
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static byte
    getOpCode(byte firstByte)
     
    static boolean
    isControlFrame(byte opcode)
     
    static boolean
    isDataFrame(byte opcode)
     
    static boolean
    isKnown(byte opcode)
    Test for known opcodes (per the RFC spec)
    static String
    name(byte opcode)
     

    Methods inherited from class java.lang.Object

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