public abstract class org.glassfish.grizzly.websockets.ProtocolHandler
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: org.glassfish.grizzly.websockets.ProtocolHandler
  super_class: java.lang.Object
{
  protected org.glassfish.grizzly.Connection connection;
    descriptor: Lorg/glassfish/grizzly/Connection;
    flags: (0x0004) ACC_PROTECTED

  private org.glassfish.grizzly.websockets.WebSocket webSocket;
    descriptor: Lorg/glassfish/grizzly/websockets/WebSocket;
    flags: (0x0002) ACC_PRIVATE

  protected byte inFragmentedType;
    descriptor: B
    flags: (0x0004) ACC_PROTECTED

  protected byte outFragmentedType;
    descriptor: B
    flags: (0x0004) ACC_PROTECTED

  protected final boolean maskData;
    descriptor: Z
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL

  protected org.glassfish.grizzly.filterchain.FilterChainContext ctx;
    descriptor: Lorg/glassfish/grizzly/filterchain/FilterChainContext;
    flags: (0x0004) ACC_PROTECTED

  protected boolean processingFragment;
    descriptor: Z
    flags: (0x0004) ACC_PROTECTED

  protected final java.nio.charset.Charset utf8;
    descriptor: Ljava/nio/charset/Charset;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL

  protected final java.nio.charset.CharsetDecoder currentDecoder;
    descriptor: Ljava/nio/charset/CharsetDecoder;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL

  protected java.nio.ByteBuffer remainder;
    descriptor: Ljava/nio/ByteBuffer;
    flags: (0x0004) ACC_PROTECTED

  protected org.glassfish.grizzly.websockets.WebSocketMappingData mappingData;
    descriptor: Lorg/glassfish/grizzly/websockets/WebSocketMappingData;
    flags: (0x0004) ACC_PROTECTED

  public void <init>(boolean);
    descriptor: (Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
        start local 1 // boolean maskData
         0: .line 54
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 49
            aload 0 /* this */
            getstatic org.glassfish.grizzly.utils.Charsets.UTF8_CHARSET:Ljava/nio/charset/Charset;
            putfield org.glassfish.grizzly.websockets.ProtocolHandler.utf8:Ljava/nio/charset/Charset;
         2: .line 50
            aload 0 /* this */
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ProtocolHandler.utf8:Ljava/nio/charset/Charset;
            invokevirtual java.nio.charset.Charset.newDecoder:()Ljava/nio/charset/CharsetDecoder;
            putfield org.glassfish.grizzly.websockets.ProtocolHandler.currentDecoder:Ljava/nio/charset/CharsetDecoder;
         3: .line 55
            aload 0 /* this */
            iload 1 /* maskData */
            putfield org.glassfish.grizzly.websockets.ProtocolHandler.maskData:Z
         4: .line 56
            return
        end local 1 // boolean maskData
        end local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    5     0      this  Lorg/glassfish/grizzly/websockets/ProtocolHandler;
            0    5     1  maskData  Z
    MethodParameters:
          Name  Flags
      maskData  

  public org.glassfish.grizzly.websockets.HandShake handshake(org.glassfish.grizzly.filterchain.FilterChainContext, org.glassfish.grizzly.websockets.WebSocketApplication, org.glassfish.grizzly.http.HttpContent);
    descriptor: (Lorg/glassfish/grizzly/filterchain/FilterChainContext;Lorg/glassfish/grizzly/websockets/WebSocketApplication;Lorg/glassfish/grizzly/http/HttpContent;)Lorg/glassfish/grizzly/websockets/HandShake;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=6, args_size=4
        start local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
        start local 1 // org.glassfish.grizzly.filterchain.FilterChainContext ctx
        start local 2 // org.glassfish.grizzly.websockets.WebSocketApplication app
        start local 3 // org.glassfish.grizzly.http.HttpContent request
         0: .line 60
            aload 0 /* this */
            aload 3 /* request */
            invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.createServerHandShake:(Lorg/glassfish/grizzly/http/HttpContent;)Lorg/glassfish/grizzly/websockets/HandShake;
            astore 4 /* handshake */
        start local 4 // org.glassfish.grizzly.websockets.HandShake handshake
         1: .line 61
            aload 2 /* app */
            aload 4 /* handshake */
            invokevirtual org.glassfish.grizzly.websockets.WebSocketApplication.handshake:(Lorg/glassfish/grizzly/websockets/HandShake;)V
         2: .line 63
            aload 3 /* request */
            invokevirtual org.glassfish.grizzly.http.HttpContent.getHttpHeader:()Lorg/glassfish/grizzly/http/HttpHeader;
            checkcast org.glassfish.grizzly.http.HttpRequestPacket
            invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.getResponse:()Lorg/glassfish/grizzly/http/HttpResponsePacket;
            astore 5 /* response */
        start local 5 // org.glassfish.grizzly.http.HttpResponsePacket response
         3: .line 65
            aload 4 /* handshake */
            aload 1 /* ctx */
            aload 2 /* app */
            aload 5 /* response */
            invokevirtual org.glassfish.grizzly.websockets.HandShake.respond:(Lorg/glassfish/grizzly/filterchain/FilterChainContext;Lorg/glassfish/grizzly/websockets/WebSocketApplication;Lorg/glassfish/grizzly/http/HttpResponsePacket;)V
         4: .line 66
            aload 4 /* handshake */
            areturn
        end local 5 // org.glassfish.grizzly.http.HttpResponsePacket response
        end local 4 // org.glassfish.grizzly.websockets.HandShake handshake
        end local 3 // org.glassfish.grizzly.http.HttpContent request
        end local 2 // org.glassfish.grizzly.websockets.WebSocketApplication app
        end local 1 // org.glassfish.grizzly.filterchain.FilterChainContext ctx
        end local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    5     0       this  Lorg/glassfish/grizzly/websockets/ProtocolHandler;
            0    5     1        ctx  Lorg/glassfish/grizzly/filterchain/FilterChainContext;
            0    5     2        app  Lorg/glassfish/grizzly/websockets/WebSocketApplication;
            0    5     3    request  Lorg/glassfish/grizzly/http/HttpContent;
            1    5     4  handshake  Lorg/glassfish/grizzly/websockets/HandShake;
            3    5     5   response  Lorg/glassfish/grizzly/http/HttpResponsePacket;
    MethodParameters:
         Name  Flags
      ctx      
      app      
      request  

  public final org.glassfish.grizzly.GrizzlyFuture<org.glassfish.grizzly.websockets.DataFrame> send(org.glassfish.grizzly.websockets.DataFrame);
    descriptor: (Lorg/glassfish/grizzly/websockets/DataFrame;)Lorg/glassfish/grizzly/GrizzlyFuture;
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
        start local 1 // org.glassfish.grizzly.websockets.DataFrame frame
         0: .line 70
            aload 0 /* this */
            aload 1 /* frame */
            aconst_null
            invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.send:(Lorg/glassfish/grizzly/websockets/DataFrame;Lorg/glassfish/grizzly/CompletionHandler;)Lorg/glassfish/grizzly/GrizzlyFuture;
            areturn
        end local 1 // org.glassfish.grizzly.websockets.DataFrame frame
        end local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0   this  Lorg/glassfish/grizzly/websockets/ProtocolHandler;
            0    1     1  frame  Lorg/glassfish/grizzly/websockets/DataFrame;
    Signature: (Lorg/glassfish/grizzly/websockets/DataFrame;)Lorg/glassfish/grizzly/GrizzlyFuture<Lorg/glassfish/grizzly/websockets/DataFrame;>;
    MethodParameters:
       Name  Flags
      frame  

  public org.glassfish.grizzly.GrizzlyFuture<org.glassfish.grizzly.websockets.DataFrame> send(org.glassfish.grizzly.websockets.DataFrame, org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.websockets.DataFrame>);
    descriptor: (Lorg/glassfish/grizzly/websockets/DataFrame;Lorg/glassfish/grizzly/CompletionHandler;)Lorg/glassfish/grizzly/GrizzlyFuture;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
        start local 1 // org.glassfish.grizzly.websockets.DataFrame frame
        start local 2 // org.glassfish.grizzly.CompletionHandler completionHandler
         0: .line 74
            aload 0 /* this */
            aload 1 /* frame */
            aload 2 /* completionHandler */
            invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.write:(Lorg/glassfish/grizzly/websockets/DataFrame;Lorg/glassfish/grizzly/CompletionHandler;)Lorg/glassfish/grizzly/GrizzlyFuture;
            areturn
        end local 2 // org.glassfish.grizzly.CompletionHandler completionHandler
        end local 1 // org.glassfish.grizzly.websockets.DataFrame frame
        end local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0    1     0               this  Lorg/glassfish/grizzly/websockets/ProtocolHandler;
            0    1     1              frame  Lorg/glassfish/grizzly/websockets/DataFrame;
            0    1     2  completionHandler  Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/websockets/DataFrame;>;
    Signature: (Lorg/glassfish/grizzly/websockets/DataFrame;Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/websockets/DataFrame;>;)Lorg/glassfish/grizzly/GrizzlyFuture<Lorg/glassfish/grizzly/websockets/DataFrame;>;
    MethodParameters:
                   Name  Flags
      frame              
      completionHandler  

  public org.glassfish.grizzly.Connection getConnection();
    descriptor: ()Lorg/glassfish/grizzly/Connection;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
         0: .line 78
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ProtocolHandler.connection:Lorg/glassfish/grizzly/Connection;
            areturn
        end local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/glassfish/grizzly/websockets/ProtocolHandler;

  public void setConnection(org.glassfish.grizzly.Connection);
    descriptor: (Lorg/glassfish/grizzly/Connection;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
        start local 1 // org.glassfish.grizzly.Connection handler
         0: .line 82
            aload 0 /* this */
            aload 1 /* handler */
            putfield org.glassfish.grizzly.websockets.ProtocolHandler.connection:Lorg/glassfish/grizzly/Connection;
         1: .line 83
            return
        end local 1 // org.glassfish.grizzly.Connection handler
        end local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Lorg/glassfish/grizzly/websockets/ProtocolHandler;
            0    2     1  handler  Lorg/glassfish/grizzly/Connection;
    MethodParameters:
         Name  Flags
      handler  

  public org.glassfish.grizzly.filterchain.FilterChainContext getFilterChainContext();
    descriptor: ()Lorg/glassfish/grizzly/filterchain/FilterChainContext;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
         0: .line 86
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ProtocolHandler.ctx:Lorg/glassfish/grizzly/filterchain/FilterChainContext;
            areturn
        end local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/glassfish/grizzly/websockets/ProtocolHandler;

  public void setFilterChainContext(org.glassfish.grizzly.filterchain.FilterChainContext);
    descriptor: (Lorg/glassfish/grizzly/filterchain/FilterChainContext;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
        start local 1 // org.glassfish.grizzly.filterchain.FilterChainContext ctx
         0: .line 90
            aload 0 /* this */
            aload 1 /* ctx */
            putfield org.glassfish.grizzly.websockets.ProtocolHandler.ctx:Lorg/glassfish/grizzly/filterchain/FilterChainContext;
         1: .line 91
            return
        end local 1 // org.glassfish.grizzly.filterchain.FilterChainContext ctx
        end local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/glassfish/grizzly/websockets/ProtocolHandler;
            0    2     1   ctx  Lorg/glassfish/grizzly/filterchain/FilterChainContext;
    MethodParameters:
      Name  Flags
      ctx   

  protected org.glassfish.grizzly.websockets.WebSocketMappingData getMappingData();
    descriptor: ()Lorg/glassfish/grizzly/websockets/WebSocketMappingData;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
         0: .line 94
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ProtocolHandler.mappingData:Lorg/glassfish/grizzly/websockets/WebSocketMappingData;
            areturn
        end local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/glassfish/grizzly/websockets/ProtocolHandler;

  protected void setMappingData(org.glassfish.grizzly.websockets.WebSocketMappingData);
    descriptor: (Lorg/glassfish/grizzly/websockets/WebSocketMappingData;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
        start local 1 // org.glassfish.grizzly.websockets.WebSocketMappingData mappingData
         0: .line 98
            aload 0 /* this */
            aload 1 /* mappingData */
            putfield org.glassfish.grizzly.websockets.ProtocolHandler.mappingData:Lorg/glassfish/grizzly/websockets/WebSocketMappingData;
         1: .line 99
            return
        end local 1 // org.glassfish.grizzly.websockets.WebSocketMappingData mappingData
        end local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    2     0         this  Lorg/glassfish/grizzly/websockets/ProtocolHandler;
            0    2     1  mappingData  Lorg/glassfish/grizzly/websockets/WebSocketMappingData;
    MethodParameters:
             Name  Flags
      mappingData  final

  public org.glassfish.grizzly.websockets.WebSocket getWebSocket();
    descriptor: ()Lorg/glassfish/grizzly/websockets/WebSocket;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
         0: .line 102
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ProtocolHandler.webSocket:Lorg/glassfish/grizzly/websockets/WebSocket;
            areturn
        end local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/glassfish/grizzly/websockets/ProtocolHandler;

  public void setWebSocket(org.glassfish.grizzly.websockets.WebSocket);
    descriptor: (Lorg/glassfish/grizzly/websockets/WebSocket;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
        start local 1 // org.glassfish.grizzly.websockets.WebSocket webSocket
         0: .line 106
            aload 0 /* this */
            aload 1 /* webSocket */
            putfield org.glassfish.grizzly.websockets.ProtocolHandler.webSocket:Lorg/glassfish/grizzly/websockets/WebSocket;
         1: .line 107
            return
        end local 1 // org.glassfish.grizzly.websockets.WebSocket webSocket
        end local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       this  Lorg/glassfish/grizzly/websockets/ProtocolHandler;
            0    2     1  webSocket  Lorg/glassfish/grizzly/websockets/WebSocket;
    MethodParameters:
           Name  Flags
      webSocket  

  public boolean isMaskData();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
         0: .line 110
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ProtocolHandler.maskData:Z
            ireturn
        end local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/glassfish/grizzly/websockets/ProtocolHandler;

  public abstract byte[] frame(org.glassfish.grizzly.websockets.DataFrame);
    descriptor: (Lorg/glassfish/grizzly/websockets/DataFrame;)[B
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
    MethodParameters:
       Name  Flags
      frame  

  public org.glassfish.grizzly.websockets.DataFrame toDataFrame(java.lang.String);
    descriptor: (Ljava/lang/String;)Lorg/glassfish/grizzly/websockets/DataFrame;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
        start local 1 // java.lang.String data
         0: .line 121
            aload 0 /* this */
            aload 1 /* data */
            iconst_1
            invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.toDataFrame:(Ljava/lang/String;Z)Lorg/glassfish/grizzly/websockets/DataFrame;
            areturn
        end local 1 // java.lang.String data
        end local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/glassfish/grizzly/websockets/ProtocolHandler;
            0    1     1  data  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      data  

  public org.glassfish.grizzly.websockets.DataFrame toDataFrame(byte[]);
    descriptor: ([B)Lorg/glassfish/grizzly/websockets/DataFrame;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
        start local 1 // byte[] data
         0: .line 125
            aload 0 /* this */
            aload 1 /* data */
            iconst_1
            invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.toDataFrame:([BZ)Lorg/glassfish/grizzly/websockets/DataFrame;
            areturn
        end local 1 // byte[] data
        end local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/glassfish/grizzly/websockets/ProtocolHandler;
            0    1     1  data  [B
    MethodParameters:
      Name  Flags
      data  

  public org.glassfish.grizzly.websockets.DataFrame toDataFrame(java.lang.String, boolean);
    descriptor: (Ljava/lang/String;Z)Lorg/glassfish/grizzly/websockets/DataFrame;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
        start local 1 // java.lang.String data
        start local 2 // boolean last
         0: .line 129
            new org.glassfish.grizzly.websockets.DataFrame
            dup
            new org.glassfish.grizzly.websockets.frametypes.TextFrameType
            dup
            invokespecial org.glassfish.grizzly.websockets.frametypes.TextFrameType.<init>:()V
            aload 1 /* data */
            iload 2 /* last */
            invokespecial org.glassfish.grizzly.websockets.DataFrame.<init>:(Lorg/glassfish/grizzly/websockets/FrameType;Ljava/lang/String;Z)V
            areturn
        end local 2 // boolean last
        end local 1 // java.lang.String data
        end local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/glassfish/grizzly/websockets/ProtocolHandler;
            0    1     1  data  Ljava/lang/String;
            0    1     2  last  Z
    MethodParameters:
      Name  Flags
      data  
      last  

  public org.glassfish.grizzly.websockets.DataFrame toDataFrame(byte[], boolean);
    descriptor: ([BZ)Lorg/glassfish/grizzly/websockets/DataFrame;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
        start local 1 // byte[] data
        start local 2 // boolean last
         0: .line 133
            new org.glassfish.grizzly.websockets.DataFrame
            dup
            new org.glassfish.grizzly.websockets.frametypes.BinaryFrameType
            dup
            invokespecial org.glassfish.grizzly.websockets.frametypes.BinaryFrameType.<init>:()V
            aload 1 /* data */
            iload 2 /* last */
            invokespecial org.glassfish.grizzly.websockets.DataFrame.<init>:(Lorg/glassfish/grizzly/websockets/FrameType;[BZ)V
            areturn
        end local 2 // boolean last
        end local 1 // byte[] data
        end local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/glassfish/grizzly/websockets/ProtocolHandler;
            0    1     1  data  [B
            0    1     2  last  Z
    MethodParameters:
      Name  Flags
      data  
      last  

  public abstract org.glassfish.grizzly.websockets.HandShake createServerHandShake(org.glassfish.grizzly.http.HttpContent);
    descriptor: (Lorg/glassfish/grizzly/http/HttpContent;)Lorg/glassfish/grizzly/websockets/HandShake;
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
    MethodParameters:
                Name  Flags
      requestContent  

  public abstract org.glassfish.grizzly.websockets.HandShake createClientHandShake(java.net.URI);
    descriptor: (Ljava/net/URI;)Lorg/glassfish/grizzly/websockets/HandShake;
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
    MethodParameters:
      Name  Flags
      uri   

  public org.glassfish.grizzly.GrizzlyFuture<org.glassfish.grizzly.websockets.DataFrame> send(byte[]);
    descriptor: ([B)Lorg/glassfish/grizzly/GrizzlyFuture;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
        start local 1 // byte[] data
         0: .line 141
            aload 0 /* this */
            aload 0 /* this */
            aload 1 /* data */
            invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.toDataFrame:([B)Lorg/glassfish/grizzly/websockets/DataFrame;
            invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.send:(Lorg/glassfish/grizzly/websockets/DataFrame;)Lorg/glassfish/grizzly/GrizzlyFuture;
            areturn
        end local 1 // byte[] data
        end local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/glassfish/grizzly/websockets/ProtocolHandler;
            0    1     1  data  [B
    Signature: ([B)Lorg/glassfish/grizzly/GrizzlyFuture<Lorg/glassfish/grizzly/websockets/DataFrame;>;
    MethodParameters:
      Name  Flags
      data  

  public org.glassfish.grizzly.GrizzlyFuture<org.glassfish.grizzly.websockets.DataFrame> send(java.lang.String);
    descriptor: (Ljava/lang/String;)Lorg/glassfish/grizzly/GrizzlyFuture;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
        start local 1 // java.lang.String data
         0: .line 145
            aload 0 /* this */
            aload 0 /* this */
            aload 1 /* data */
            invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.toDataFrame:(Ljava/lang/String;)Lorg/glassfish/grizzly/websockets/DataFrame;
            invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.send:(Lorg/glassfish/grizzly/websockets/DataFrame;)Lorg/glassfish/grizzly/GrizzlyFuture;
            areturn
        end local 1 // java.lang.String data
        end local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/glassfish/grizzly/websockets/ProtocolHandler;
            0    1     1  data  Ljava/lang/String;
    Signature: (Ljava/lang/String;)Lorg/glassfish/grizzly/GrizzlyFuture<Lorg/glassfish/grizzly/websockets/DataFrame;>;
    MethodParameters:
      Name  Flags
      data  

  public org.glassfish.grizzly.GrizzlyFuture<org.glassfish.grizzly.websockets.DataFrame> stream(boolean, byte[], int, int);
    descriptor: (Z[BII)Lorg/glassfish/grizzly/GrizzlyFuture;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=5, args_size=5
        start local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
        start local 1 // boolean last
        start local 2 // byte[] bytes
        start local 3 // int off
        start local 4 // int len
         0: .line 149
            aload 0 /* this */
            aload 0 /* this */
            aload 2 /* bytes */
            iload 1 /* last */
            invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.toDataFrame:([BZ)Lorg/glassfish/grizzly/websockets/DataFrame;
            invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.send:(Lorg/glassfish/grizzly/websockets/DataFrame;)Lorg/glassfish/grizzly/GrizzlyFuture;
            areturn
        end local 4 // int len
        end local 3 // int off
        end local 2 // byte[] bytes
        end local 1 // boolean last
        end local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0   this  Lorg/glassfish/grizzly/websockets/ProtocolHandler;
            0    1     1   last  Z
            0    1     2  bytes  [B
            0    1     3    off  I
            0    1     4    len  I
    Signature: (Z[BII)Lorg/glassfish/grizzly/GrizzlyFuture<Lorg/glassfish/grizzly/websockets/DataFrame;>;
    MethodParameters:
       Name  Flags
      last   
      bytes  
      off    
      len    

  public org.glassfish.grizzly.GrizzlyFuture<org.glassfish.grizzly.websockets.DataFrame> stream(boolean, java.lang.String);
    descriptor: (ZLjava/lang/String;)Lorg/glassfish/grizzly/GrizzlyFuture;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
        start local 1 // boolean last
        start local 2 // java.lang.String fragment
         0: .line 153
            aload 0 /* this */
            aload 0 /* this */
            aload 2 /* fragment */
            iload 1 /* last */
            invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.toDataFrame:(Ljava/lang/String;Z)Lorg/glassfish/grizzly/websockets/DataFrame;
            invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.send:(Lorg/glassfish/grizzly/websockets/DataFrame;)Lorg/glassfish/grizzly/GrizzlyFuture;
            areturn
        end local 2 // java.lang.String fragment
        end local 1 // boolean last
        end local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    1     0      this  Lorg/glassfish/grizzly/websockets/ProtocolHandler;
            0    1     1      last  Z
            0    1     2  fragment  Ljava/lang/String;
    Signature: (ZLjava/lang/String;)Lorg/glassfish/grizzly/GrizzlyFuture<Lorg/glassfish/grizzly/websockets/DataFrame;>;
    MethodParameters:
          Name  Flags
      last      
      fragment  

  public org.glassfish.grizzly.GrizzlyFuture<org.glassfish.grizzly.websockets.DataFrame> close(int, java.lang.String);
    descriptor: (ILjava/lang/String;)Lorg/glassfish/grizzly/GrizzlyFuture;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=4, args_size=3
        start local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
        start local 1 // int code
        start local 2 // java.lang.String reason
         0: .line 157
            new org.glassfish.grizzly.websockets.ClosingFrame
            dup
            iload 1 /* code */
            aload 2 /* reason */
            invokespecial org.glassfish.grizzly.websockets.ClosingFrame.<init>:(ILjava/lang/String;)V
            astore 3 /* closingFrame */
        start local 3 // org.glassfish.grizzly.websockets.ClosingFrame closingFrame
         1: .line 158
            aload 0 /* this */
            aload 3 /* closingFrame */
            new org.glassfish.grizzly.websockets.ProtocolHandler$1
            dup
            aload 0 /* this */
            aload 3 /* closingFrame */
            invokespecial org.glassfish.grizzly.websockets.ProtocolHandler$1.<init>:(Lorg/glassfish/grizzly/websockets/ProtocolHandler;Lorg/glassfish/grizzly/websockets/ClosingFrame;)V
            invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.send:(Lorg/glassfish/grizzly/websockets/DataFrame;Lorg/glassfish/grizzly/CompletionHandler;)Lorg/glassfish/grizzly/GrizzlyFuture;
            areturn
        end local 3 // org.glassfish.grizzly.websockets.ClosingFrame closingFrame
        end local 2 // java.lang.String reason
        end local 1 // int code
        end local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    2     0          this  Lorg/glassfish/grizzly/websockets/ProtocolHandler;
            0    2     1          code  I
            0    2     2        reason  Ljava/lang/String;
            1    2     3  closingFrame  Lorg/glassfish/grizzly/websockets/ClosingFrame;
    Signature: (ILjava/lang/String;)Lorg/glassfish/grizzly/GrizzlyFuture<Lorg/glassfish/grizzly/websockets/DataFrame;>;
    MethodParameters:
        Name  Flags
      code    
      reason  

  private org.glassfish.grizzly.GrizzlyFuture<org.glassfish.grizzly.websockets.DataFrame> write(org.glassfish.grizzly.websockets.DataFrame, org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.websockets.DataFrame>);
    descriptor: (Lorg/glassfish/grizzly/websockets/DataFrame;Lorg/glassfish/grizzly/CompletionHandler;)Lorg/glassfish/grizzly/GrizzlyFuture;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=8, locals=5, args_size=3
        start local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
        start local 1 // org.glassfish.grizzly.websockets.DataFrame frame
        start local 2 // org.glassfish.grizzly.CompletionHandler completionHandler
         0: .line 177
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ProtocolHandler.connection:Lorg/glassfish/grizzly/Connection;
            astore 3 /* localConnection */
        start local 3 // org.glassfish.grizzly.Connection localConnection
         1: .line 178
            aload 3 /* localConnection */
            ifnonnull 3
         2: .line 179
            new java.lang.IllegalStateException
            dup
            ldc "Connection is null"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 182
      StackMap locals: org.glassfish.grizzly.Connection
      StackMap stack:
            invokestatic org.glassfish.grizzly.impl.SafeFutureImpl.create:()Lorg/glassfish/grizzly/impl/SafeFutureImpl;
            astore 4 /* localFuture */
        start local 4 // org.glassfish.grizzly.impl.FutureImpl localFuture
         4: .line 184
            aload 3 /* localConnection */
            aload 1 /* frame */
            new org.glassfish.grizzly.websockets.ProtocolHandler$2
            dup
            aload 0 /* this */
            aload 2 /* completionHandler */
            aload 1 /* frame */
            aload 4 /* localFuture */
            invokespecial org.glassfish.grizzly.websockets.ProtocolHandler$2.<init>:(Lorg/glassfish/grizzly/websockets/ProtocolHandler;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/websockets/DataFrame;Lorg/glassfish/grizzly/impl/FutureImpl;)V
            invokeinterface org.glassfish.grizzly.Connection.write:(Ljava/lang/Object;Lorg/glassfish/grizzly/CompletionHandler;)V
         5: .line 204
            aload 4 /* localFuture */
            areturn
        end local 4 // org.glassfish.grizzly.impl.FutureImpl localFuture
        end local 3 // org.glassfish.grizzly.Connection localConnection
        end local 2 // org.glassfish.grizzly.CompletionHandler completionHandler
        end local 1 // org.glassfish.grizzly.websockets.DataFrame frame
        end local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0    6     0               this  Lorg/glassfish/grizzly/websockets/ProtocolHandler;
            0    6     1              frame  Lorg/glassfish/grizzly/websockets/DataFrame;
            0    6     2  completionHandler  Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/websockets/DataFrame;>;
            1    6     3    localConnection  Lorg/glassfish/grizzly/Connection;
            4    6     4        localFuture  Lorg/glassfish/grizzly/impl/FutureImpl<Lorg/glassfish/grizzly/websockets/DataFrame;>;
    Signature: (Lorg/glassfish/grizzly/websockets/DataFrame;Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/websockets/DataFrame;>;)Lorg/glassfish/grizzly/GrizzlyFuture<Lorg/glassfish/grizzly/websockets/DataFrame;>;
    MethodParameters:
                   Name  Flags
      frame              final
      completionHandler  final

  public org.glassfish.grizzly.websockets.DataFrame unframe(org.glassfish.grizzly.Buffer);
    descriptor: (Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/websockets/DataFrame;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
        start local 1 // org.glassfish.grizzly.Buffer buffer
         0: .line 208
            aload 0 /* this */
            aload 1 /* buffer */
            invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.parse:(Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/websockets/DataFrame;
            areturn
        end local 1 // org.glassfish.grizzly.Buffer buffer
        end local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0    this  Lorg/glassfish/grizzly/websockets/ProtocolHandler;
            0    1     1  buffer  Lorg/glassfish/grizzly/Buffer;
    MethodParameters:
        Name  Flags
      buffer  

  public abstract org.glassfish.grizzly.websockets.DataFrame parse(org.glassfish.grizzly.Buffer);
    descriptor: (Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/websockets/DataFrame;
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
    MethodParameters:
        Name  Flags
      buffer  

  public long decodeLength(byte[]);
    descriptor: ([B)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
        start local 1 // byte[] bytes
         0: .line 217
            aload 1 /* bytes */
            iconst_0
            aload 1 /* bytes */
            arraylength
            invokestatic org.glassfish.grizzly.websockets.Utils.toLong:([BII)J
            lreturn
        end local 1 // byte[] bytes
        end local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0   this  Lorg/glassfish/grizzly/websockets/ProtocolHandler;
            0    1     1  bytes  [B
    MethodParameters:
       Name  Flags
      bytes  

  public byte[] encodeLength(long);
    descriptor: (J)[B
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=5, args_size=2
        start local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
        start local 1 // long length
         0: .line 236
            lload 1 /* length */
            ldc 125
            lcmp
            ifgt 4
         1: .line 237
            iconst_1
            newarray 8
            astore 3 /* lengthBytes */
        start local 3 // byte[] lengthBytes
         2: .line 238
            aload 3 /* lengthBytes */
            iconst_0
            lload 1 /* length */
            l2i
            i2b
            bastore
         3: .line 239
            goto 13
        end local 3 // byte[] lengthBytes
         4: .line 240
      StackMap locals:
      StackMap stack:
            lload 1 /* length */
            invokestatic org.glassfish.grizzly.websockets.Utils.toArray:(J)[B
            astore 4 /* b */
        start local 4 // byte[] b
         5: .line 241
            lload 1 /* length */
            ldc 65535
            lcmp
            ifgt 10
         6: .line 242
            iconst_3
            newarray 8
            astore 3 /* lengthBytes */
        start local 3 // byte[] lengthBytes
         7: .line 243
            aload 3 /* lengthBytes */
            iconst_0
            bipush 126
            bastore
         8: .line 244
            aload 4 /* b */
            bipush 6
            aload 3 /* lengthBytes */
            iconst_1
            iconst_2
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         9: .line 245
            goto 13
        end local 3 // byte[] lengthBytes
        10: .line 246
      StackMap locals: org.glassfish.grizzly.websockets.ProtocolHandler long top byte[]
      StackMap stack:
            bipush 9
            newarray 8
            astore 3 /* lengthBytes */
        start local 3 // byte[] lengthBytes
        11: .line 247
            aload 3 /* lengthBytes */
            iconst_0
            bipush 127
            bastore
        12: .line 248
            aload 4 /* b */
            iconst_0
            aload 3 /* lengthBytes */
            iconst_1
            bipush 8
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
        end local 4 // byte[] b
        13: .line 251
      StackMap locals: org.glassfish.grizzly.websockets.ProtocolHandler long byte[]
      StackMap stack:
            aload 3 /* lengthBytes */
            areturn
        end local 3 // byte[] lengthBytes
        end local 1 // long length
        end local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   14     0         this  Lorg/glassfish/grizzly/websockets/ProtocolHandler;
            0   14     1       length  J
            2    4     3  lengthBytes  [B
            7   10     3  lengthBytes  [B
           11   14     3  lengthBytes  [B
            5   13     4            b  [B
    MethodParameters:
        Name  Flags
      length  final

  protected void validate(byte, byte);
    descriptor: (BB)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
        start local 1 // byte fragmentType
        start local 2 // byte opcode
         0: .line 255
            iload 1 /* fragmentType */
            ifeq 2
            iload 2 /* opcode */
            iload 1 /* fragmentType */
            if_icmpeq 2
            aload 0 /* this */
            iload 2 /* opcode */
            invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.isControlFrame:(B)Z
            ifne 2
         1: .line 256
            new org.glassfish.grizzly.websockets.WebSocketException
            dup
            ldc "Attempting to send a message while sending fragments of another"
            invokespecial org.glassfish.grizzly.websockets.WebSocketException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 258
      StackMap locals:
      StackMap stack:
            return
        end local 2 // byte opcode
        end local 1 // byte fragmentType
        end local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    3     0          this  Lorg/glassfish/grizzly/websockets/ProtocolHandler;
            0    3     1  fragmentType  B
            0    3     2        opcode  B
    MethodParameters:
              Name  Flags
      fragmentType  final
      opcode        

  protected abstract boolean isControlFrame(byte);
    descriptor: (B)Z
    flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
    MethodParameters:
        Name  Flags
      opcode  

  protected byte checkForLastFrame(org.glassfish.grizzly.websockets.DataFrame, byte);
    descriptor: (Lorg/glassfish/grizzly/websockets/DataFrame;B)B
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
        start local 1 // org.glassfish.grizzly.websockets.DataFrame frame
        start local 2 // byte opcode
         0: .line 263
            iload 2 /* opcode */
            istore 3 /* local */
        start local 3 // byte local
         1: .line 264
            aload 1 /* frame */
            invokevirtual org.glassfish.grizzly.websockets.DataFrame.isLast:()Z
            ifne 9
         2: .line 265
            aload 0 /* this */
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ProtocolHandler.outFragmentedType:B
            iload 3 /* local */
            invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.validate:(BB)V
         3: .line 266
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ProtocolHandler.outFragmentedType:B
            ifeq 6
         4: .line 267
            iconst_0
            istore 3 /* local */
         5: .line 268
            goto 14
         6: .line 269
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            iload 3 /* local */
            putfield org.glassfish.grizzly.websockets.ProtocolHandler.outFragmentedType:B
         7: .line 270
            iload 3 /* local */
            bipush 127
            iand
            i2b
            istore 3 /* local */
         8: .line 272
            goto 14
      StackMap locals:
      StackMap stack:
         9: aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ProtocolHandler.outFragmentedType:B
            ifeq 13
        10: .line 273
            bipush -128
            istore 3 /* local */
        11: .line 274
            aload 0 /* this */
            iconst_0
            putfield org.glassfish.grizzly.websockets.ProtocolHandler.outFragmentedType:B
        12: .line 275
            goto 14
        13: .line 276
      StackMap locals:
      StackMap stack:
            iload 3 /* local */
            sipush 128
            ior
            i2b
            istore 3 /* local */
        14: .line 278
      StackMap locals:
      StackMap stack:
            iload 3 /* local */
            ireturn
        end local 3 // byte local
        end local 2 // byte opcode
        end local 1 // org.glassfish.grizzly.websockets.DataFrame frame
        end local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   15     0    this  Lorg/glassfish/grizzly/websockets/ProtocolHandler;
            0   15     1   frame  Lorg/glassfish/grizzly/websockets/DataFrame;
            0   15     2  opcode  B
            1   15     3   local  B
    MethodParameters:
        Name  Flags
      frame   
      opcode  

  public void doClose();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
         0: .line 282
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ProtocolHandler.connection:Lorg/glassfish/grizzly/Connection;
            astore 1 /* localConnection */
        start local 1 // org.glassfish.grizzly.Connection localConnection
         1: .line 283
            aload 1 /* localConnection */
            ifnonnull 3
         2: .line 284
            new java.lang.IllegalStateException
            dup
            ldc "Connection is null"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 287
      StackMap locals: org.glassfish.grizzly.Connection
      StackMap stack:
            aload 1 /* localConnection */
            invokeinterface org.glassfish.grizzly.Connection.closeSilently:()V
         4: .line 288
            return
        end local 1 // org.glassfish.grizzly.Connection localConnection
        end local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    5     0             this  Lorg/glassfish/grizzly/websockets/ProtocolHandler;
            1    5     1  localConnection  Lorg/glassfish/grizzly/Connection;

  protected void utf8Decode(boolean, byte[], org.glassfish.grizzly.websockets.DataFrame);
    descriptor: (Z[BLorg/glassfish/grizzly/websockets/DataFrame;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=9, args_size=4
        start local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
        start local 1 // boolean finalFragment
        start local 2 // byte[] data
        start local 3 // org.glassfish.grizzly.websockets.DataFrame dataFrame
         0: .line 291
            aload 0 /* this */
            aload 2 /* data */
            invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.getByteBuffer:([B)Ljava/nio/ByteBuffer;
            astore 4 /* b */
        start local 4 // java.nio.ByteBuffer b
         1: .line 292
            aload 4 /* b */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            i2f
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ProtocolHandler.currentDecoder:Ljava/nio/charset/CharsetDecoder;
            invokevirtual java.nio.charset.CharsetDecoder.averageCharsPerByte:()F
            fmul
            f2i
            istore 5 /* n */
        start local 5 // int n
         2: .line 293
            iload 5 /* n */
            invokestatic java.nio.CharBuffer.allocate:(I)Ljava/nio/CharBuffer;
            astore 6 /* cb */
        start local 6 // java.nio.CharBuffer cb
         3: .line 295
      StackMap locals: java.nio.ByteBuffer int java.nio.CharBuffer
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ProtocolHandler.currentDecoder:Ljava/nio/charset/CharsetDecoder;
            aload 4 /* b */
            aload 6 /* cb */
            iload 1 /* finalFragment */
            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
         4: .line 296
            aload 7 /* result */
            invokevirtual java.nio.charset.CoderResult.isUnderflow:()Z
            ifeq 18
         5: .line 297
            iload 1 /* finalFragment */
            ifeq 11
         6: .line 298
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ProtocolHandler.currentDecoder:Ljava/nio/charset/CharsetDecoder;
            aload 6 /* cb */
            invokevirtual java.nio.charset.CharsetDecoder.flush:(Ljava/nio/CharBuffer;)Ljava/nio/charset/CoderResult;
            pop
         7: .line 299
            aload 4 /* b */
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifeq 9
         8: .line 300
            new java.lang.IllegalStateException
            dup
            ldc "Final UTF-8 fragment received, but not all bytes consumed by decode process"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         9: .line 302
      StackMap locals: java.nio.charset.CoderResult
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ProtocolHandler.currentDecoder:Ljava/nio/charset/CharsetDecoder;
            invokevirtual java.nio.charset.CharsetDecoder.reset:()Ljava/nio/charset/CharsetDecoder;
            pop
        10: .line 303
            goto 13
        11: .line 304
      StackMap locals:
      StackMap stack:
            aload 4 /* b */
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifeq 13
        12: .line 305
            aload 0 /* this */
            aload 4 /* b */
            putfield org.glassfish.grizzly.websockets.ProtocolHandler.remainder:Ljava/nio/ByteBuffer;
        13: .line 308
      StackMap locals:
      StackMap stack:
            aload 6 /* cb */
            invokevirtual java.nio.CharBuffer.flip:()Ljava/nio/Buffer;
            pop
        14: .line 309
            aload 6 /* cb */
            invokevirtual java.nio.CharBuffer.toString:()Ljava/lang/String;
            astore 8 /* res */
        start local 8 // java.lang.String res
        15: .line 310
            aload 3 /* dataFrame */
            aload 8 /* res */
            invokevirtual org.glassfish.grizzly.websockets.DataFrame.setPayload:(Ljava/lang/String;)V
        16: .line 311
            aload 3 /* dataFrame */
            getstatic org.glassfish.grizzly.utils.Charsets.UTF8_CHARSET:Ljava/nio/charset/Charset;
            aload 8 /* res */
            invokestatic org.glassfish.grizzly.websockets.Utf8Utils.encode:(Ljava/nio/charset/Charset;Ljava/lang/String;)[B
            invokevirtual org.glassfish.grizzly.websockets.DataFrame.setPayload:([B)V
        17: .line 312
            goto 26
        end local 8 // java.lang.String res
        18: .line 314
      StackMap locals:
      StackMap stack:
            aload 7 /* result */
            invokevirtual java.nio.charset.CoderResult.isOverflow:()Z
            ifeq 24
        19: .line 315
            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
        20: .line 316
            aload 6 /* cb */
            invokevirtual java.nio.CharBuffer.flip:()Ljava/nio/Buffer;
            pop
        21: .line 317
            aload 8 /* tmp */
            aload 6 /* cb */
            invokevirtual java.nio.CharBuffer.put:(Ljava/nio/CharBuffer;)Ljava/nio/CharBuffer;
            pop
        22: .line 318
            aload 8 /* tmp */
            astore 6 /* cb */
        23: .line 319
            goto 3
        end local 8 // java.nio.CharBuffer tmp
        24: .line 321
      StackMap locals:
      StackMap stack:
            aload 7 /* result */
            invokevirtual java.nio.charset.CoderResult.isError:()Z
            ifne 25
            aload 7 /* result */
            invokevirtual java.nio.charset.CoderResult.isMalformed:()Z
            ifeq 3
        25: .line 322
      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
        26: .line 325
      StackMap locals:
      StackMap stack:
            return
        end local 6 // java.nio.CharBuffer cb
        end local 5 // int n
        end local 4 // java.nio.ByteBuffer b
        end local 3 // org.glassfish.grizzly.websockets.DataFrame dataFrame
        end local 2 // byte[] data
        end local 1 // boolean finalFragment
        end local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   27     0           this  Lorg/glassfish/grizzly/websockets/ProtocolHandler;
            0   27     1  finalFragment  Z
            0   27     2           data  [B
            0   27     3      dataFrame  Lorg/glassfish/grizzly/websockets/DataFrame;
            1   27     4              b  Ljava/nio/ByteBuffer;
            2   27     5              n  I
            3   27     6             cb  Ljava/nio/CharBuffer;
            4   26     7         result  Ljava/nio/charset/CoderResult;
           15   18     8            res  Ljava/lang/String;
           20   24     8            tmp  Ljava/nio/CharBuffer;
    MethodParameters:
               Name  Flags
      finalFragment  
      data           
      dataFrame      

  protected java.nio.ByteBuffer getByteBuffer(byte[]);
    descriptor: ([B)Ljava/nio/ByteBuffer;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=5, locals=5, args_size=2
        start local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
        start local 1 // byte[] data
         0: .line 328
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ProtocolHandler.remainder:Ljava/nio/ByteBuffer;
            ifnonnull 2
         1: .line 329
            aload 1 /* data */
            invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
            areturn
         2: .line 331
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ProtocolHandler.remainder:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.remaining:()I
            istore 2 /* rem */
        start local 2 // int rem
         3: .line 332
            aload 0 /* this */
            getfield org.glassfish.grizzly.websockets.ProtocolHandler.remainder:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.array:()[B
            astore 3 /* orig */
        start local 3 // byte[] orig
         4: .line 333
            iload 2 /* rem */
            aload 1 /* data */
            arraylength
            iadd
            newarray 8
            astore 4 /* b */
        start local 4 // byte[] b
         5: .line 334
            aload 3 /* orig */
            aload 3 /* orig */
            arraylength
            iload 2 /* rem */
            isub
            aload 4 /* b */
            iconst_0
            iload 2 /* rem */
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         6: .line 335
            aload 1 /* data */
            iconst_0
            aload 4 /* b */
            iload 2 /* rem */
            aload 1 /* data */
            arraylength
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         7: .line 336
            aload 0 /* this */
            aconst_null
            putfield org.glassfish.grizzly.websockets.ProtocolHandler.remainder:Ljava/nio/ByteBuffer;
         8: .line 337
            aload 4 /* b */
            invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
            areturn
        end local 4 // byte[] b
        end local 3 // byte[] orig
        end local 2 // int rem
        end local 1 // byte[] data
        end local 0 // org.glassfish.grizzly.websockets.ProtocolHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Lorg/glassfish/grizzly/websockets/ProtocolHandler;
            0    9     1  data  [B
            3    9     2   rem  I
            4    9     3  orig  [B
            5    9     4     b  [B
    MethodParameters:
      Name  Flags
      data  final
}
SourceFile: "ProtocolHandler.java"
NestMembers:
  org.glassfish.grizzly.websockets.ProtocolHandler$1  org.glassfish.grizzly.websockets.ProtocolHandler$2
InnerClasses:
  org.glassfish.grizzly.websockets.ProtocolHandler$1
  org.glassfish.grizzly.websockets.ProtocolHandler$2