final class sun.security.ssl.AlpnExtension$SHAlpnConsumer implements sun.security.ssl.SSLExtension$ExtensionConsumer
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: sun.security.ssl.AlpnExtension$SHAlpnConsumer
  super_class: java.lang.Object
{
  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.security.ssl.AlpnExtension$SHAlpnConsumer this
         0: .line 445
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 447
            return
        end local 0 // sun.security.ssl.AlpnExtension$SHAlpnConsumer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/security/ssl/AlpnExtension$SHAlpnConsumer;

  public void consume(sun.security.ssl.ConnectionContext, sun.security.ssl.SSLHandshake$HandshakeMessage, java.nio.ByteBuffer);
    descriptor: (Lsun/security/ssl/ConnectionContext;Lsun/security/ssl/SSLHandshake$HandshakeMessage;Ljava/nio/ByteBuffer;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=8, args_size=4
        start local 0 // sun.security.ssl.AlpnExtension$SHAlpnConsumer this
        start local 1 // sun.security.ssl.ConnectionContext context
        start local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
        start local 3 // java.nio.ByteBuffer buffer
         0: .line 453
            aload 1 /* context */
            checkcast sun.security.ssl.ClientHandshakeContext
            astore 4 /* chc */
        start local 4 // sun.security.ssl.ClientHandshakeContext chc
         1: .line 457
            aload 4 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.handshakeExtensions:Ljava/util/Map;
            getstatic sun.security.ssl.SSLExtension.CH_ALPN:Lsun/security/ssl/SSLExtension;
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast sun.security.ssl.AlpnExtension$AlpnSpec
         2: .line 456
            astore 5 /* requestedAlps */
        start local 5 // sun.security.ssl.AlpnExtension$AlpnSpec requestedAlps
         3: .line 458
            aload 5 /* requestedAlps */
            ifnull 6
         4: .line 459
            aload 5 /* requestedAlps */
            getfield sun.security.ssl.AlpnExtension$AlpnSpec.applicationProtocols:Ljava/util/List;
            ifnull 6
         5: .line 460
            aload 5 /* requestedAlps */
            getfield sun.security.ssl.AlpnExtension$AlpnSpec.applicationProtocols:Ljava/util/List;
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 9
         6: .line 461
      StackMap locals: sun.security.ssl.ClientHandshakeContext sun.security.ssl.AlpnExtension$AlpnSpec
      StackMap stack:
            aload 4 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getstatic sun.security.ssl.Alert.UNEXPECTED_MESSAGE:Lsun/security/ssl/Alert;
         7: .line 462
            new java.lang.StringBuilder
            dup
            ldc "Unexpected "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            getstatic sun.security.ssl.SSLExtension.CH_ALPN:Lsun/security/ssl/SSLExtension;
            getfield sun.security.ssl.SSLExtension.name:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " extension"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         8: .line 461
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
            athrow
         9: .line 468
      StackMap locals:
      StackMap stack:
            new sun.security.ssl.AlpnExtension$AlpnSpec
            dup
            aload 3 /* buffer */
            invokespecial sun.security.ssl.AlpnExtension$AlpnSpec.<init>:(Ljava/nio/ByteBuffer;)V
            astore 6 /* spec */
        start local 6 // sun.security.ssl.AlpnExtension$AlpnSpec spec
        10: .line 469
            goto 13
        end local 6 // sun.security.ssl.AlpnExtension$AlpnSpec spec
      StackMap locals:
      StackMap stack: java.io.IOException
        11: astore 7 /* ioe */
        start local 7 // java.io.IOException ioe
        12: .line 470
            aload 4 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getstatic sun.security.ssl.Alert.UNEXPECTED_MESSAGE:Lsun/security/ssl/Alert;
            aload 7 /* ioe */
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
            athrow
        end local 7 // java.io.IOException ioe
        start local 6 // sun.security.ssl.AlpnExtension$AlpnSpec spec
        13: .line 474
      StackMap locals: sun.security.ssl.AlpnExtension$AlpnSpec
      StackMap stack:
            aload 6 /* spec */
            getfield sun.security.ssl.AlpnExtension$AlpnSpec.applicationProtocols:Ljava/util/List;
            invokeinterface java.util.List.size:()I
            iconst_1
            if_icmpeq 20
        14: .line 475
            aload 4 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getstatic sun.security.ssl.Alert.UNEXPECTED_MESSAGE:Lsun/security/ssl/Alert;
        15: .line 476
            new java.lang.StringBuilder
            dup
            ldc "Invalid "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            getstatic sun.security.ssl.SSLExtension.CH_ALPN:Lsun/security/ssl/SSLExtension;
            getfield sun.security.ssl.SSLExtension.name:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " extension: "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        16: .line 477
            ldc "Only one application protocol name "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        17: .line 478
            ldc "is allowed in ServerHello message"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        18: .line 476
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        19: .line 475
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
            athrow
        20: .line 482
      StackMap locals:
      StackMap stack:
            aload 5 /* requestedAlps */
            getfield sun.security.ssl.AlpnExtension$AlpnSpec.applicationProtocols:Ljava/util/List;
        21: .line 483
            aload 6 /* spec */
            getfield sun.security.ssl.AlpnExtension$AlpnSpec.applicationProtocols:Ljava/util/List;
        22: .line 482
            invokeinterface java.util.List.containsAll:(Ljava/util/Collection;)Z
        23: .line 483
            ifne 30
        24: .line 484
            aload 4 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getstatic sun.security.ssl.Alert.UNEXPECTED_MESSAGE:Lsun/security/ssl/Alert;
        25: .line 485
            new java.lang.StringBuilder
            dup
            ldc "Invalid "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            getstatic sun.security.ssl.SSLExtension.CH_ALPN:Lsun/security/ssl/SSLExtension;
            getfield sun.security.ssl.SSLExtension.name:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " extension: "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        26: .line 486
            ldc "Only client specified application protocol "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        27: .line 487
            ldc "is allowed in ServerHello message"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        28: .line 485
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        29: .line 484
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
            athrow
        30: .line 491
      StackMap locals:
      StackMap stack:
            aload 4 /* chc */
            aload 6 /* spec */
            getfield sun.security.ssl.AlpnExtension$AlpnSpec.applicationProtocols:Ljava/util/List;
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast java.lang.String
            putfield sun.security.ssl.ClientHandshakeContext.applicationProtocol:Ljava/lang/String;
        31: .line 492
            aload 4 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            aload 4 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.applicationProtocol:Ljava/lang/String;
            putfield sun.security.ssl.TransportContext.applicationProtocol:Ljava/lang/String;
        32: .line 497
            aload 4 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.handshakeExtensions:Ljava/util/Map;
            getstatic sun.security.ssl.SSLExtension.CH_ALPN:Lsun/security/ssl/SSLExtension;
            invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
        33: .line 498
            return
        end local 6 // sun.security.ssl.AlpnExtension$AlpnSpec spec
        end local 5 // sun.security.ssl.AlpnExtension$AlpnSpec requestedAlps
        end local 4 // sun.security.ssl.ClientHandshakeContext chc
        end local 3 // java.nio.ByteBuffer buffer
        end local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
        end local 1 // sun.security.ssl.ConnectionContext context
        end local 0 // sun.security.ssl.AlpnExtension$SHAlpnConsumer this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   34     0           this  Lsun/security/ssl/AlpnExtension$SHAlpnConsumer;
            0   34     1        context  Lsun/security/ssl/ConnectionContext;
            0   34     2        message  Lsun/security/ssl/SSLHandshake$HandshakeMessage;
            0   34     3         buffer  Ljava/nio/ByteBuffer;
            1   34     4            chc  Lsun/security/ssl/ClientHandshakeContext;
            3   34     5  requestedAlps  Lsun/security/ssl/AlpnExtension$AlpnSpec;
           10   11     6           spec  Lsun/security/ssl/AlpnExtension$AlpnSpec;
           13   34     6           spec  Lsun/security/ssl/AlpnExtension$AlpnSpec;
           12   13     7            ioe  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           9    10      11  Class java.io.IOException
    Exceptions:
      throws java.io.IOException
    MethodParameters:
         Name  Flags
      context  
      message  
      buffer   
}
SourceFile: "AlpnExtension.java"
NestHost: sun.security.ssl.AlpnExtension
InnerClasses:
  final AlpnSpec = sun.security.ssl.AlpnExtension$AlpnSpec of sun.security.ssl.AlpnExtension
  private final SHAlpnConsumer = sun.security.ssl.AlpnExtension$SHAlpnConsumer of sun.security.ssl.AlpnExtension
  abstract ExtensionConsumer = sun.security.ssl.SSLExtension$ExtensionConsumer of sun.security.ssl.SSLExtension
  abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake