public final class org.glassfish.grizzly.utils.Charsets
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: org.glassfish.grizzly.utils.Charsets
  super_class: java.lang.Object
{
  public static final java.lang.String DEFAULT_CHARACTER_ENCODING;
    descriptor: Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  private static final java.util.concurrent.ConcurrentMap<java.lang.String, java.nio.charset.Charset> charsetAliasMap;
    descriptor: Ljava/util/concurrent/ConcurrentMap;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/lang/String;Ljava/nio/charset/Charset;>;

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

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

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

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

  private static final org.glassfish.grizzly.utils.Charsets$CharsetCodecResolver DECODER_RESOLVER;
    descriptor: Lorg/glassfish/grizzly/utils/Charsets$CharsetCodecResolver;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final org.glassfish.grizzly.utils.Charsets$CharsetCodecResolver ENCODER_RESOLVER;
    descriptor: Lorg/glassfish/grizzly/utils/Charsets$CharsetCodecResolver;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final org.glassfish.grizzly.ThreadCache$CachedTypeIndex<org.glassfish.grizzly.utils.Charsets$CodecsCache> CODECS_CACHE;
    descriptor: Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex<Lorg/glassfish/grizzly/utils/Charsets$CodecsCache;>;

  private static volatile boolean areCharsetsPreloaded;
    descriptor: Z
    flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=0, args_size=0
         0: .line 37
            new java.lang.StringBuilder
            dup
            ldc Lorg/glassfish/grizzly/utils/Charsets;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc ".preloadAllCharsets"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
            ifeq 2
         1: .line 38
            invokestatic org.glassfish.grizzly.utils.Charsets.preloadAllCharsets:()V
         2: .line 46
      StackMap locals:
      StackMap stack:
            invokestatic java.nio.charset.Charset.defaultCharset:()Ljava/nio/charset/Charset;
            invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
         3: .line 45
            putstatic org.glassfish.grizzly.utils.Charsets.DEFAULT_CHARACTER_ENCODING:Ljava/lang/String;
         4: .line 49
            new java.util.concurrent.ConcurrentHashMap
            dup
            bipush 8
            invokespecial java.util.concurrent.ConcurrentHashMap.<init>:(I)V
         5: .line 48
            putstatic org.glassfish.grizzly.utils.Charsets.charsetAliasMap:Ljava/util/concurrent/ConcurrentMap;
         6: .line 51
            ldc "ASCII"
            invokestatic org.glassfish.grizzly.utils.Charsets.lookupCharset:(Ljava/lang/String;)Ljava/nio/charset/Charset;
            putstatic org.glassfish.grizzly.utils.Charsets.ASCII_CHARSET:Ljava/nio/charset/Charset;
         7: .line 52
            ldc "UTF-8"
            invokestatic org.glassfish.grizzly.utils.Charsets.lookupCharset:(Ljava/lang/String;)Ljava/nio/charset/Charset;
            putstatic org.glassfish.grizzly.utils.Charsets.UTF8_CHARSET:Ljava/nio/charset/Charset;
         8: .line 58
            invokestatic java.nio.charset.Charset.defaultCharset:()Ljava/nio/charset/Charset;
            putstatic org.glassfish.grizzly.utils.Charsets.DEFAULT_CHARSET:Ljava/nio/charset/Charset;
         9: .line 62
            new org.glassfish.grizzly.utils.Charsets$DecoderResolver
            dup
            invokespecial org.glassfish.grizzly.utils.Charsets$DecoderResolver.<init>:()V
        10: .line 61
            putstatic org.glassfish.grizzly.utils.Charsets.DECODER_RESOLVER:Lorg/glassfish/grizzly/utils/Charsets$CharsetCodecResolver;
        11: .line 64
            new org.glassfish.grizzly.utils.Charsets$EncoderResolver
            dup
            invokespecial org.glassfish.grizzly.utils.Charsets$EncoderResolver.<init>:()V
        12: .line 63
            putstatic org.glassfish.grizzly.utils.Charsets.ENCODER_RESOLVER:Lorg/glassfish/grizzly/utils/Charsets$CharsetCodecResolver;
        13: .line 67
            ldc Lorg/glassfish/grizzly/utils/Charsets$CodecsCache;
            iconst_1
            invokestatic org.glassfish.grizzly.ThreadCache.obtainIndex:(Ljava/lang/Class;I)Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
        14: .line 66
            putstatic org.glassfish.grizzly.utils.Charsets.CODECS_CACHE:Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
        15: .line 69
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.utils.Charsets this
         0: .line 35
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.glassfish.grizzly.utils.Charsets this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/glassfish/grizzly/utils/Charsets;

  public static java.nio.charset.Charset lookupCharset(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/nio/charset/Charset;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=5, args_size=1
        start local 0 // java.lang.String charsetName
         0: .line 79
            aload 0 /* charsetName */
            getstatic java.util.Locale.US:Ljava/util/Locale;
            invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
            astore 1 /* charsetLowerCase */
        start local 1 // java.lang.String charsetLowerCase
         1: .line 81
            getstatic org.glassfish.grizzly.utils.Charsets.charsetAliasMap:Ljava/util/concurrent/ConcurrentMap;
            aload 1 /* charsetLowerCase */
            invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.nio.charset.Charset
            astore 2 /* charset */
        start local 2 // java.nio.charset.Charset charset
         2: .line 82
            aload 2 /* charset */
            ifnonnull 11
         3: .line 83
            getstatic org.glassfish.grizzly.utils.Charsets.areCharsetsPreloaded:Z
            ifeq 5
         4: .line 85
            new java.nio.charset.UnsupportedCharsetException
            dup
            aload 0 /* charsetName */
            invokespecial java.nio.charset.UnsupportedCharsetException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 88
      StackMap locals: java.lang.String java.nio.charset.Charset
      StackMap stack:
            aload 1 /* charsetLowerCase */
            invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
            astore 3 /* newCharset */
        start local 3 // java.nio.charset.Charset newCharset
         6: .line 90
            getstatic org.glassfish.grizzly.utils.Charsets.charsetAliasMap:Ljava/util/concurrent/ConcurrentMap;
            aload 1 /* charsetLowerCase */
            aload 3 /* newCharset */
            invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.nio.charset.Charset
         7: .line 89
            astore 4 /* prevCharset */
        start local 4 // java.nio.charset.Charset prevCharset
         8: .line 92
            aload 4 /* prevCharset */
            ifnonnull 9
            aload 3 /* newCharset */
            goto 10
      StackMap locals: java.nio.charset.Charset java.nio.charset.Charset
      StackMap stack:
         9: aload 4 /* prevCharset */
      StackMap locals:
      StackMap stack: java.nio.charset.Charset
        10: astore 2 /* charset */
        end local 4 // java.nio.charset.Charset prevCharset
        end local 3 // java.nio.charset.Charset newCharset
        11: .line 95
      StackMap locals:
      StackMap stack:
            aload 2 /* charset */
            areturn
        end local 2 // java.nio.charset.Charset charset
        end local 1 // java.lang.String charsetLowerCase
        end local 0 // java.lang.String charsetName
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   12     0       charsetName  Ljava/lang/String;
            1   12     1  charsetLowerCase  Ljava/lang/String;
            2   12     2           charset  Ljava/nio/charset/Charset;
            6   11     3        newCharset  Ljava/nio/charset/Charset;
            8   11     4       prevCharset  Ljava/nio/charset/Charset;
    MethodParameters:
             Name  Flags
      charsetName  final

  public static void preloadAllCharsets();
    descriptor: ()V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=6, args_size=0
         0: .line 105
            getstatic org.glassfish.grizzly.utils.Charsets.charsetAliasMap:Ljava/util/concurrent/ConcurrentMap;
            dup
            astore 0
            monitorenter
         1: .line 106
            invokestatic java.nio.charset.Charset.availableCharsets:()Ljava/util/SortedMap;
            astore 1 /* charsetsMap */
        start local 1 // java.util.Map charsetsMap
         2: .line 107
            aload 1 /* charsetsMap */
            invokeinterface java.util.Map.values:()Ljava/util/Collection;
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            astore 3
            goto 11
      StackMap locals: java.util.concurrent.ConcurrentMap java.util.Map top java.util.Iterator
      StackMap stack:
         3: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.nio.charset.Charset
            astore 2 /* charset */
        start local 2 // java.nio.charset.Charset charset
         4: .line 108
            getstatic org.glassfish.grizzly.utils.Charsets.charsetAliasMap:Ljava/util/concurrent/ConcurrentMap;
         5: .line 109
            aload 2 /* charset */
            invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
            getstatic java.util.Locale.US:Ljava/util/Locale;
            invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
            aload 2 /* charset */
         6: .line 108
            invokeinterface java.util.concurrent.ConcurrentMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         7: .line 110
            aload 2 /* charset */
            invokevirtual java.nio.charset.Charset.aliases:()Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 5
            goto 10
      StackMap locals: java.util.concurrent.ConcurrentMap java.util.Map java.nio.charset.Charset java.util.Iterator top java.util.Iterator
      StackMap stack:
         8: aload 5
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 4 /* alias */
        start local 4 // java.lang.String alias
         9: .line 111
            getstatic org.glassfish.grizzly.utils.Charsets.charsetAliasMap:Ljava/util/concurrent/ConcurrentMap;
            aload 4 /* alias */
            getstatic java.util.Locale.US:Ljava/util/Locale;
            invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
            aload 2 /* charset */
            invokeinterface java.util.concurrent.ConcurrentMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        end local 4 // java.lang.String alias
        10: .line 110
      StackMap locals:
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 8
        end local 2 // java.nio.charset.Charset charset
        11: .line 107
      StackMap locals: java.util.concurrent.ConcurrentMap java.util.Map top java.util.Iterator
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
        12: .line 115
            iconst_1
            putstatic org.glassfish.grizzly.utils.Charsets.areCharsetsPreloaded:Z
        end local 1 // java.util.Map charsetsMap
        13: .line 105
            aload 0
            monitorexit
        14: goto 17
      StackMap locals: java.util.concurrent.ConcurrentMap
      StackMap stack: java.lang.Throwable
        15: aload 0
            monitorexit
        16: athrow
        17: .line 117
      StackMap locals:
      StackMap stack:
            return
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            2   13     1  charsetsMap  Ljava/util/Map<Ljava/lang/String;Ljava/nio/charset/Charset;>;
            4   11     2      charset  Ljava/nio/charset/Charset;
            9   10     4        alias  Ljava/lang/String;
      Exception table:
        from    to  target  type
           1    14      15  any
          15    16      15  any

  public static void drainAllCharsets();
    descriptor: ()V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=0
         0: .line 123
            getstatic org.glassfish.grizzly.utils.Charsets.charsetAliasMap:Ljava/util/concurrent/ConcurrentMap;
            dup
            astore 0
            monitorenter
         1: .line 124
            iconst_0
            putstatic org.glassfish.grizzly.utils.Charsets.areCharsetsPreloaded:Z
         2: .line 125
            getstatic org.glassfish.grizzly.utils.Charsets.charsetAliasMap:Ljava/util/concurrent/ConcurrentMap;
            invokeinterface java.util.concurrent.ConcurrentMap.clear:()V
         3: .line 123
            aload 0
            monitorexit
         4: goto 7
      StackMap locals: java.util.concurrent.ConcurrentMap
      StackMap stack: java.lang.Throwable
         5: aload 0
            monitorexit
         6: athrow
         7: .line 127
      StackMap locals:
      StackMap stack:
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
      Exception table:
        from    to  target  type
           1     4       5  any
           5     6       5  any

  public static java.nio.charset.CharsetDecoder getCharsetDecoder(java.nio.charset.Charset);
    descriptor: (Ljava/nio/charset/Charset;)Ljava/nio/charset/CharsetDecoder;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // java.nio.charset.Charset charset
         0: .line 138
            aload 0 /* charset */
            ifnonnull 2
         1: .line 139
            new java.lang.IllegalArgumentException
            dup
            ldc "Charset can not be null"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 142
      StackMap locals:
      StackMap stack:
            invokestatic org.glassfish.grizzly.utils.Charsets.obtainCodecsCache:()Lorg/glassfish/grizzly/utils/Charsets$CodecsCache;
            aload 0 /* charset */
            invokevirtual org.glassfish.grizzly.utils.Charsets$CodecsCache.getDecoder:(Ljava/nio/charset/Charset;)Ljava/nio/charset/CharsetDecoder;
            astore 1 /* decoder */
        start local 1 // java.nio.charset.CharsetDecoder decoder
         3: .line 143
            aload 1 /* decoder */
            invokevirtual java.nio.charset.CharsetDecoder.reset:()Ljava/nio/charset/CharsetDecoder;
            pop
         4: .line 145
            aload 1 /* decoder */
            areturn
        end local 1 // java.nio.charset.CharsetDecoder decoder
        end local 0 // java.nio.charset.Charset charset
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0  charset  Ljava/nio/charset/Charset;
            3    5     1  decoder  Ljava/nio/charset/CharsetDecoder;
    MethodParameters:
         Name  Flags
      charset  final

  public static java.nio.charset.CharsetEncoder getCharsetEncoder(java.nio.charset.Charset);
    descriptor: (Ljava/nio/charset/Charset;)Ljava/nio/charset/CharsetEncoder;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // java.nio.charset.Charset charset
         0: .line 157
            aload 0 /* charset */
            ifnonnull 2
         1: .line 158
            new java.lang.IllegalArgumentException
            dup
            ldc "Charset can not be null"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 161
      StackMap locals:
      StackMap stack:
            invokestatic org.glassfish.grizzly.utils.Charsets.obtainCodecsCache:()Lorg/glassfish/grizzly/utils/Charsets$CodecsCache;
            aload 0 /* charset */
            invokevirtual org.glassfish.grizzly.utils.Charsets$CodecsCache.getEncoder:(Ljava/nio/charset/Charset;)Ljava/nio/charset/CharsetEncoder;
            astore 1 /* encoder */
        start local 1 // java.nio.charset.CharsetEncoder encoder
         3: .line 162
            aload 1 /* encoder */
            invokevirtual java.nio.charset.CharsetEncoder.reset:()Ljava/nio/charset/CharsetEncoder;
            pop
         4: .line 164
            aload 1 /* encoder */
            areturn
        end local 1 // java.nio.charset.CharsetEncoder encoder
        end local 0 // java.nio.charset.Charset charset
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0  charset  Ljava/nio/charset/Charset;
            3    5     1  encoder  Ljava/nio/charset/CharsetEncoder;
    MethodParameters:
         Name  Flags
      charset  final

  private static org.glassfish.grizzly.utils.Charsets$CodecsCache obtainCodecsCache();
    descriptor: ()Lorg/glassfish/grizzly/utils/Charsets$CodecsCache;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=0
         0: .line 168
            getstatic org.glassfish.grizzly.utils.Charsets.CODECS_CACHE:Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
            invokestatic org.glassfish.grizzly.ThreadCache.getFromCache:(Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;)Ljava/lang/Object;
            checkcast org.glassfish.grizzly.utils.Charsets$CodecsCache
            astore 0 /* cache */
        start local 0 // org.glassfish.grizzly.utils.Charsets$CodecsCache cache
         1: .line 169
            aload 0 /* cache */
            ifnonnull 4
         2: .line 170
            new org.glassfish.grizzly.utils.Charsets$CodecsCache
            dup
            invokespecial org.glassfish.grizzly.utils.Charsets$CodecsCache.<init>:()V
            astore 0 /* cache */
         3: .line 171
            getstatic org.glassfish.grizzly.utils.Charsets.CODECS_CACHE:Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
            aload 0 /* cache */
            invokestatic org.glassfish.grizzly.ThreadCache.putToCache:(Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;Ljava/lang/Object;)Z
            pop
         4: .line 174
      StackMap locals: org.glassfish.grizzly.utils.Charsets$CodecsCache
      StackMap stack:
            aload 0 /* cache */
            areturn
        end local 0 // org.glassfish.grizzly.utils.Charsets$CodecsCache cache
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            1    5     0  cache  Lorg/glassfish/grizzly/utils/Charsets$CodecsCache;
}
SourceFile: "Charsets.java"
NestMembers:
  org.glassfish.grizzly.utils.Charsets$CharsetCodecResolver  org.glassfish.grizzly.utils.Charsets$CodecsCache  org.glassfish.grizzly.utils.Charsets$DecoderResolver  org.glassfish.grizzly.utils.Charsets$EncoderResolver
InnerClasses:
  public final CachedTypeIndex = org.glassfish.grizzly.ThreadCache$CachedTypeIndex of org.glassfish.grizzly.ThreadCache
  private abstract CharsetCodecResolver = org.glassfish.grizzly.utils.Charsets$CharsetCodecResolver of org.glassfish.grizzly.utils.Charsets
  private final CodecsCache = org.glassfish.grizzly.utils.Charsets$CodecsCache of org.glassfish.grizzly.utils.Charsets
  private final DecoderResolver = org.glassfish.grizzly.utils.Charsets$DecoderResolver of org.glassfish.grizzly.utils.Charsets
  private final EncoderResolver = org.glassfish.grizzly.utils.Charsets$EncoderResolver of org.glassfish.grizzly.utils.Charsets