class sun.net.httpserver.Request$ReadStream extends java.io.InputStream
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: sun.net.httpserver.Request$ReadStream
  super_class: java.io.InputStream
{
  java.nio.channels.SocketChannel channel;
    descriptor: Ljava/nio/channels/SocketChannel;
    flags: (0x0000) 

  java.nio.ByteBuffer chanbuf;
    descriptor: Ljava/nio/ByteBuffer;
    flags: (0x0000) 

  byte[] one;
    descriptor: [B
    flags: (0x0000) 

  private boolean closed;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private boolean eof;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  java.nio.ByteBuffer markBuf;
    descriptor: Ljava/nio/ByteBuffer;
    flags: (0x0000) 

  boolean marked;
    descriptor: Z
    flags: (0x0000) 

  boolean reset;
    descriptor: Z
    flags: (0x0000) 

  int readlimit;
    descriptor: I
    flags: (0x0000) 

  static long readTimeout;
    descriptor: J
    flags: (0x0008) ACC_STATIC

  sun.net.httpserver.ServerImpl server;
    descriptor: Lsun/net/httpserver/ServerImpl;
    flags: (0x0000) 

  static final int BUFSIZE;
    descriptor: I
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 8192

  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 220
            ldc Lsun/net/httpserver/Request;
            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.Request$ReadStream.$assertionsDisabled:Z
         3: .line 231
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(sun.net.httpserver.ServerImpl, java.nio.channels.SocketChannel);
    descriptor: (Lsun/net/httpserver/ServerImpl;Ljava/nio/channels/SocketChannel;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // sun.net.httpserver.Request$ReadStream this
        start local 1 // sun.net.httpserver.ServerImpl server
        start local 2 // java.nio.channels.SocketChannel chan
         0: .line 233
            aload 0 /* this */
            invokespecial java.io.InputStream.<init>:()V
         1: .line 224
            aload 0 /* this */
            iconst_0
            putfield sun.net.httpserver.Request$ReadStream.closed:Z
            aload 0 /* this */
            iconst_0
            putfield sun.net.httpserver.Request$ReadStream.eof:Z
         2: .line 234
            aload 0 /* this */
            aload 2 /* chan */
            putfield sun.net.httpserver.Request$ReadStream.channel:Ljava/nio/channels/SocketChannel;
         3: .line 235
            aload 0 /* this */
            aload 1 /* server */
            putfield sun.net.httpserver.Request$ReadStream.server:Lsun/net/httpserver/ServerImpl;
         4: .line 236
            aload 0 /* this */
            sipush 8192
            invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
            putfield sun.net.httpserver.Request$ReadStream.chanbuf:Ljava/nio/ByteBuffer;
         5: .line 237
            aload 0 /* this */
            getfield sun.net.httpserver.Request$ReadStream.chanbuf:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/ByteBuffer;
            pop
         6: .line 238
            aload 0 /* this */
            iconst_1
            newarray 8
            putfield sun.net.httpserver.Request$ReadStream.one:[B
         7: .line 239
            aload 0 /* this */
            aload 0 /* this */
            aload 0 /* this */
            iconst_0
            dup_x1
            putfield sun.net.httpserver.Request$ReadStream.reset:Z
            dup_x1
            putfield sun.net.httpserver.Request$ReadStream.marked:Z
            putfield sun.net.httpserver.Request$ReadStream.closed:Z
         8: .line 240
            return
        end local 2 // java.nio.channels.SocketChannel chan
        end local 1 // sun.net.httpserver.ServerImpl server
        end local 0 // sun.net.httpserver.Request$ReadStream this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    9     0    this  Lsun/net/httpserver/Request$ReadStream;
            0    9     1  server  Lsun/net/httpserver/ServerImpl;
            0    9     2    chan  Ljava/nio/channels/SocketChannel;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      server  
      chan    

  public synchronized int read(byte[]);
    descriptor: ([B)I
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // sun.net.httpserver.Request$ReadStream this
        start local 1 // byte[] b
         0: .line 243
            aload 0 /* this */
            aload 1 /* b */
            iconst_0
            aload 1 /* b */
            arraylength
            invokevirtual sun.net.httpserver.Request$ReadStream.read:([BII)I
            ireturn
        end local 1 // byte[] b
        end local 0 // sun.net.httpserver.Request$ReadStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/net/httpserver/Request$ReadStream;
            0    1     1     b  [B
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     

  public synchronized int read();
    descriptor: ()I
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // sun.net.httpserver.Request$ReadStream this
         0: .line 247
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.net.httpserver.Request$ReadStream.one:[B
            iconst_0
            iconst_1
            invokevirtual sun.net.httpserver.Request$ReadStream.read:([BII)I
            istore 1 /* result */
        start local 1 // int result
         1: .line 248
            iload 1 /* result */
            iconst_1
            if_icmpne 3
         2: .line 249
            aload 0 /* this */
            getfield sun.net.httpserver.Request$ReadStream.one:[B
            iconst_0
            baload
            sipush 255
            iand
            ireturn
         3: .line 251
      StackMap locals: int
      StackMap stack:
            iconst_m1
            ireturn
        end local 1 // int result
        end local 0 // sun.net.httpserver.Request$ReadStream this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    this  Lsun/net/httpserver/Request$ReadStream;
            1    4     1  result  I
    Exceptions:
      throws java.io.IOException

  public synchronized int read(byte[], int, int);
    descriptor: ([BII)I
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=4, locals=6, args_size=4
        start local 0 // sun.net.httpserver.Request$ReadStream this
        start local 1 // byte[] b
        start local 2 // int off
        start local 3 // int srclen
         0: .line 259
            aload 0 /* this */
            getfield sun.net.httpserver.Request$ReadStream.closed:Z
            ifeq 2
         1: .line 260
            new java.io.IOException
            dup
            ldc "Stream closed"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 262
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.Request$ReadStream.eof:Z
            ifeq 4
         3: .line 263
            iconst_m1
            ireturn
         4: .line 266
      StackMap locals:
      StackMap stack:
            getstatic sun.net.httpserver.Request$ReadStream.$assertionsDisabled:Z
            ifne 5
            aload 0 /* this */
            getfield sun.net.httpserver.Request$ReadStream.channel:Ljava/nio/channels/SocketChannel;
            invokevirtual java.nio.channels.SocketChannel.isBlocking:()Z
            ifne 5
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         5: .line 268
      StackMap locals:
      StackMap stack:
            iload 2 /* off */
            iflt 6
            iload 3 /* srclen */
            iflt 6
            iload 3 /* srclen */
            aload 1 /* b */
            arraylength
            iload 2 /* off */
            isub
            if_icmple 7
         6: .line 269
      StackMap locals:
      StackMap stack:
            new java.lang.IndexOutOfBoundsException
            dup
            invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
            athrow
         7: .line 272
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.Request$ReadStream.reset:Z
            ifeq 16
         8: .line 273
            aload 0 /* this */
            getfield sun.net.httpserver.Request$ReadStream.markBuf:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.remaining:()I
            istore 4 /* canreturn */
        start local 4 // int canreturn
         9: .line 274
            iload 4 /* canreturn */
            iload 3 /* srclen */
            if_icmple 10
            iload 3 /* srclen */
            goto 11
      StackMap locals: int
      StackMap stack:
        10: iload 4 /* canreturn */
      StackMap locals:
      StackMap stack: int
        11: istore 5 /* willreturn */
        start local 5 // int willreturn
        12: .line 275
            aload 0 /* this */
            getfield sun.net.httpserver.Request$ReadStream.markBuf:Ljava/nio/ByteBuffer;
            aload 1 /* b */
            iload 2 /* off */
            iload 5 /* willreturn */
            invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
            pop
        13: .line 276
            iload 4 /* canreturn */
            iload 5 /* willreturn */
            if_icmpne 31
        14: .line 277
            aload 0 /* this */
            iconst_0
            putfield sun.net.httpserver.Request$ReadStream.reset:Z
        15: .line 279
            goto 31
        end local 5 // int willreturn
        end local 4 // int canreturn
        16: .line 280
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.Request$ReadStream.chanbuf:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/ByteBuffer;
            pop
        17: .line 281
            iload 3 /* srclen */
            sipush 8192
            if_icmpge 19
        18: .line 282
            aload 0 /* this */
            getfield sun.net.httpserver.Request$ReadStream.chanbuf:Ljava/nio/ByteBuffer;
            iload 3 /* srclen */
            invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
            pop
        19: .line 285
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.Request$ReadStream.channel:Ljava/nio/channels/SocketChannel;
            aload 0 /* this */
            getfield sun.net.httpserver.Request$ReadStream.chanbuf:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.channels.SocketChannel.read:(Ljava/nio/ByteBuffer;)I
            istore 5 /* willreturn */
        start local 5 // int willreturn
        20: .line 286
            iload 5 /* willreturn */
            ifeq 19
        21: .line 287
            iload 5 /* willreturn */
            iconst_m1
            if_icmpne 24
        22: .line 288
            aload 0 /* this */
            iconst_1
            putfield sun.net.httpserver.Request$ReadStream.eof:Z
        23: .line 289
            iconst_m1
            ireturn
        24: .line 291
      StackMap locals: sun.net.httpserver.Request$ReadStream byte[] int int top int
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.Request$ReadStream.chanbuf:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/ByteBuffer;
            pop
        25: .line 292
            aload 0 /* this */
            getfield sun.net.httpserver.Request$ReadStream.chanbuf:Ljava/nio/ByteBuffer;
            aload 1 /* b */
            iload 2 /* off */
            iload 5 /* willreturn */
            invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
            pop
        26: .line 294
            aload 0 /* this */
            getfield sun.net.httpserver.Request$ReadStream.marked:Z
            ifeq 31
        27: .line 296
            aload 0 /* this */
            getfield sun.net.httpserver.Request$ReadStream.markBuf:Ljava/nio/ByteBuffer;
            aload 1 /* b */
            iload 2 /* off */
            iload 5 /* willreturn */
            invokevirtual java.nio.ByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
            pop
        28: .line 297
            goto 31
      StackMap locals:
      StackMap stack: java.nio.BufferOverflowException
        29: pop
        30: .line 298
            aload 0 /* this */
            iconst_0
            putfield sun.net.httpserver.Request$ReadStream.marked:Z
        31: .line 302
      StackMap locals:
      StackMap stack:
            iload 5 /* willreturn */
            ireturn
        end local 5 // int willreturn
        end local 3 // int srclen
        end local 2 // int off
        end local 1 // byte[] b
        end local 0 // sun.net.httpserver.Request$ReadStream this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   32     0        this  Lsun/net/httpserver/Request$ReadStream;
            0   32     1           b  [B
            0   32     2         off  I
            0   32     3      srclen  I
            9   16     4   canreturn  I
           12   16     5  willreturn  I
           20   32     5  willreturn  I
      Exception table:
        from    to  target  type
          27    28      29  Class java.nio.BufferOverflowException
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      b       
      off     
      srclen  

  public boolean markSupported();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.net.httpserver.Request$ReadStream this
         0: .line 306
            iconst_1
            ireturn
        end local 0 // sun.net.httpserver.Request$ReadStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/net/httpserver/Request$ReadStream;

  public synchronized int available();
    descriptor: ()I
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // sun.net.httpserver.Request$ReadStream this
         0: .line 311
            aload 0 /* this */
            getfield sun.net.httpserver.Request$ReadStream.closed:Z
            ifeq 2
         1: .line 312
            new java.io.IOException
            dup
            ldc "Stream is closed"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 314
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.Request$ReadStream.eof:Z
            ifeq 4
         3: .line 315
            iconst_m1
            ireturn
         4: .line 317
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.Request$ReadStream.reset:Z
            ifeq 6
         5: .line 318
            aload 0 /* this */
            getfield sun.net.httpserver.Request$ReadStream.markBuf:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.remaining:()I
            ireturn
         6: .line 320
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.Request$ReadStream.chanbuf:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.remaining:()I
            ireturn
        end local 0 // sun.net.httpserver.Request$ReadStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lsun/net/httpserver/Request$ReadStream;
    Exceptions:
      throws java.io.IOException

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // sun.net.httpserver.Request$ReadStream this
         0: .line 324
            aload 0 /* this */
            getfield sun.net.httpserver.Request$ReadStream.closed:Z
            ifeq 2
         1: .line 325
            return
         2: .line 327
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.Request$ReadStream.channel:Ljava/nio/channels/SocketChannel;
            invokevirtual java.nio.channels.SocketChannel.close:()V
         3: .line 328
            aload 0 /* this */
            iconst_1
            putfield sun.net.httpserver.Request$ReadStream.closed:Z
         4: .line 329
            return
        end local 0 // sun.net.httpserver.Request$ReadStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lsun/net/httpserver/Request$ReadStream;
    Exceptions:
      throws java.io.IOException

  public synchronized void mark(int);
    descriptor: (I)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // sun.net.httpserver.Request$ReadStream this
        start local 1 // int readlimit
         0: .line 332
            aload 0 /* this */
            getfield sun.net.httpserver.Request$ReadStream.closed:Z
            ifeq 2
         1: .line 333
            return
         2: .line 334
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 1 /* readlimit */
            putfield sun.net.httpserver.Request$ReadStream.readlimit:I
         3: .line 335
            aload 0 /* this */
            iload 1 /* readlimit */
            invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
            putfield sun.net.httpserver.Request$ReadStream.markBuf:Ljava/nio/ByteBuffer;
         4: .line 336
            aload 0 /* this */
            iconst_1
            putfield sun.net.httpserver.Request$ReadStream.marked:Z
         5: .line 337
            aload 0 /* this */
            iconst_0
            putfield sun.net.httpserver.Request$ReadStream.reset:Z
         6: .line 338
            return
        end local 1 // int readlimit
        end local 0 // sun.net.httpserver.Request$ReadStream this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    7     0       this  Lsun/net/httpserver/Request$ReadStream;
            0    7     1  readlimit  I
    MethodParameters:
           Name  Flags
      readlimit  

  public synchronized void reset();
    descriptor: ()V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // sun.net.httpserver.Request$ReadStream this
         0: .line 341
            aload 0 /* this */
            getfield sun.net.httpserver.Request$ReadStream.closed:Z
            ifeq 2
         1: .line 342
            return
         2: .line 343
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.Request$ReadStream.marked:Z
            ifne 4
         3: .line 344
            new java.io.IOException
            dup
            ldc "Stream not marked"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 345
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_0
            putfield sun.net.httpserver.Request$ReadStream.marked:Z
         5: .line 346
            aload 0 /* this */
            iconst_1
            putfield sun.net.httpserver.Request$ReadStream.reset:Z
         6: .line 347
            aload 0 /* this */
            getfield sun.net.httpserver.Request$ReadStream.markBuf:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/ByteBuffer;
            pop
         7: .line 348
            return
        end local 0 // sun.net.httpserver.Request$ReadStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lsun/net/httpserver/Request$ReadStream;
    Exceptions:
      throws java.io.IOException
}
SourceFile: "Request.java"
NestHost: sun.net.httpserver.Request
InnerClasses:
  ReadStream = sun.net.httpserver.Request$ReadStream of sun.net.httpserver.Request