public class io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler extends io.netty.channel.ChannelDuplexHandler
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler
  super_class: io.netty.channel.ChannelDuplexHandler
{
  private final java.util.List<io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandshaker> extensionHandshakers;
    descriptor: Ljava/util/List;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/List<Lio/netty/handler/codec/http/websocketx/extensions/WebSocketServerExtensionHandshaker;>;

  private java.util.List<io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtension> validExtensions;
    descriptor: Ljava/util/List;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/List<Lio/netty/handler/codec/http/websocketx/extensions/WebSocketServerExtension;>;

  public void <init>(io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandshaker[]);
    descriptor: ([Lio/netty/handler/codec/http/websocketx/extensions/WebSocketServerExtensionHandshaker;)V
    flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler this
        start local 1 // io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandshaker[] extensionHandshakers
         0: .line 55
            aload 0 /* this */
            invokespecial io.netty.channel.ChannelDuplexHandler.<init>:()V
         1: .line 56
            aload 1 /* extensionHandshakers */
            ifnonnull 3
         2: .line 57
            new java.lang.NullPointerException
            dup
            ldc "extensionHandshakers"
            invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 59
      StackMap locals: io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandshaker[]
      StackMap stack:
            aload 1 /* extensionHandshakers */
            arraylength
            ifne 5
         4: .line 60
            new java.lang.IllegalArgumentException
            dup
            ldc "extensionHandshakers must contains at least one handshaker"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 62
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* extensionHandshakers */
            invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
            putfield io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.extensionHandshakers:Ljava/util/List;
         6: .line 63
            return
        end local 1 // io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandshaker[] extensionHandshakers
        end local 0 // io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler this
      LocalVariableTable:
        Start  End  Slot                  Name  Signature
            0    7     0                  this  Lio/netty/handler/codec/http/websocketx/extensions/WebSocketServerExtensionHandler;
            0    7     1  extensionHandshakers  [Lio/netty/handler/codec/http/websocketx/extensions/WebSocketServerExtensionHandshaker;
    MethodParameters:
                      Name  Flags
      extensionHandshakers  

  public void channelRead(io.netty.channel.ChannelHandlerContext, java.lang.Object);
    descriptor: (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=12, args_size=3
        start local 0 // io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler this
        start local 1 // io.netty.channel.ChannelHandlerContext ctx
        start local 2 // java.lang.Object msg
         0: .line 68
            aload 2 /* msg */
            instanceof io.netty.handler.codec.http.HttpRequest
            ifeq 24
         1: .line 69
            aload 2 /* msg */
            checkcast io.netty.handler.codec.http.HttpRequest
            astore 3 /* request */
        start local 3 // io.netty.handler.codec.http.HttpRequest request
         2: .line 71
            aload 3 /* request */
            invokeinterface io.netty.handler.codec.http.HttpRequest.headers:()Lio/netty/handler/codec/http/HttpHeaders;
            invokestatic io.netty.handler.codec.http.websocketx.extensions.WebSocketExtensionUtil.isWebsocketUpgrade:(Lio/netty/handler/codec/http/HttpHeaders;)Z
            ifeq 24
         3: .line 72
            aload 3 /* request */
            invokeinterface io.netty.handler.codec.http.HttpRequest.headers:()Lio/netty/handler/codec/http/HttpHeaders;
            getstatic io.netty.handler.codec.http.HttpHeaderNames.SEC_WEBSOCKET_EXTENSIONS:Lio/netty/util/AsciiString;
            invokevirtual io.netty.handler.codec.http.HttpHeaders.getAsString:(Ljava/lang/CharSequence;)Ljava/lang/String;
            astore 4 /* extensionsHeader */
        start local 4 // java.lang.String extensionsHeader
         4: .line 74
            aload 4 /* extensionsHeader */
            ifnull 24
         5: .line 76
            aload 4 /* extensionsHeader */
            invokestatic io.netty.handler.codec.http.websocketx.extensions.WebSocketExtensionUtil.extractExtensions:(Ljava/lang/String;)Ljava/util/List;
         6: .line 75
            astore 5 /* extensions */
        start local 5 // java.util.List extensions
         7: .line 77
            iconst_0
            istore 6 /* rsv */
        start local 6 // int rsv
         8: .line 79
            aload 5 /* extensions */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 8
            goto 23
      StackMap locals: io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler io.netty.channel.ChannelHandlerContext java.lang.Object io.netty.handler.codec.http.HttpRequest java.lang.String java.util.List int top java.util.Iterator
      StackMap stack:
         9: aload 8
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast io.netty.handler.codec.http.websocketx.extensions.WebSocketExtensionData
            astore 7 /* extensionData */
        start local 7 // io.netty.handler.codec.http.websocketx.extensions.WebSocketExtensionData extensionData
        10: .line 81
            aload 0 /* this */
            getfield io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.extensionHandshakers:Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
        11: .line 80
            astore 9 /* extensionHandshakersIterator */
        start local 9 // java.util.Iterator extensionHandshakersIterator
        12: .line 82
            aconst_null
            astore 10 /* validExtension */
        start local 10 // io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtension validExtension
        13: .line 84
            goto 17
        14: .line 86
      StackMap locals: io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler io.netty.channel.ChannelHandlerContext java.lang.Object io.netty.handler.codec.http.HttpRequest java.lang.String java.util.List int io.netty.handler.codec.http.websocketx.extensions.WebSocketExtensionData java.util.Iterator java.util.Iterator io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtension
      StackMap stack:
            aload 9 /* extensionHandshakersIterator */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandshaker
        15: .line 85
            astore 11 /* extensionHandshaker */
        start local 11 // io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandshaker extensionHandshaker
        16: .line 87
            aload 11 /* extensionHandshaker */
            aload 7 /* extensionData */
            invokeinterface io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandshaker.handshakeExtension:(Lio/netty/handler/codec/http/websocketx/extensions/WebSocketExtensionData;)Lio/netty/handler/codec/http/websocketx/extensions/WebSocketServerExtension;
            astore 10 /* validExtension */
        end local 11 // io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandshaker extensionHandshaker
        17: .line 84
      StackMap locals:
      StackMap stack:
            aload 10 /* validExtension */
            ifnonnull 18
            aload 9 /* extensionHandshakersIterator */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 14
        18: .line 90
      StackMap locals:
      StackMap stack:
            aload 10 /* validExtension */
            ifnull 23
            aload 10 /* validExtension */
            invokeinterface io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtension.rsv:()I
            iload 6 /* rsv */
            iand
            ifne 23
        19: .line 91
            aload 0 /* this */
            getfield io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.validExtensions:Ljava/util/List;
            ifnonnull 21
        20: .line 92
            aload 0 /* this */
            new java.util.ArrayList
            dup
            iconst_1
            invokespecial java.util.ArrayList.<init>:(I)V
            putfield io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.validExtensions:Ljava/util/List;
        21: .line 94
      StackMap locals:
      StackMap stack:
            iload 6 /* rsv */
            aload 10 /* validExtension */
            invokeinterface io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtension.rsv:()I
            ior
            istore 6 /* rsv */
        22: .line 95
            aload 0 /* this */
            getfield io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.validExtensions:Ljava/util/List;
            aload 10 /* validExtension */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 10 // io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtension validExtension
        end local 9 // java.util.Iterator extensionHandshakersIterator
        end local 7 // io.netty.handler.codec.http.websocketx.extensions.WebSocketExtensionData extensionData
        23: .line 79
      StackMap locals: io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler io.netty.channel.ChannelHandlerContext java.lang.Object io.netty.handler.codec.http.HttpRequest java.lang.String java.util.List int top java.util.Iterator
      StackMap stack:
            aload 8
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 9
        end local 6 // int rsv
        end local 5 // java.util.List extensions
        end local 4 // java.lang.String extensionsHeader
        end local 3 // io.netty.handler.codec.http.HttpRequest request
        24: .line 102
      StackMap locals: io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler io.netty.channel.ChannelHandlerContext java.lang.Object
      StackMap stack:
            aload 0 /* this */
            aload 1 /* ctx */
            aload 2 /* msg */
            invokespecial io.netty.channel.ChannelDuplexHandler.channelRead:(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V
        25: .line 103
            return
        end local 2 // java.lang.Object msg
        end local 1 // io.netty.channel.ChannelHandlerContext ctx
        end local 0 // io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler this
      LocalVariableTable:
        Start  End  Slot                          Name  Signature
            0   26     0                          this  Lio/netty/handler/codec/http/websocketx/extensions/WebSocketServerExtensionHandler;
            0   26     1                           ctx  Lio/netty/channel/ChannelHandlerContext;
            0   26     2                           msg  Ljava/lang/Object;
            2   24     3                       request  Lio/netty/handler/codec/http/HttpRequest;
            4   24     4              extensionsHeader  Ljava/lang/String;
            7   24     5                    extensions  Ljava/util/List<Lio/netty/handler/codec/http/websocketx/extensions/WebSocketExtensionData;>;
            8   24     6                           rsv  I
           10   23     7                 extensionData  Lio/netty/handler/codec/http/websocketx/extensions/WebSocketExtensionData;
           12   23     9  extensionHandshakersIterator  Ljava/util/Iterator<Lio/netty/handler/codec/http/websocketx/extensions/WebSocketServerExtensionHandshaker;>;
           13   23    10                validExtension  Lio/netty/handler/codec/http/websocketx/extensions/WebSocketServerExtension;
           16   17    11           extensionHandshaker  Lio/netty/handler/codec/http/websocketx/extensions/WebSocketServerExtensionHandshaker;
    Exceptions:
      throws java.lang.Exception
    MethodParameters:
      Name  Flags
      ctx   
      msg   

  public void write(io.netty.channel.ChannelHandlerContext, java.lang.Object, io.netty.channel.ChannelPromise);
    descriptor: (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=9, args_size=4
        start local 0 // io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler this
        start local 1 // io.netty.channel.ChannelHandlerContext ctx
        start local 2 // java.lang.Object msg
        start local 3 // io.netty.channel.ChannelPromise promise
         0: .line 107
            aload 2 /* msg */
            instanceof io.netty.handler.codec.http.HttpResponse
            ifeq 14
         1: .line 108
            aload 2 /* msg */
            checkcast io.netty.handler.codec.http.HttpResponse
            invokeinterface io.netty.handler.codec.http.HttpResponse.headers:()Lio/netty/handler/codec/http/HttpHeaders;
            invokestatic io.netty.handler.codec.http.websocketx.extensions.WebSocketExtensionUtil.isWebsocketUpgrade:(Lio/netty/handler/codec/http/HttpHeaders;)Z
            ifeq 14
            aload 0 /* this */
            getfield io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.validExtensions:Ljava/util/List;
            ifnull 14
         2: .line 109
            aload 2 /* msg */
            checkcast io.netty.handler.codec.http.HttpResponse
            astore 4 /* response */
        start local 4 // io.netty.handler.codec.http.HttpResponse response
         3: .line 110
            aload 4 /* response */
            invokeinterface io.netty.handler.codec.http.HttpResponse.headers:()Lio/netty/handler/codec/http/HttpHeaders;
            getstatic io.netty.handler.codec.http.HttpHeaderNames.SEC_WEBSOCKET_EXTENSIONS:Lio/netty/util/AsciiString;
            invokevirtual io.netty.handler.codec.http.HttpHeaders.getAsString:(Ljava/lang/CharSequence;)Ljava/lang/String;
            astore 5 /* headerValue */
        start local 5 // java.lang.String headerValue
         4: .line 112
            aload 0 /* this */
            getfield io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.validExtensions:Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 7
            goto 10
      StackMap locals: io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler io.netty.channel.ChannelHandlerContext java.lang.Object io.netty.channel.ChannelPromise io.netty.handler.codec.http.HttpResponse java.lang.String top java.util.Iterator
      StackMap stack:
         5: aload 7
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtension
            astore 6 /* extension */
        start local 6 // io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtension extension
         6: .line 113
            aload 6 /* extension */
            invokeinterface io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtension.newReponseData:()Lio/netty/handler/codec/http/websocketx/extensions/WebSocketExtensionData;
            astore 8 /* extensionData */
        start local 8 // io.netty.handler.codec.http.websocketx.extensions.WebSocketExtensionData extensionData
         7: .line 114
            aload 5 /* headerValue */
         8: .line 115
            aload 8 /* extensionData */
            invokevirtual io.netty.handler.codec.http.websocketx.extensions.WebSocketExtensionData.name:()Ljava/lang/String;
            aload 8 /* extensionData */
            invokevirtual io.netty.handler.codec.http.websocketx.extensions.WebSocketExtensionData.parameters:()Ljava/util/Map;
         9: .line 114
            invokestatic io.netty.handler.codec.http.websocketx.extensions.WebSocketExtensionUtil.appendExtension:(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
            astore 5 /* headerValue */
        end local 8 // io.netty.handler.codec.http.websocketx.extensions.WebSocketExtensionData extensionData
        end local 6 // io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtension extension
        10: .line 112
      StackMap locals:
      StackMap stack:
            aload 7
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 5
        11: .line 118
            aload 3 /* promise */
            new io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler$1
            dup
            aload 0 /* this */
            aload 1 /* ctx */
            invokespecial io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler$1.<init>:(Lio/netty/handler/codec/http/websocketx/extensions/WebSocketServerExtensionHandler;Lio/netty/channel/ChannelHandlerContext;)V
            invokeinterface io.netty.channel.ChannelPromise.addListener:(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelPromise;
            pop
        12: .line 134
            aload 5 /* headerValue */
            ifnull 14
        13: .line 135
            aload 4 /* response */
            invokeinterface io.netty.handler.codec.http.HttpResponse.headers:()Lio/netty/handler/codec/http/HttpHeaders;
            getstatic io.netty.handler.codec.http.HttpHeaderNames.SEC_WEBSOCKET_EXTENSIONS:Lio/netty/util/AsciiString;
            aload 5 /* headerValue */
            invokevirtual io.netty.handler.codec.http.HttpHeaders.set:(Ljava/lang/CharSequence;Ljava/lang/Object;)Lio/netty/handler/codec/http/HttpHeaders;
            pop
        end local 5 // java.lang.String headerValue
        end local 4 // io.netty.handler.codec.http.HttpResponse response
        14: .line 139
      StackMap locals: io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler io.netty.channel.ChannelHandlerContext java.lang.Object io.netty.channel.ChannelPromise
      StackMap stack:
            aload 0 /* this */
            aload 1 /* ctx */
            aload 2 /* msg */
            aload 3 /* promise */
            invokespecial io.netty.channel.ChannelDuplexHandler.write:(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)V
        15: .line 140
            return
        end local 3 // io.netty.channel.ChannelPromise promise
        end local 2 // java.lang.Object msg
        end local 1 // io.netty.channel.ChannelHandlerContext ctx
        end local 0 // io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   16     0           this  Lio/netty/handler/codec/http/websocketx/extensions/WebSocketServerExtensionHandler;
            0   16     1            ctx  Lio/netty/channel/ChannelHandlerContext;
            0   16     2            msg  Ljava/lang/Object;
            0   16     3        promise  Lio/netty/channel/ChannelPromise;
            3   14     4       response  Lio/netty/handler/codec/http/HttpResponse;
            4   14     5    headerValue  Ljava/lang/String;
            6   10     6      extension  Lio/netty/handler/codec/http/websocketx/extensions/WebSocketServerExtension;
            7   10     8  extensionData  Lio/netty/handler/codec/http/websocketx/extensions/WebSocketExtensionData;
    Exceptions:
      throws java.lang.Exception
    MethodParameters:
         Name  Flags
      ctx      final
      msg      
      promise  
}
SourceFile: "WebSocketServerExtensionHandler.java"
NestMembers:
  io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler$1
InnerClasses:
  io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler$1