public final class org.glassfish.jersey.message.internal.ReaderWriter
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: org.glassfish.jersey.message.internal.ReaderWriter
  super_class: java.lang.Object
{
  private static final java.util.logging.Logger LOGGER;
    descriptor: Ljava/util/logging/Logger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  public static final java.nio.charset.Charset UTF8;
    descriptor: Ljava/nio/charset/Charset;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  public static final int BUFFER_SIZE;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 51
            ldc Lorg/glassfish/jersey/message/internal/ReaderWriter;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
            putstatic org.glassfish.jersey.message.internal.ReaderWriter.LOGGER:Ljava/util/logging/Logger;
         1: .line 55
            ldc "UTF-8"
            invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
            putstatic org.glassfish.jersey.message.internal.ReaderWriter.UTF8:Ljava/nio/charset/Charset;
         2: .line 59
            invokestatic org.glassfish.jersey.message.internal.ReaderWriter.getBufferSize:()I
            putstatic org.glassfish.jersey.message.internal.ReaderWriter.BUFFER_SIZE:I
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static int getBufferSize();
    descriptor: ()I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=2, args_size=0
         0: .line 63
            ldc "jersey.config.io.bufferSize"
            invokestatic org.glassfish.jersey.internal.util.PropertiesHelper.getSystemProperty:(Ljava/lang/String;)Ljava/security/PrivilegedAction;
            invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
            checkcast java.lang.String
            astore 0 /* value */
        start local 0 // java.lang.String value
         1: .line 64
            aload 0 /* value */
            ifnull 15
         2: .line 66
            aload 0 /* value */
            invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
            istore 1 /* i */
        start local 1 // int i
         3: .line 67
            iload 1 /* i */
            ifgt 5
         4: .line 68
            new java.lang.NumberFormatException
            dup
            ldc "Value not positive."
            invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 70
      StackMap locals: java.lang.String int
      StackMap stack:
            iload 1 /* i */
         6: ireturn
        end local 1 // int i
         7: .line 71
      StackMap locals: java.lang.String
      StackMap stack: java.lang.NumberFormatException
            astore 1 /* e */
        start local 1 // java.lang.NumberFormatException e
         8: .line 72
            getstatic org.glassfish.jersey.message.internal.ReaderWriter.LOGGER:Ljava/util/logging/Logger;
            getstatic java.util.logging.Level.CONFIG:Ljava/util/logging/Level;
         9: .line 73
            new java.lang.StringBuilder
            dup
            ldc "Value of jersey.config.io.bufferSize property is not a valid positive integer ["
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        10: .line 74
            aload 0 /* value */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "]."
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        11: .line 75
            ldc " Reverting to default ["
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            sipush 8192
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc "]."
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        12: .line 73
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        13: .line 76
            aload 1 /* e */
        14: .line 72
            invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 1 // java.lang.NumberFormatException e
        15: .line 79
      StackMap locals:
      StackMap stack:
            sipush 8192
            ireturn
        end local 0 // java.lang.String value
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            1   16     0  value  Ljava/lang/String;
            3    7     1      i  I
            8   15     1      e  Ljava/lang/NumberFormatException;
      Exception table:
        from    to  target  type
           2     6       7  Class java.lang.NumberFormatException

  public static void writeTo(java.io.InputStream, java.io.OutputStream);
    descriptor: (Ljava/io/InputStream;Ljava/io/OutputStream;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=4, args_size=2
        start local 0 // java.io.InputStream in
        start local 1 // java.io.OutputStream out
         0: .line 91
            getstatic org.glassfish.jersey.message.internal.ReaderWriter.BUFFER_SIZE:I
            newarray 8
            astore 3 /* data */
        start local 3 // byte[] data
         1: .line 92
            goto 3
        start local 2 // int read
         2: .line 93
      StackMap locals: int byte[]
      StackMap stack:
            aload 1 /* out */
            aload 3 /* data */
            iconst_0
            iload 2 /* read */
            invokevirtual java.io.OutputStream.write:([BII)V
        end local 2 // int read
         3: .line 92
      StackMap locals: java.io.InputStream java.io.OutputStream top byte[]
      StackMap stack:
            aload 0 /* in */
            aload 3 /* data */
            invokevirtual java.io.InputStream.read:([B)I
            dup
            istore 2 /* read */
        start local 2 // int read
         4: iconst_m1
            if_icmpne 2
         5: .line 95
            return
        end local 3 // byte[] data
        end local 2 // int read
        end local 1 // java.io.OutputStream out
        end local 0 // java.io.InputStream in
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0    in  Ljava/io/InputStream;
            0    6     1   out  Ljava/io/OutputStream;
            2    3     2  read  I
            4    6     2  read  I
            1    6     3  data  [B
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      in    
      out   

  public static void writeTo(java.io.Reader, java.io.Writer);
    descriptor: (Ljava/io/Reader;Ljava/io/Writer;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=4, args_size=2
        start local 0 // java.io.Reader in
        start local 1 // java.io.Writer out
         0: .line 106
            getstatic org.glassfish.jersey.message.internal.ReaderWriter.BUFFER_SIZE:I
            newarray 5
            astore 3 /* data */
        start local 3 // char[] data
         1: .line 107
            goto 3
        start local 2 // int read
         2: .line 108
      StackMap locals: int char[]
      StackMap stack:
            aload 1 /* out */
            aload 3 /* data */
            iconst_0
            iload 2 /* read */
            invokevirtual java.io.Writer.write:([CII)V
        end local 2 // int read
         3: .line 107
      StackMap locals: java.io.Reader java.io.Writer top char[]
      StackMap stack:
            aload 0 /* in */
            aload 3 /* data */
            invokevirtual java.io.Reader.read:([C)I
            dup
            istore 2 /* read */
        start local 2 // int read
         4: iconst_m1
            if_icmpne 2
         5: .line 110
            return
        end local 3 // char[] data
        end local 2 // int read
        end local 1 // java.io.Writer out
        end local 0 // java.io.Reader in
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0    in  Ljava/io/Reader;
            0    6     1   out  Ljava/io/Writer;
            2    3     2  read  I
            4    6     2  read  I
            1    6     3  data  [C
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      in    
      out   

  public static java.nio.charset.Charset getCharset(javax.ws.rs.core.MediaType);
    descriptor: (Ljavax/ws/rs/core/MediaType;)Ljava/nio/charset/Charset;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // javax.ws.rs.core.MediaType m
         0: .line 122
            aload 0 /* m */
            ifnonnull 1
            aconst_null
            goto 2
      StackMap locals:
      StackMap stack:
         1: aload 0 /* m */
            invokevirtual javax.ws.rs.core.MediaType.getParameters:()Ljava/util/Map;
            ldc "charset"
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.String
      StackMap locals:
      StackMap stack: java.lang.String
         2: astore 1 /* name */
        start local 1 // java.lang.String name
         3: .line 123
            aload 1 /* name */
            ifnonnull 4
            getstatic org.glassfish.jersey.message.internal.ReaderWriter.UTF8:Ljava/nio/charset/Charset;
            goto 5
      StackMap locals: java.lang.String
      StackMap stack:
         4: aload 1 /* name */
            invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
      StackMap locals:
      StackMap stack: java.nio.charset.Charset
         5: areturn
        end local 1 // java.lang.String name
        end local 0 // javax.ws.rs.core.MediaType m
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0     m  Ljavax/ws/rs/core/MediaType;
            3    6     1  name  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      m     

  public static java.lang.String readFromAsString(java.io.InputStream, javax.ws.rs.core.MediaType);
    descriptor: (Ljava/io/InputStream;Ljavax/ws/rs/core/MediaType;)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // java.io.InputStream in
        start local 1 // javax.ws.rs.core.MediaType type
         0: .line 137
            new java.io.InputStreamReader
            dup
            aload 0 /* in */
            aload 1 /* type */
            invokestatic org.glassfish.jersey.message.internal.ReaderWriter.getCharset:(Ljavax/ws/rs/core/MediaType;)Ljava/nio/charset/Charset;
            invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/nio/charset/Charset;)V
            invokestatic org.glassfish.jersey.message.internal.ReaderWriter.readFromAsString:(Ljava/io/Reader;)Ljava/lang/String;
            areturn
        end local 1 // javax.ws.rs.core.MediaType type
        end local 0 // java.io.InputStream in
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0    in  Ljava/io/InputStream;
            0    1     1  type  Ljavax/ws/rs/core/MediaType;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      in    
      type  

  public static java.lang.String readFromAsString(java.io.Reader);
    descriptor: (Ljava/io/Reader;)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=4, args_size=1
        start local 0 // java.io.Reader reader
         0: .line 149
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 1 /* sb */
        start local 1 // java.lang.StringBuilder sb
         1: .line 150
            getstatic org.glassfish.jersey.message.internal.ReaderWriter.BUFFER_SIZE:I
            newarray 5
            astore 2 /* c */
        start local 2 // char[] c
         2: .line 152
            goto 4
        start local 3 // int l
         3: .line 153
      StackMap locals: java.lang.StringBuilder char[] int
      StackMap stack:
            aload 1 /* sb */
            aload 2 /* c */
            iconst_0
            iload 3 /* l */
            invokevirtual java.lang.StringBuilder.append:([CII)Ljava/lang/StringBuilder;
            pop
        end local 3 // int l
         4: .line 152
      StackMap locals:
      StackMap stack:
            aload 0 /* reader */
            aload 2 /* c */
            invokevirtual java.io.Reader.read:([C)I
            dup
            istore 3 /* l */
        start local 3 // int l
         5: iconst_m1
            if_icmpne 3
         6: .line 155
            aload 1 /* sb */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 3 // int l
        end local 2 // char[] c
        end local 1 // java.lang.StringBuilder sb
        end local 0 // java.io.Reader reader
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0  reader  Ljava/io/Reader;
            1    7     1      sb  Ljava/lang/StringBuilder;
            2    7     2       c  [C
            3    4     3       l  I
            5    7     3       l  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      reader  

  public static void writeToAsString(java.lang.String, java.io.OutputStream, javax.ws.rs.core.MediaType);
    descriptor: (Ljava/lang/String;Ljava/io/OutputStream;Ljavax/ws/rs/core/MediaType;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // java.lang.String s
        start local 1 // java.io.OutputStream out
        start local 2 // javax.ws.rs.core.MediaType type
         0: .line 168
            new java.io.OutputStreamWriter
            dup
            aload 1 /* out */
            aload 2 /* type */
            invokestatic org.glassfish.jersey.message.internal.ReaderWriter.getCharset:(Ljavax/ws/rs/core/MediaType;)Ljava/nio/charset/Charset;
            invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;Ljava/nio/charset/Charset;)V
            astore 3 /* osw */
        start local 3 // java.io.Writer osw
         1: .line 169
            aload 3 /* osw */
            aload 0 /* s */
            iconst_0
            aload 0 /* s */
            invokevirtual java.lang.String.length:()I
            invokevirtual java.io.Writer.write:(Ljava/lang/String;II)V
         2: .line 170
            aload 3 /* osw */
            invokevirtual java.io.Writer.flush:()V
         3: .line 171
            return
        end local 3 // java.io.Writer osw
        end local 2 // javax.ws.rs.core.MediaType type
        end local 1 // java.io.OutputStream out
        end local 0 // java.lang.String s
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0     s  Ljava/lang/String;
            0    4     1   out  Ljava/io/OutputStream;
            0    4     2  type  Ljavax/ws/rs/core/MediaType;
            1    4     3   osw  Ljava/io/Writer;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      s     
      out   
      type  

  public static void safelyClose(java.io.Closeable);
    descriptor: (Ljava/io/Closeable;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // java.io.Closeable closeable
         0: .line 180
            aload 0 /* closeable */
            invokeinterface java.io.Closeable.close:()V
         1: .line 181
            goto 7
      StackMap locals:
      StackMap stack: java.io.IOException
         2: astore 1 /* ioe */
        start local 1 // java.io.IOException ioe
         3: .line 182
            getstatic org.glassfish.jersey.message.internal.ReaderWriter.LOGGER:Ljava/util/logging/Logger;
            getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
            invokestatic org.glassfish.jersey.internal.LocalizationMessages.MESSAGE_CONTENT_INPUT_STREAM_CLOSE_FAILED:()Ljava/lang/String;
            aload 1 /* ioe */
            invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 1 // java.io.IOException ioe
         4: goto 7
         5: .line 183
      StackMap locals:
      StackMap stack: javax.ws.rs.ProcessingException
            astore 1 /* pe */
        start local 1 // javax.ws.rs.ProcessingException pe
         6: .line 184
            getstatic org.glassfish.jersey.message.internal.ReaderWriter.LOGGER:Ljava/util/logging/Logger;
            getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
            invokestatic org.glassfish.jersey.internal.LocalizationMessages.MESSAGE_CONTENT_INPUT_STREAM_CLOSE_FAILED:()Ljava/lang/String;
            aload 1 /* pe */
            invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 1 // javax.ws.rs.ProcessingException pe
         7: .line 186
      StackMap locals:
      StackMap stack:
            return
        end local 0 // java.io.Closeable closeable
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    8     0  closeable  Ljava/io/Closeable;
            3    4     1        ioe  Ljava/io/IOException;
            6    7     1         pe  Ljavax/ws/rs/ProcessingException;
      Exception table:
        from    to  target  type
           0     1       2  Class java.io.IOException
           0     1       5  Class javax.ws.rs.ProcessingException
    MethodParameters:
           Name  Flags
      closeable  

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.glassfish.jersey.message.internal.ReaderWriter this
         0: .line 191
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 192
            return
        end local 0 // org.glassfish.jersey.message.internal.ReaderWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/glassfish/jersey/message/internal/ReaderWriter;
}
SourceFile: "ReaderWriter.java"