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 38
            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 39
            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;
            putstatic org.glassfish.grizzly.utils.Charsets.DEFAULT_CHARACTER_ENCODING:Ljava/lang/String;
         3: .line 48
            new java.util.concurrent.ConcurrentHashMap
            dup
            bipush 8
            invokespecial java.util.concurrent.ConcurrentHashMap.<init>:(I)V
            putstatic org.glassfish.grizzly.utils.Charsets.charsetAliasMap:Ljava/util/concurrent/ConcurrentMap;
         4: .line 50
            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;
         5: .line 51
            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;
         6: .line 58
            invokestatic java.nio.charset.Charset.defaultCharset:()Ljava/nio/charset/Charset;
            putstatic org.glassfish.grizzly.utils.Charsets.DEFAULT_CHARSET:Ljava/nio/charset/Charset;
         7: .line 61
            new org.glassfish.grizzly.utils.Charsets$DecoderResolver
            dup
            invokespecial org.glassfish.grizzly.utils.Charsets$DecoderResolver.<init>:()V
            putstatic org.glassfish.grizzly.utils.Charsets.DECODER_RESOLVER:Lorg/glassfish/grizzly/utils/Charsets$CharsetCodecResolver;
         8: .line 62
            new org.glassfish.grizzly.utils.Charsets$EncoderResolver
            dup
            invokespecial org.glassfish.grizzly.utils.Charsets$EncoderResolver.<init>:()V
            putstatic org.glassfish.grizzly.utils.Charsets.ENCODER_RESOLVER:Lorg/glassfish/grizzly/utils/Charsets$CharsetCodecResolver;
         9: .line 64
            ldc Lorg/glassfish/grizzly/utils/Charsets$CodecsCache;
            iconst_1
            invokestatic org.glassfish.grizzly.ThreadCache.obtainIndex:(Ljava/lang/Class;I)Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
            putstatic org.glassfish.grizzly.utils.Charsets.CODECS_CACHE:Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
        10: .line 66
            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 36
            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 76
            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 78
            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 79
            aload 2 /* charset */
            ifnonnull 10
         3: .line 80
            getstatic org.glassfish.grizzly.utils.Charsets.areCharsetsPreloaded:Z
            ifeq 5
         4: .line 82
            new java.nio.charset.UnsupportedCharsetException
            dup
            aload 0 /* charsetName */
            invokespecial java.nio.charset.UnsupportedCharsetException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 85
      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 86
            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
            astore 4 /* prevCharset */
        start local 4 // java.nio.charset.Charset prevCharset
         7: .line 88
            aload 4 /* prevCharset */
            ifnonnull 8
            aload 3 /* newCharset */
            goto 9
      StackMap locals: java.nio.charset.Charset java.nio.charset.Charset
      StackMap stack:
         8: aload 4 /* prevCharset */
      StackMap locals:
      StackMap stack: java.nio.charset.Charset
         9: astore 2 /* charset */
        end local 4 // java.nio.charset.Charset prevCharset
        end local 3 // java.nio.charset.Charset newCharset
        10: .line 91
      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   11     0       charsetName  Ljava/lang/String;
            1   11     1  charsetLowerCase  Ljava/lang/String;
            2   11     2           charset  Ljava/nio/charset/Charset;
            6   10     3        newCharset  Ljava/nio/charset/Charset;
            7   10     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 100
            getstatic org.glassfish.grizzly.utils.Charsets.charsetAliasMap:Ljava/util/concurrent/ConcurrentMap;
            dup
            astore 0
            monitorenter
         1: .line 101
            invokestatic java.nio.charset.Charset.availableCharsets:()Ljava/util/SortedMap;
            astore 1 /* charsetsMap */
        start local 1 // java.util.Map charsetsMap
         2: .line 102
            aload 1 /* charsetsMap */
            invokeinterface java.util.Map.values:()Ljava/util/Collection;
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            astore 3
            goto 9
      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 103
            getstatic org.glassfish.grizzly.utils.Charsets.charsetAliasMap:Ljava/util/concurrent/ConcurrentMap;
            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 */
            invokeinterface java.util.concurrent.ConcurrentMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         5: .line 104
            aload 2 /* charset */
            invokevirtual java.nio.charset.Charset.aliases:()Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 5
            goto 8
      StackMap locals: java.util.concurrent.ConcurrentMap java.util.Map java.nio.charset.Charset java.util.Iterator top java.util.Iterator
      StackMap stack:
         6: aload 5
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 4 /* alias */
        start local 4 // java.lang.String alias
         7: .line 105
            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
         8: .line 104
      StackMap locals:
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 6
        end local 2 // java.nio.charset.Charset charset
         9: .line 102
      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
        10: .line 109
            iconst_1
            putstatic org.glassfish.grizzly.utils.Charsets.areCharsetsPreloaded:Z
        end local 1 // java.util.Map charsetsMap
        11: .line 100
            aload 0
            monitorexit
        12: goto 15
      StackMap locals: java.util.concurrent.ConcurrentMap
      StackMap stack: java.lang.Throwable
        13: aload 0
            monitorexit
        14: athrow
        15: .line 111
      StackMap locals:
      StackMap stack:
            return
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            2   11     1  charsetsMap  Ljava/util/Map<Ljava/lang/String;Ljava/nio/charset/Charset;>;
            4    9     2      charset  Ljava/nio/charset/Charset;
            7    8     4        alias  Ljava/lang/String;
      Exception table:
        from    to  target  type
           1    12      13  any
          13    14      13  any

  public static void drainAllCharsets();
    descriptor: ()V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=0
         0: .line 117
            getstatic org.glassfish.grizzly.utils.Charsets.charsetAliasMap:Ljava/util/concurrent/ConcurrentMap;
            dup
            astore 0
            monitorenter
         1: .line 118
            iconst_0
            putstatic org.glassfish.grizzly.utils.Charsets.areCharsetsPreloaded:Z
         2: .line 119
            getstatic org.glassfish.grizzly.utils.Charsets.charsetAliasMap:Ljava/util/concurrent/ConcurrentMap;
            invokeinterface java.util.concurrent.ConcurrentMap.clear:()V
         3: .line 117
            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 121
      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 131
            aload 0 /* charset */
            ifnonnull 2
         1: .line 132
            new java.lang.IllegalArgumentException
            dup
            ldc "Charset can not be null"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 135
      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 136
            aload 1 /* decoder */
            invokevirtual java.nio.charset.CharsetDecoder.reset:()Ljava/nio/charset/CharsetDecoder;
            pop
         4: .line 138
            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 149
            aload 0 /* charset */
            ifnonnull 2
         1: .line 150
            new java.lang.IllegalArgumentException
            dup
            ldc "Charset can not be null"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 153
      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 154
            aload 1 /* encoder */
            invokevirtual java.nio.charset.CharsetEncoder.reset:()Ljava/nio/charset/CharsetEncoder;
            pop
         4: .line 156
            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 160
            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 161
            aload 0 /* cache */
            ifnonnull 4
         2: .line 162
            new org.glassfish.grizzly.utils.Charsets$CodecsCache
            dup
            invokespecial org.glassfish.grizzly.utils.Charsets$CodecsCache.<init>:()V
            astore 0 /* cache */
         3: .line 163
            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 166
      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