class sun.net.httpserver.ServerImpl$Dispatcher implements java.lang.Runnable
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: sun.net.httpserver.ServerImpl$Dispatcher
  super_class: java.lang.Object
{
  final java.util.LinkedList<sun.net.httpserver.HttpConnection> connsToRegister;
    descriptor: Ljava/util/LinkedList;
    flags: (0x0010) ACC_FINAL
    Signature: Ljava/util/LinkedList<Lsun/net/httpserver/HttpConnection;>;

  final sun.net.httpserver.ServerImpl this$0;
    descriptor: Lsun/net/httpserver/ServerImpl;
    flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 272
            ldc Lsun/net/httpserver/ServerImpl;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic sun.net.httpserver.ServerImpl$Dispatcher.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(sun.net.httpserver.ServerImpl);
    descriptor: (Lsun/net/httpserver/ServerImpl;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // sun.net.httpserver.ServerImpl$Dispatcher this
         0: .line 272
            aload 0 /* this */
            aload 1
            putfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 310
            aload 0 /* this */
         2: .line 311
            new java.util.LinkedList
            dup
            invokespecial java.util.LinkedList.<init>:()V
            putfield sun.net.httpserver.ServerImpl$Dispatcher.connsToRegister:Ljava/util/LinkedList;
         3: .line 272
            return
        end local 0 // sun.net.httpserver.ServerImpl$Dispatcher this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lsun/net/httpserver/ServerImpl$Dispatcher;
    MethodParameters:
        Name  Flags
      this$0  final

  private void handleEvent(sun.net.httpserver.Event);
    descriptor: (Lsun/net/httpserver/Event;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=6, args_size=2
        start local 0 // sun.net.httpserver.ServerImpl$Dispatcher this
        start local 1 // sun.net.httpserver.Event r
         0: .line 275
            aload 1 /* r */
            getfield sun.net.httpserver.Event.exchange:Lsun/net/httpserver/ExchangeImpl;
            astore 2 /* t */
        start local 2 // sun.net.httpserver.ExchangeImpl t
         1: .line 276
            aload 2 /* t */
            invokevirtual sun.net.httpserver.ExchangeImpl.getConnection:()Lsun/net/httpserver/HttpConnection;
            astore 3 /* c */
        start local 3 // sun.net.httpserver.HttpConnection c
         2: .line 278
            aload 1 /* r */
            instanceof sun.net.httpserver.WriteFinishedEvent
            ifeq 25
         3: .line 280
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            invokevirtual sun.net.httpserver.ServerImpl.endExchange:()I
            istore 4 /* exchanges */
        start local 4 // int exchanges
         4: .line 281
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            getfield sun.net.httpserver.ServerImpl.terminating:Z
            ifeq 6
            iload 4 /* exchanges */
            ifne 6
         5: .line 282
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            iconst_1
            putfield sun.net.httpserver.ServerImpl.finished:Z
         6: .line 284
      StackMap locals: sun.net.httpserver.ExchangeImpl sun.net.httpserver.HttpConnection int
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            aload 3 /* c */
            invokevirtual sun.net.httpserver.ServerImpl.responseCompleted:(Lsun/net/httpserver/HttpConnection;)V
         7: .line 285
            aload 2 /* t */
            invokevirtual sun.net.httpserver.ExchangeImpl.getOriginalInputStream:()Lsun/net/httpserver/LeftOverInputStream;
            astore 5 /* is */
        start local 5 // sun.net.httpserver.LeftOverInputStream is
         8: .line 286
            aload 5 /* is */
            invokevirtual sun.net.httpserver.LeftOverInputStream.isEOF:()Z
            ifne 10
         9: .line 287
            aload 2 /* t */
            iconst_1
            putfield sun.net.httpserver.ExchangeImpl.close:Z
        10: .line 289
      StackMap locals: sun.net.httpserver.LeftOverInputStream
      StackMap stack:
            aload 2 /* t */
            getfield sun.net.httpserver.ExchangeImpl.close:Z
            ifne 11
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            getfield sun.net.httpserver.ServerImpl.idleConnections:Ljava/util/Set;
            invokeinterface java.util.Set.size:()I
            getstatic sun.net.httpserver.ServerImpl.MAX_IDLE_CONNECTIONS:I
            if_icmplt 14
        11: .line 290
      StackMap locals:
      StackMap stack:
            aload 3 /* c */
            invokevirtual sun.net.httpserver.HttpConnection.close:()V
        12: .line 291
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            getfield sun.net.httpserver.ServerImpl.allConnections:Ljava/util/Set;
            aload 3 /* c */
            invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
            pop
        13: .line 292
            goto 25
        14: .line 293
      StackMap locals:
      StackMap stack:
            aload 5 /* is */
            invokevirtual sun.net.httpserver.LeftOverInputStream.isDataBuffered:()Z
            ifeq 18
        15: .line 295
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            aload 3 /* c */
            invokevirtual sun.net.httpserver.ServerImpl.requestStarted:(Lsun/net/httpserver/HttpConnection;)V
        16: .line 296
            aload 0 /* this */
            aload 3 /* c */
            invokevirtual sun.net.httpserver.HttpConnection.getChannel:()Ljava/nio/channels/SocketChannel;
            aload 3 /* c */
            invokevirtual sun.net.httpserver.ServerImpl$Dispatcher.handle:(Ljava/nio/channels/SocketChannel;Lsun/net/httpserver/HttpConnection;)V
        17: .line 297
            goto 25
        18: .line 298
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.connsToRegister:Ljava/util/LinkedList;
            aload 3 /* c */
            invokevirtual java.util.LinkedList.add:(Ljava/lang/Object;)Z
            pop
        end local 5 // sun.net.httpserver.LeftOverInputStream is
        end local 4 // int exchanges
        19: .line 302
            goto 25
      StackMap locals: sun.net.httpserver.ServerImpl$Dispatcher sun.net.httpserver.Event sun.net.httpserver.ExchangeImpl sun.net.httpserver.HttpConnection
      StackMap stack: java.io.IOException
        20: astore 4 /* e */
        start local 4 // java.io.IOException e
        21: .line 303
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            getfield sun.net.httpserver.ServerImpl.logger:Ljava/util/logging/Logger;
        22: .line 304
            getstatic java.util.logging.Level.FINER:Ljava/util/logging/Level;
            ldc "Dispatcher (1)"
            aload 4 /* e */
        23: .line 303
            invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
        24: .line 306
            aload 3 /* c */
            invokevirtual sun.net.httpserver.HttpConnection.close:()V
        end local 4 // java.io.IOException e
        25: .line 308
      StackMap locals:
      StackMap stack:
            return
        end local 3 // sun.net.httpserver.HttpConnection c
        end local 2 // sun.net.httpserver.ExchangeImpl t
        end local 1 // sun.net.httpserver.Event r
        end local 0 // sun.net.httpserver.ServerImpl$Dispatcher this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   26     0       this  Lsun/net/httpserver/ServerImpl$Dispatcher;
            0   26     1          r  Lsun/net/httpserver/Event;
            1   26     2          t  Lsun/net/httpserver/ExchangeImpl;
            2   26     3          c  Lsun/net/httpserver/HttpConnection;
            4   19     4  exchanges  I
            8   19     5         is  Lsun/net/httpserver/LeftOverInputStream;
           21   25     4          e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           2    19      20  Class java.io.IOException
    MethodParameters:
      Name  Flags
      r     

  void reRegister(sun.net.httpserver.HttpConnection);
    descriptor: (Lsun/net/httpserver/HttpConnection;)V
    flags: (0x0000) 
    Code:
      stack=5, locals=4, args_size=2
        start local 0 // sun.net.httpserver.ServerImpl$Dispatcher this
        start local 1 // sun.net.httpserver.HttpConnection c
         0: .line 316
            aload 1 /* c */
            invokevirtual sun.net.httpserver.HttpConnection.getChannel:()Ljava/nio/channels/SocketChannel;
            astore 2 /* chan */
        start local 2 // java.nio.channels.SocketChannel chan
         1: .line 317
            aload 2 /* chan */
            iconst_0
            invokevirtual java.nio.channels.SocketChannel.configureBlocking:(Z)Ljava/nio/channels/SelectableChannel;
            pop
         2: .line 318
            aload 2 /* chan */
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            getfield sun.net.httpserver.ServerImpl.selector:Ljava/nio/channels/Selector;
            iconst_1
            invokevirtual java.nio.channels.SocketChannel.register:(Ljava/nio/channels/Selector;I)Ljava/nio/channels/SelectionKey;
            astore 3 /* key */
        start local 3 // java.nio.channels.SelectionKey key
         3: .line 319
            aload 3 /* key */
            aload 1 /* c */
            invokevirtual java.nio.channels.SelectionKey.attach:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         4: .line 320
            aload 1 /* c */
            aload 3 /* key */
            putfield sun.net.httpserver.HttpConnection.selectionKey:Ljava/nio/channels/SelectionKey;
         5: .line 321
            aload 1 /* c */
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            invokevirtual sun.net.httpserver.ServerImpl.getTime:()J
            getstatic sun.net.httpserver.ServerImpl.IDLE_INTERVAL:J
            ladd
            putfield sun.net.httpserver.HttpConnection.time:J
         6: .line 322
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            getfield sun.net.httpserver.ServerImpl.idleConnections:Ljava/util/Set;
            aload 1 /* c */
            invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
            pop
        end local 3 // java.nio.channels.SelectionKey key
        end local 2 // java.nio.channels.SocketChannel chan
         7: .line 323
            goto 12
      StackMap locals:
      StackMap stack: java.io.IOException
         8: astore 2 /* e */
        start local 2 // java.io.IOException e
         9: .line 324
            aload 2 /* e */
            invokestatic sun.net.httpserver.ServerImpl.dprint:(Ljava/lang/Exception;)V
        10: .line 325
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            getfield sun.net.httpserver.ServerImpl.logger:Ljava/util/logging/Logger;
            getstatic java.util.logging.Level.FINER:Ljava/util/logging/Level;
            ldc "Dispatcher(8)"
            aload 2 /* e */
            invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
        11: .line 326
            aload 1 /* c */
            invokevirtual sun.net.httpserver.HttpConnection.close:()V
        end local 2 // java.io.IOException e
        12: .line 328
      StackMap locals:
      StackMap stack:
            return
        end local 1 // sun.net.httpserver.HttpConnection c
        end local 0 // sun.net.httpserver.ServerImpl$Dispatcher this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   13     0  this  Lsun/net/httpserver/ServerImpl$Dispatcher;
            0   13     1     c  Lsun/net/httpserver/HttpConnection;
            1    7     2  chan  Ljava/nio/channels/SocketChannel;
            3    7     3   key  Ljava/nio/channels/SelectionKey;
            9   12     2     e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           0     7       8  Class java.io.IOException
    MethodParameters:
      Name  Flags
      c     

  public void run();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=8, args_size=1
        start local 0 // sun.net.httpserver.ServerImpl$Dispatcher this
         0: .line 331
            goto 66
         1: .line 333
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 1 /* list */
        start local 1 // java.util.List list
         2: .line 334
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            getfield sun.net.httpserver.ServerImpl.lolock:Ljava/lang/Object;
            dup
            astore 2
            monitorenter
         3: .line 335
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            getfield sun.net.httpserver.ServerImpl.events:Ljava/util/List;
            invokeinterface java.util.List.size:()I
            ifle 6
         4: .line 336
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            getfield sun.net.httpserver.ServerImpl.events:Ljava/util/List;
            astore 1 /* list */
         5: .line 337
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            new java.util.LinkedList
            dup
            invokespecial java.util.LinkedList.<init>:()V
            putfield sun.net.httpserver.ServerImpl.events:Ljava/util/List;
         6: .line 334
      StackMap locals: java.util.List java.lang.Object
      StackMap stack:
            aload 2
            monitorexit
         7: goto 10
      StackMap locals:
      StackMap stack: java.lang.Throwable
         8: aload 2
            monitorexit
         9: athrow
        10: .line 341
      StackMap locals:
      StackMap stack:
            aload 1 /* list */
            ifnull 15
        11: .line 342
            aload 1 /* list */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 14
      StackMap locals: sun.net.httpserver.ServerImpl$Dispatcher java.util.List top java.util.Iterator
      StackMap stack:
        12: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast sun.net.httpserver.Event
            astore 2 /* r */
        start local 2 // sun.net.httpserver.Event r
        13: .line 343
            aload 0 /* this */
            aload 2 /* r */
            invokevirtual sun.net.httpserver.ServerImpl$Dispatcher.handleEvent:(Lsun/net/httpserver/Event;)V
        end local 2 // sun.net.httpserver.Event r
        14: .line 342
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 12
        15: .line 347
      StackMap locals: sun.net.httpserver.ServerImpl$Dispatcher java.util.List
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.connsToRegister:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.iterator:()Ljava/util/Iterator;
            astore 3
            goto 18
      StackMap locals: sun.net.httpserver.ServerImpl$Dispatcher java.util.List top java.util.Iterator
      StackMap stack:
        16: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast sun.net.httpserver.HttpConnection
            astore 2 /* c */
        start local 2 // sun.net.httpserver.HttpConnection c
        17: .line 348
            aload 0 /* this */
            aload 2 /* c */
            invokevirtual sun.net.httpserver.ServerImpl$Dispatcher.reRegister:(Lsun/net/httpserver/HttpConnection;)V
        end local 2 // sun.net.httpserver.HttpConnection c
        18: .line 347
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 16
        19: .line 350
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.connsToRegister:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.clear:()V
        20: .line 352
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            getfield sun.net.httpserver.ServerImpl.selector:Ljava/nio/channels/Selector;
            ldc 1000
            invokevirtual java.nio.channels.Selector.select:(J)I
            pop
        21: .line 355
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            getfield sun.net.httpserver.ServerImpl.selector:Ljava/nio/channels/Selector;
            invokevirtual java.nio.channels.Selector.selectedKeys:()Ljava/util/Set;
            astore 2 /* selected */
        start local 2 // java.util.Set selected
        22: .line 356
            aload 2 /* selected */
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 3 /* iter */
        start local 3 // java.util.Iterator iter
        23: .line 357
            goto 57
        24: .line 358
      StackMap locals: sun.net.httpserver.ServerImpl$Dispatcher java.util.List java.util.Set java.util.Iterator
      StackMap stack:
            aload 3 /* iter */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.nio.channels.SelectionKey
            astore 4 /* key */
        start local 4 // java.nio.channels.SelectionKey key
        25: .line 359
            aload 3 /* iter */
            invokeinterface java.util.Iterator.remove:()V
        26: .line 360
            aload 4 /* key */
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            getfield sun.net.httpserver.ServerImpl.listenerKey:Ljava/nio/channels/SelectionKey;
            invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
            ifeq 43
        27: .line 361
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            getfield sun.net.httpserver.ServerImpl.terminating:Z
            ifeq 29
        28: .line 362
            goto 57
        29: .line 364
      StackMap locals: java.nio.channels.SelectionKey
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            getfield sun.net.httpserver.ServerImpl.schan:Ljava/nio/channels/ServerSocketChannel;
            invokevirtual java.nio.channels.ServerSocketChannel.accept:()Ljava/nio/channels/SocketChannel;
            astore 5 /* chan */
        start local 5 // java.nio.channels.SocketChannel chan
        30: .line 367
            invokestatic sun.net.httpserver.ServerConfig.noDelay:()Z
            ifeq 32
        31: .line 368
            aload 5 /* chan */
            invokevirtual java.nio.channels.SocketChannel.socket:()Ljava/net/Socket;
            iconst_1
            invokevirtual java.net.Socket.setTcpNoDelay:(Z)V
        32: .line 371
      StackMap locals: java.nio.channels.SocketChannel
      StackMap stack:
            aload 5 /* chan */
            ifnonnull 34
        33: .line 372
            goto 57
        34: .line 374
      StackMap locals:
      StackMap stack:
            aload 5 /* chan */
            iconst_0
            invokevirtual java.nio.channels.SocketChannel.configureBlocking:(Z)Ljava/nio/channels/SelectableChannel;
            pop
        35: .line 375
            aload 5 /* chan */
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            getfield sun.net.httpserver.ServerImpl.selector:Ljava/nio/channels/Selector;
            iconst_1
            invokevirtual java.nio.channels.SocketChannel.register:(Ljava/nio/channels/Selector;I)Ljava/nio/channels/SelectionKey;
            astore 6 /* newkey */
        start local 6 // java.nio.channels.SelectionKey newkey
        36: .line 376
            new sun.net.httpserver.HttpConnection
            dup
            invokespecial sun.net.httpserver.HttpConnection.<init>:()V
            astore 7 /* c */
        start local 7 // sun.net.httpserver.HttpConnection c
        37: .line 377
            aload 7 /* c */
            aload 6 /* newkey */
            putfield sun.net.httpserver.HttpConnection.selectionKey:Ljava/nio/channels/SelectionKey;
        38: .line 378
            aload 7 /* c */
            aload 5 /* chan */
            invokevirtual sun.net.httpserver.HttpConnection.setChannel:(Ljava/nio/channels/SocketChannel;)V
        39: .line 379
            aload 6 /* newkey */
            aload 7 /* c */
            invokevirtual java.nio.channels.SelectionKey.attach:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
        40: .line 380
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            aload 7 /* c */
            invokevirtual sun.net.httpserver.ServerImpl.requestStarted:(Lsun/net/httpserver/HttpConnection;)V
        41: .line 381
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            getfield sun.net.httpserver.ServerImpl.allConnections:Ljava/util/Set;
            aload 7 /* c */
            invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
            pop
        end local 7 // sun.net.httpserver.HttpConnection c
        end local 6 // java.nio.channels.SelectionKey newkey
        end local 5 // java.nio.channels.SocketChannel chan
        42: .line 382
            goto 57
        43: .line 384
      StackMap locals:
      StackMap stack:
            aload 4 /* key */
            invokevirtual java.nio.channels.SelectionKey.isReadable:()Z
            ifeq 52
        44: .line 386
            aload 4 /* key */
            invokevirtual java.nio.channels.SelectionKey.channel:()Ljava/nio/channels/SelectableChannel;
            checkcast java.nio.channels.SocketChannel
            astore 5 /* chan */
        start local 5 // java.nio.channels.SocketChannel chan
        45: .line 387
            aload 4 /* key */
            invokevirtual java.nio.channels.SelectionKey.attachment:()Ljava/lang/Object;
            checkcast sun.net.httpserver.HttpConnection
            astore 6 /* conn */
        start local 6 // sun.net.httpserver.HttpConnection conn
        46: .line 389
            aload 4 /* key */
            invokevirtual java.nio.channels.SelectionKey.cancel:()V
        47: .line 390
            aload 5 /* chan */
            iconst_1
            invokevirtual java.nio.channels.SocketChannel.configureBlocking:(Z)Ljava/nio/channels/SelectableChannel;
            pop
        48: .line 391
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            getfield sun.net.httpserver.ServerImpl.idleConnections:Ljava/util/Set;
            aload 6 /* conn */
            invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
            ifeq 50
        49: .line 394
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            aload 6 /* conn */
            invokevirtual sun.net.httpserver.ServerImpl.requestStarted:(Lsun/net/httpserver/HttpConnection;)V
        50: .line 396
      StackMap locals: java.nio.channels.SocketChannel sun.net.httpserver.HttpConnection
      StackMap stack:
            aload 0 /* this */
            aload 5 /* chan */
            aload 6 /* conn */
            invokevirtual sun.net.httpserver.ServerImpl$Dispatcher.handle:(Ljava/nio/channels/SocketChannel;Lsun/net/httpserver/HttpConnection;)V
        end local 6 // sun.net.httpserver.HttpConnection conn
        end local 5 // java.nio.channels.SocketChannel chan
        51: .line 397
            goto 57
        52: .line 398
      StackMap locals:
      StackMap stack:
            getstatic sun.net.httpserver.ServerImpl$Dispatcher.$assertionsDisabled:Z
            ifne 57
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        53: .line 400
      StackMap locals:
      StackMap stack: java.nio.channels.CancelledKeyException
            pop
        54: .line 401
            aload 0 /* this */
            aload 4 /* key */
            aconst_null
            invokevirtual sun.net.httpserver.ServerImpl$Dispatcher.handleException:(Ljava/nio/channels/SelectionKey;Ljava/lang/Exception;)V
            goto 57
        55: .line 402
      StackMap locals:
      StackMap stack: java.io.IOException
            astore 5 /* e */
        start local 5 // java.io.IOException e
        56: .line 403
            aload 0 /* this */
            aload 4 /* key */
            aload 5 /* e */
            invokevirtual sun.net.httpserver.ServerImpl$Dispatcher.handleException:(Ljava/nio/channels/SelectionKey;Ljava/lang/Exception;)V
        end local 5 // java.io.IOException e
        end local 4 // java.nio.channels.SelectionKey key
        57: .line 357
      StackMap locals:
      StackMap stack:
            aload 3 /* iter */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 24
        58: .line 408
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            getfield sun.net.httpserver.ServerImpl.selector:Ljava/nio/channels/Selector;
            invokevirtual java.nio.channels.Selector.selectNow:()I
            pop
        end local 3 // java.util.Iterator iter
        end local 2 // java.util.Set selected
        end local 1 // java.util.List list
        59: .line 409
            goto 66
      StackMap locals: sun.net.httpserver.ServerImpl$Dispatcher
      StackMap stack: java.io.IOException
        60: astore 1 /* e */
        start local 1 // java.io.IOException e
        61: .line 410
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            getfield sun.net.httpserver.ServerImpl.logger:Ljava/util/logging/Logger;
            getstatic java.util.logging.Level.FINER:Ljava/util/logging/Level;
            ldc "Dispatcher (4)"
            aload 1 /* e */
            invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 1 // java.io.IOException e
        62: goto 66
        63: .line 411
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 1 /* e */
        start local 1 // java.lang.Exception e
        64: .line 412
            aload 1 /* e */
            invokevirtual java.lang.Exception.printStackTrace:()V
        65: .line 413
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            getfield sun.net.httpserver.ServerImpl.logger:Ljava/util/logging/Logger;
            getstatic java.util.logging.Level.FINER:Ljava/util/logging/Level;
            ldc "Dispatcher (7)"
            aload 1 /* e */
            invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 1 // java.lang.Exception e
        66: .line 331
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            getfield sun.net.httpserver.ServerImpl.finished:Z
            ifeq 1
        67: .line 416
            return
        end local 0 // sun.net.httpserver.ServerImpl$Dispatcher this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   68     0      this  Lsun/net/httpserver/ServerImpl$Dispatcher;
            2   59     1      list  Ljava/util/List<Lsun/net/httpserver/Event;>;
           13   14     2         r  Lsun/net/httpserver/Event;
           17   18     2         c  Lsun/net/httpserver/HttpConnection;
           22   59     2  selected  Ljava/util/Set<Ljava/nio/channels/SelectionKey;>;
           23   59     3      iter  Ljava/util/Iterator<Ljava/nio/channels/SelectionKey;>;
           25   57     4       key  Ljava/nio/channels/SelectionKey;
           30   42     5      chan  Ljava/nio/channels/SocketChannel;
           36   42     6    newkey  Ljava/nio/channels/SelectionKey;
           37   42     7         c  Lsun/net/httpserver/HttpConnection;
           45   51     5      chan  Ljava/nio/channels/SocketChannel;
           46   51     6      conn  Lsun/net/httpserver/HttpConnection;
           56   57     5         e  Ljava/io/IOException;
           61   62     1         e  Ljava/io/IOException;
           64   66     1         e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           3     7       8  any
           8     9       8  any
          43    53      53  Class java.nio.channels.CancelledKeyException
          43    53      55  Class java.io.IOException
           1    59      60  Class java.io.IOException
           1    59      63  Class java.lang.Exception

  private void handleException(java.nio.channels.SelectionKey, java.lang.Exception);
    descriptor: (Ljava/nio/channels/SelectionKey;Ljava/lang/Exception;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // sun.net.httpserver.ServerImpl$Dispatcher this
        start local 1 // java.nio.channels.SelectionKey key
        start local 2 // java.lang.Exception e
         0: .line 419
            aload 1 /* key */
            invokevirtual java.nio.channels.SelectionKey.attachment:()Ljava/lang/Object;
            checkcast sun.net.httpserver.HttpConnection
            astore 3 /* conn */
        start local 3 // sun.net.httpserver.HttpConnection conn
         1: .line 420
            aload 2 /* e */
            ifnull 3
         2: .line 421
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            getfield sun.net.httpserver.ServerImpl.logger:Ljava/util/logging/Logger;
            getstatic java.util.logging.Level.FINER:Ljava/util/logging/Level;
            ldc "Dispatcher (2)"
            aload 2 /* e */
            invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
         3: .line 423
      StackMap locals: sun.net.httpserver.HttpConnection
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            aload 3 /* conn */
            invokevirtual sun.net.httpserver.ServerImpl.closeConnection:(Lsun/net/httpserver/HttpConnection;)V
         4: .line 424
            return
        end local 3 // sun.net.httpserver.HttpConnection conn
        end local 2 // java.lang.Exception e
        end local 1 // java.nio.channels.SelectionKey key
        end local 0 // sun.net.httpserver.ServerImpl$Dispatcher this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lsun/net/httpserver/ServerImpl$Dispatcher;
            0    5     1   key  Ljava/nio/channels/SelectionKey;
            0    5     2     e  Ljava/lang/Exception;
            1    5     3  conn  Lsun/net/httpserver/HttpConnection;
    MethodParameters:
      Name  Flags
      key   
      e     

  public void handle(java.nio.channels.SocketChannel, sun.net.httpserver.HttpConnection);
    descriptor: (Ljava/nio/channels/SocketChannel;Lsun/net/httpserver/HttpConnection;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=4, args_size=3
        start local 0 // sun.net.httpserver.ServerImpl$Dispatcher this
        start local 1 // java.nio.channels.SocketChannel chan
        start local 2 // sun.net.httpserver.HttpConnection conn
         0: .line 430
            new sun.net.httpserver.ServerImpl$Exchange
            dup
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            aload 1 /* chan */
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            getfield sun.net.httpserver.ServerImpl.protocol:Ljava/lang/String;
            aload 2 /* conn */
            invokespecial sun.net.httpserver.ServerImpl$Exchange.<init>:(Lsun/net/httpserver/ServerImpl;Ljava/nio/channels/SocketChannel;Ljava/lang/String;Lsun/net/httpserver/HttpConnection;)V
            astore 3 /* t */
        start local 3 // sun.net.httpserver.ServerImpl$Exchange t
         1: .line 431
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            getfield sun.net.httpserver.ServerImpl.executor:Ljava/util/concurrent/Executor;
            aload 3 /* t */
            invokeinterface java.util.concurrent.Executor.execute:(Ljava/lang/Runnable;)V
        end local 3 // sun.net.httpserver.ServerImpl$Exchange t
         2: .line 432
            goto 10
      StackMap locals:
      StackMap stack: sun.net.httpserver.HttpError
         3: astore 3 /* e1 */
        start local 3 // sun.net.httpserver.HttpError e1
         4: .line 433
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            getfield sun.net.httpserver.ServerImpl.logger:Ljava/util/logging/Logger;
            getstatic java.util.logging.Level.FINER:Ljava/util/logging/Level;
            ldc "Dispatcher (4)"
            aload 3 /* e1 */
            invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
         5: .line 434
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            aload 2 /* conn */
            invokevirtual sun.net.httpserver.ServerImpl.closeConnection:(Lsun/net/httpserver/HttpConnection;)V
        end local 3 // sun.net.httpserver.HttpError e1
         6: goto 10
         7: .line 435
      StackMap locals:
      StackMap stack: java.io.IOException
            astore 3 /* e */
        start local 3 // java.io.IOException e
         8: .line 436
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            getfield sun.net.httpserver.ServerImpl.logger:Ljava/util/logging/Logger;
            getstatic java.util.logging.Level.FINER:Ljava/util/logging/Level;
            ldc "Dispatcher (5)"
            aload 3 /* e */
            invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
         9: .line 437
            aload 0 /* this */
            getfield sun.net.httpserver.ServerImpl$Dispatcher.this$0:Lsun/net/httpserver/ServerImpl;
            aload 2 /* conn */
            invokevirtual sun.net.httpserver.ServerImpl.closeConnection:(Lsun/net/httpserver/HttpConnection;)V
        end local 3 // java.io.IOException e
        10: .line 439
      StackMap locals:
      StackMap stack:
            return
        end local 2 // sun.net.httpserver.HttpConnection conn
        end local 1 // java.nio.channels.SocketChannel chan
        end local 0 // sun.net.httpserver.ServerImpl$Dispatcher this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   11     0  this  Lsun/net/httpserver/ServerImpl$Dispatcher;
            0   11     1  chan  Ljava/nio/channels/SocketChannel;
            0   11     2  conn  Lsun/net/httpserver/HttpConnection;
            1    2     3     t  Lsun/net/httpserver/ServerImpl$Exchange;
            4    6     3    e1  Lsun/net/httpserver/HttpError;
            8   10     3     e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           0     2       3  Class sun.net.httpserver.HttpError
           0     2       7  Class java.io.IOException
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      chan  
      conn  
}
SourceFile: "ServerImpl.java"
NestHost: sun.net.httpserver.ServerImpl
InnerClasses:
  Dispatcher = sun.net.httpserver.ServerImpl$Dispatcher of sun.net.httpserver.ServerImpl
  Exchange = sun.net.httpserver.ServerImpl$Exchange of sun.net.httpserver.ServerImpl