public class org.glassfish.grizzly.websockets.ClosingFrame extends org.glassfish.grizzly.websockets.DataFrame
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.glassfish.grizzly.websockets.ClosingFrame
  super_class: org.glassfish.grizzly.websockets.DataFrame
{
  public static final byte[] EMPTY_BYTES;
    descriptor: [B
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  private int code;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private java.lang.String reason;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 29
            iconst_0
            newarray 8
            putstatic org.glassfish.grizzly.websockets.ClosingFrame.EMPTY_BYTES:[B
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.websockets.ClosingFrame this
         0: .line 34
            aload 0 /* this */
            new org.glassfish.grizzly.websockets.frametypes.ClosingFrameType
            dup
            invokespecial org.glassfish.grizzly.websockets.frametypes.ClosingFrameType.<init>:()V
            invokespecial org.glassfish.grizzly.websockets.DataFrame.<init>:(Lorg/glassfish/grizzly/websockets/FrameType;)V
         1: .line 30
            aload 0 /* this */
            sipush 1000
            putfield org.glassfish.grizzly.websockets.ClosingFrame.code:I
         2: .line 35
            return
        end local 0 // org.glassfish.grizzly.websockets.ClosingFrame this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/glassfish/grizzly/websockets/ClosingFrame;

  public void <init>(int, java.lang.String);
    descriptor: (ILjava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // org.glassfish.grizzly.websockets.ClosingFrame this
        start local 1 // int code
        start local 2 // java.lang.String reason
         0: .line 38
            aload 0 /* this */
            new org.glassfish.grizzly.websockets.frametypes.ClosingFrameType
            dup
            invokespecial org.glassfish.grizzly.websockets.frametypes.ClosingFrameType.<init>:()V
            invokespecial org.glassfish.grizzly.websockets.DataFrame.<init>:(Lorg/glassfish/grizzly/websockets/FrameType;)V
         1: .line 30
            aload 0 /* this */
            sipush 1000
            putfield org.glassfish.grizzly.websockets.ClosingFrame.code:I
         2: .line 39
            iload 1 /* code */
            ifle 4
         3: .line 40
            aload 0 /* this */
            iload 1 /* code */
            putfield org.glassfish.grizzly.websockets.ClosingFrame.code:I
         4: .line 42
      StackMap locals: org.glassfish.grizzly.websockets.ClosingFrame int java.lang.String
      StackMap stack:
            aload 0 /* this */
            aload 2 /* reason */
            putfield org.glassfish.grizzly.websockets.ClosingFrame.reason:Ljava/lang/String;
         5: .line 43
            return
        end local 2 // java.lang.String reason
        end local 1 // int code
        end local 0 // org.glassfish.grizzly.websockets.ClosingFrame this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    6     0    this  Lorg/glassfish/grizzly/websockets/ClosingFrame;
            0    6     1    code  I
            0    6     2  reason  Ljava/lang/String;
    MethodParameters:
        Name  Flags
      code    
      reason  

  public void <init>(byte[]);
    descriptor: ([B)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.glassfish.grizzly.websockets.ClosingFrame this
        start local 1 // byte[] data
         0: .line 46
            aload 0 /* this */
            new org.glassfish.grizzly.websockets.frametypes.ClosingFrameType
            dup
            invokespecial org.glassfish.grizzly.websockets.frametypes.ClosingFrameType.<init>:()V
            invokespecial org.glassfish.grizzly.websockets.DataFrame.<init>:(Lorg/glassfish/grizzly/websockets/FrameType;)V
         1: .line 30
            aload 0 /* this */
            sipush 1000
            putfield org.glassfish.grizzly.websockets.ClosingFrame.code:I
         2: .line 47
            aload 0 /* this */
            aload 1 /* data */
            invokevirtual org.glassfish.grizzly.websockets.ClosingFrame.setPayload:([B)V
         3: .line 48
            return
        end local 1 // byte[] data
        end local 0 // org.glassfish.grizzly.websockets.ClosingFrame this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/glassfish/grizzly/websockets/ClosingFrame;
            0    4     1  data  [B
    MethodParameters:
      Name  Flags
      data  

  public int getCode();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.websockets.ClosingFrame this
         0: .line 51
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ClosingFrame.code:I
            ireturn
        end local 0 // org.glassfish.grizzly.websockets.ClosingFrame this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/glassfish/grizzly/websockets/ClosingFrame;

  public java.lang.String getReason();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.websockets.ClosingFrame this
         0: .line 55
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ClosingFrame.reason:Ljava/lang/String;
            areturn
        end local 0 // org.glassfish.grizzly.websockets.ClosingFrame this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/glassfish/grizzly/websockets/ClosingFrame;

  public void setPayload(byte[]);
    descriptor: ([B)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // org.glassfish.grizzly.websockets.ClosingFrame this
        start local 1 // byte[] bytes
         0: .line 60
            aload 1 /* bytes */
            arraylength
            iconst_1
            if_icmpne 2
         1: .line 61
            new org.glassfish.grizzly.websockets.ProtocolError
            dup
            ldc "Closing frame payload, if present, must be a minimum of 2 bytes in length"
            invokespecial org.glassfish.grizzly.websockets.ProtocolError.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 63
      StackMap locals:
      StackMap stack:
            aload 1 /* bytes */
            arraylength
            ifle 9
         3: .line 64
            aload 0 /* this */
            aload 1 /* bytes */
            iconst_0
            iconst_2
            invokestatic org.glassfish.grizzly.websockets.Utils.toLong:([BII)J
            l2i
            putfield org.glassfish.grizzly.websockets.ClosingFrame.code:I
         4: .line 65
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ClosingFrame.code:I
            sipush 1000
            if_icmplt 6
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ClosingFrame.code:I
            sipush 1004
            if_icmpeq 6
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ClosingFrame.code:I
            sipush 1005
            if_icmpeq 6
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ClosingFrame.code:I
            sipush 1006
            if_icmpeq 6
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ClosingFrame.code:I
            sipush 1011
            if_icmple 5
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ClosingFrame.code:I
            sipush 3000
            if_icmplt 6
      StackMap locals:
      StackMap stack:
         5: aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ClosingFrame.code:I
            sipush 4999
            if_icmple 7
         6: .line 66
      StackMap locals:
      StackMap stack:
            new org.glassfish.grizzly.websockets.ProtocolError
            dup
            new java.lang.StringBuilder
            dup
            ldc "Illegal status code: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ClosingFrame.code:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial org.glassfish.grizzly.websockets.ProtocolError.<init>:(Ljava/lang/String;)V
            athrow
         7: .line 68
      StackMap locals:
      StackMap stack:
            aload 1 /* bytes */
            arraylength
            iconst_2
            if_icmple 9
         8: .line 69
            aload 0 /* this */
            aload 1 /* bytes */
            invokevirtual org.glassfish.grizzly.websockets.ClosingFrame.utf8Decode:([B)V
         9: .line 72
      StackMap locals:
      StackMap stack:
            return
        end local 1 // byte[] bytes
        end local 0 // org.glassfish.grizzly.websockets.ClosingFrame this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   10     0   this  Lorg/glassfish/grizzly/websockets/ClosingFrame;
            0   10     1  bytes  [B
    MethodParameters:
       Name  Flags
      bytes  

  public byte[] getBytes();
    descriptor: ()[B
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=1
        start local 0 // org.glassfish.grizzly.websockets.ClosingFrame this
         0: .line 76
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ClosingFrame.code:I
            iconst_m1
            if_icmpne 2
         1: .line 77
            getstatic org.glassfish.grizzly.websockets.ClosingFrame.EMPTY_BYTES:[B
            areturn
         2: .line 80
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ClosingFrame.code:I
            i2l
            invokestatic org.glassfish.grizzly.websockets.Utils.toArray:(J)[B
            astore 1 /* bytes */
        start local 1 // byte[] bytes
         3: .line 81
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ClosingFrame.reason:Ljava/lang/String;
            ifnonnull 4
            getstatic org.glassfish.grizzly.websockets.ClosingFrame.EMPTY_BYTES:[B
            goto 5
      StackMap locals: byte[]
      StackMap stack:
         4: aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ClosingFrame.reason:Ljava/lang/String;
            getstatic org.glassfish.grizzly.utils.Charsets.UTF8_CHARSET:Ljava/nio/charset/Charset;
            invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
      StackMap locals:
      StackMap stack: byte[]
         5: astore 2 /* reasonBytes */
        start local 2 // byte[] reasonBytes
         6: .line 82
            iconst_2
            aload 2 /* reasonBytes */
            arraylength
            iadd
            newarray 8
            astore 3 /* frameBytes */
        start local 3 // byte[] frameBytes
         7: .line 83
            aload 1 /* bytes */
            aload 1 /* bytes */
            arraylength
            iconst_2
            isub
            aload 3 /* frameBytes */
            iconst_0
            iconst_2
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         8: .line 84
            aload 2 /* reasonBytes */
            iconst_0
            aload 3 /* frameBytes */
            iconst_2
            aload 2 /* reasonBytes */
            arraylength
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         9: .line 86
            aload 3 /* frameBytes */
            areturn
        end local 3 // byte[] frameBytes
        end local 2 // byte[] reasonBytes
        end local 1 // byte[] bytes
        end local 0 // org.glassfish.grizzly.websockets.ClosingFrame this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   10     0         this  Lorg/glassfish/grizzly/websockets/ClosingFrame;
            3   10     1        bytes  [B
            6   10     2  reasonBytes  [B
            7   10     3   frameBytes  [B

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // org.glassfish.grizzly.websockets.ClosingFrame this
         0: .line 91
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 1 /* sb */
        start local 1 // java.lang.StringBuilder sb
         1: .line 92
            aload 1 /* sb */
            ldc "ClosingFrame"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         2: .line 93
            aload 1 /* sb */
            ldc "{code="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ClosingFrame.code:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            pop
         3: .line 94
            aload 1 /* sb */
            ldc ", reason="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ClosingFrame.reason:Ljava/lang/String;
            ifnonnull 4
            aconst_null
            goto 5
      StackMap locals: org.glassfish.grizzly.websockets.ClosingFrame java.lang.StringBuilder
      StackMap stack: java.lang.StringBuilder
         4: new java.lang.StringBuilder
            dup
            ldc "'"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ClosingFrame.reason:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "'"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
      StackMap locals: org.glassfish.grizzly.websockets.ClosingFrame java.lang.StringBuilder
      StackMap stack: java.lang.StringBuilder java.lang.String
         5: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         6: .line 95
            aload 1 /* sb */
            bipush 125
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
         7: .line 96
            aload 1 /* sb */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 1 // java.lang.StringBuilder sb
        end local 0 // org.glassfish.grizzly.websockets.ClosingFrame this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lorg/glassfish/grizzly/websockets/ClosingFrame;
            1    8     1    sb  Ljava/lang/StringBuilder;

  private void utf8Decode(byte[]);
    descriptor: ([B)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=9, args_size=2
        start local 0 // org.glassfish.grizzly.websockets.ClosingFrame this
        start local 1 // byte[] data
         0: .line 102
            aload 1 /* data */
            iconst_2
            aload 1 /* data */
            arraylength
            iconst_2
            isub
            invokestatic java.nio.ByteBuffer.wrap:([BII)Ljava/nio/ByteBuffer;
            astore 2 /* b */
        start local 2 // java.nio.ByteBuffer b
         1: .line 103
            getstatic org.glassfish.grizzly.utils.Charsets.UTF8_CHARSET:Ljava/nio/charset/Charset;
            astore 3 /* charset */
        start local 3 // java.nio.charset.Charset charset
         2: .line 104
            aload 3 /* charset */
            invokevirtual java.nio.charset.Charset.newDecoder:()Ljava/nio/charset/CharsetDecoder;
            astore 4 /* decoder */
        start local 4 // java.nio.charset.CharsetDecoder decoder
         3: .line 105
            aload 2 /* b */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            i2f
            aload 4 /* decoder */
            invokevirtual java.nio.charset.CharsetDecoder.averageCharsPerByte:()F
            fmul
            f2i
            istore 5 /* n */
        start local 5 // int n
         4: .line 106
            iload 5 /* n */
            invokestatic java.nio.CharBuffer.allocate:(I)Ljava/nio/CharBuffer;
            astore 6 /* cb */
        start local 6 // java.nio.CharBuffer cb
         5: .line 108
      StackMap locals: org.glassfish.grizzly.websockets.ClosingFrame byte[] java.nio.ByteBuffer java.nio.charset.Charset java.nio.charset.CharsetDecoder int java.nio.CharBuffer
      StackMap stack:
            aload 4 /* decoder */
            aload 2 /* b */
            aload 6 /* cb */
            iconst_1
            invokevirtual java.nio.charset.CharsetDecoder.decode:(Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;Z)Ljava/nio/charset/CoderResult;
            astore 7 /* result */
        start local 7 // java.nio.charset.CoderResult result
         6: .line 109
            aload 7 /* result */
            invokevirtual java.nio.charset.CoderResult.isUnderflow:()Z
            ifeq 11
         7: .line 110
            aload 4 /* decoder */
            aload 6 /* cb */
            invokevirtual java.nio.charset.CharsetDecoder.flush:(Ljava/nio/CharBuffer;)Ljava/nio/charset/CoderResult;
            pop
         8: .line 111
            aload 6 /* cb */
            invokevirtual java.nio.CharBuffer.flip:()Ljava/nio/Buffer;
            pop
         9: .line 112
            aload 0 /* this */
            aload 6 /* cb */
            invokevirtual java.nio.CharBuffer.toString:()Ljava/lang/String;
            putfield org.glassfish.grizzly.websockets.ClosingFrame.reason:Ljava/lang/String;
        10: .line 113
            goto 19
        11: .line 115
      StackMap locals: java.nio.charset.CoderResult
      StackMap stack:
            aload 7 /* result */
            invokevirtual java.nio.charset.CoderResult.isOverflow:()Z
            ifeq 17
        12: .line 116
            iconst_2
            iload 5 /* n */
            imul
            iconst_1
            iadd
            invokestatic java.nio.CharBuffer.allocate:(I)Ljava/nio/CharBuffer;
            astore 8 /* tmp */
        start local 8 // java.nio.CharBuffer tmp
        13: .line 117
            aload 6 /* cb */
            invokevirtual java.nio.CharBuffer.flip:()Ljava/nio/Buffer;
            pop
        14: .line 118
            aload 8 /* tmp */
            aload 6 /* cb */
            invokevirtual java.nio.CharBuffer.put:(Ljava/nio/CharBuffer;)Ljava/nio/CharBuffer;
            pop
        15: .line 119
            aload 8 /* tmp */
            astore 6 /* cb */
        16: .line 120
            goto 5
        end local 8 // java.nio.CharBuffer tmp
        17: .line 122
      StackMap locals:
      StackMap stack:
            aload 7 /* result */
            invokevirtual java.nio.charset.CoderResult.isError:()Z
            ifne 18
            aload 7 /* result */
            invokevirtual java.nio.charset.CoderResult.isMalformed:()Z
            ifeq 5
        18: .line 123
      StackMap locals:
      StackMap stack:
            new org.glassfish.grizzly.websockets.Utf8DecodingError
            dup
            ldc "Illegal UTF-8 Sequence"
            invokespecial org.glassfish.grizzly.websockets.Utf8DecodingError.<init>:(Ljava/lang/String;)V
            athrow
        end local 7 // java.nio.charset.CoderResult result
        19: .line 127
      StackMap locals:
      StackMap stack:
            return
        end local 6 // java.nio.CharBuffer cb
        end local 5 // int n
        end local 4 // java.nio.charset.CharsetDecoder decoder
        end local 3 // java.nio.charset.Charset charset
        end local 2 // java.nio.ByteBuffer b
        end local 1 // byte[] data
        end local 0 // org.glassfish.grizzly.websockets.ClosingFrame this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   20     0     this  Lorg/glassfish/grizzly/websockets/ClosingFrame;
            0   20     1     data  [B
            1   20     2        b  Ljava/nio/ByteBuffer;
            2   20     3  charset  Ljava/nio/charset/Charset;
            3   20     4  decoder  Ljava/nio/charset/CharsetDecoder;
            4   20     5        n  I
            5   20     6       cb  Ljava/nio/CharBuffer;
            6   19     7   result  Ljava/nio/charset/CoderResult;
           13   17     8      tmp  Ljava/nio/CharBuffer;
    MethodParameters:
      Name  Flags
      data  
}
SourceFile: "ClosingFrame.java"