abstract class jdk.incubator.http.ExchangeImpl<T>
  minor version: 0
  major version: 59
  flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
  this_class: jdk.incubator.http.ExchangeImpl
  super_class: java.lang.Object
{
  static final boolean DEBUG;
    descriptor: Z
    flags: (0x0018) ACC_STATIC, ACC_FINAL

  private static final java.lang.System$Logger DEBUG_LOGGER;
    descriptor: Ljava/lang/System$Logger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  final jdk.incubator.http.Exchange<T> exchange;
    descriptor: Ljdk/incubator/http/Exchange;
    flags: (0x0010) ACC_FINAL
    Signature: Ljdk/incubator/http/Exchange<TT;>;

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 52
            getstatic jdk.incubator.http.internal.common.Utils.DEBUG:Z
            putstatic jdk.incubator.http.ExchangeImpl.DEBUG:Z
         1: .line 54
            ldc "ExchangeImpl"
            dup
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            pop
            invokedynamic get(Ljava/lang/String;)Ljava/util/function/Supplier;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  java/lang/String.toString()Ljava/lang/String; (5)
                  ()Ljava/lang/String;
            getstatic jdk.incubator.http.ExchangeImpl.DEBUG:Z
            invokestatic jdk.incubator.http.internal.common.Utils.getDebugLogger:(Ljava/util/function/Supplier;Z)Ljava/lang/System$Logger;
         2: .line 53
            putstatic jdk.incubator.http.ExchangeImpl.DEBUG_LOGGER:Ljava/lang/System$Logger;
         3: .line 54
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(jdk.incubator.http.Exchange<T>);
    descriptor: (Ljdk/incubator/http/Exchange;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.incubator.http.ExchangeImpl this
        start local 1 // jdk.incubator.http.Exchange e
         0: .line 58
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 60
            aload 0 /* this */
            aload 1 /* e */
            putfield jdk.incubator.http.ExchangeImpl.exchange:Ljdk/incubator/http/Exchange;
         2: .line 61
            return
        end local 1 // jdk.incubator.http.Exchange e
        end local 0 // jdk.incubator.http.ExchangeImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/incubator/http/ExchangeImpl<TT;>;
            0    3     1     e  Ljdk/incubator/http/Exchange<TT;>;
    Signature: (Ljdk/incubator/http/Exchange<TT;>;)V
    MethodParameters:
      Name  Flags
      e     

  final jdk.incubator.http.Exchange<T> getExchange();
    descriptor: ()Ljdk/incubator/http/Exchange;
    flags: (0x0010) ACC_FINAL
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.incubator.http.ExchangeImpl this
         0: .line 64
            aload 0 /* this */
            getfield jdk.incubator.http.ExchangeImpl.exchange:Ljdk/incubator/http/Exchange;
            areturn
        end local 0 // jdk.incubator.http.ExchangeImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/incubator/http/ExchangeImpl<TT;>;
    Signature: ()Ljdk/incubator/http/Exchange<TT;>;

  abstract jdk.incubator.http.HttpConnection connection();
    descriptor: ()Ljdk/incubator/http/HttpConnection;
    flags: (0x0400) ACC_ABSTRACT

  static <U> java.util.concurrent.CompletableFuture<? extends jdk.incubator.http.ExchangeImpl<U>> get(jdk.incubator.http.Exchange<U>, jdk.incubator.http.HttpConnection);
    descriptor: (Ljdk/incubator/http/Exchange;Ljdk/incubator/http/HttpConnection;)Ljava/util/concurrent/CompletableFuture;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=2, args_size=2
         0: .line 89
            new java.lang.Error
            dup
            ldc "Unresolved compilation problem: \n\tType mismatch: cannot convert from CompletableFuture<capture#1-of ? extends ExchangeImpl<U>> to CompletableFuture<ExchangeImpl<U>>\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Signature: <U:Ljava/lang/Object;>(Ljdk/incubator/http/Exchange<TU;>;Ljdk/incubator/http/HttpConnection;)Ljava/util/concurrent/CompletableFuture<+Ljdk/incubator/http/ExchangeImpl<TU;>;>;
    MethodParameters:
            Name  Flags
      exchange    
      connection  

  private static <U> java.util.concurrent.CompletableFuture<? extends jdk.incubator.http.ExchangeImpl<U>> createExchangeImpl(jdk.incubator.http.Http2Connection, java.lang.Throwable, jdk.incubator.http.Exchange<U>, jdk.incubator.http.HttpConnection);
    descriptor: (Ljdk/incubator/http/Http2Connection;Ljava/lang/Throwable;Ljdk/incubator/http/Exchange;Ljdk/incubator/http/HttpConnection;)Ljava/util/concurrent/CompletableFuture;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=7, locals=8, args_size=4
        start local 0 // jdk.incubator.http.Http2Connection c
        start local 1 // java.lang.Throwable t
        start local 2 // jdk.incubator.http.Exchange exchange
        start local 3 // jdk.incubator.http.HttpConnection connection
         0: .line 100
            getstatic jdk.incubator.http.ExchangeImpl.DEBUG_LOGGER:Ljava/lang/System$Logger;
            getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
            ldc "handling HTTP/2 connection creation result"
            invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
         1: .line 101
            aload 2 /* exchange */
            invokevirtual jdk.incubator.http.Exchange.request:()Ljdk/incubator/http/HttpRequestImpl;
            invokevirtual jdk.incubator.http.HttpRequestImpl.secure:()Z
            istore 4 /* secure */
        start local 4 // boolean secure
         2: .line 102
            aload 1 /* t */
            ifnull 19
         3: .line 103
            getstatic jdk.incubator.http.ExchangeImpl.DEBUG_LOGGER:Ljava/lang/System$Logger;
            getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
         4: .line 104
            ldc "handling HTTP/2 connection creation failed: %s"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
         5: .line 105
            aload 1 /* t */
            aastore
         6: .line 103
            invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
         7: .line 106
            aload 1 /* t */
            invokestatic jdk.incubator.http.internal.common.Utils.getCompletionCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
            astore 1 /* t */
         8: .line 107
            aload 1 /* t */
            instanceof jdk.incubator.http.Http2Connection$ALPNException
            ifeq 15
         9: .line 108
            aload 1 /* t */
            checkcast jdk.incubator.http.Http2Connection$ALPNException
            astore 5 /* ee */
        start local 5 // jdk.incubator.http.Http2Connection$ALPNException ee
        10: .line 109
            aload 5 /* ee */
            invokevirtual jdk.incubator.http.Http2Connection$ALPNException.getConnection:()Ljdk/incubator/http/AbstractAsyncSSLConnection;
            astore 6 /* as */
        start local 6 // jdk.incubator.http.AbstractAsyncSSLConnection as
        11: .line 110
            getstatic jdk.incubator.http.ExchangeImpl.DEBUG_LOGGER:Ljava/lang/System$Logger;
            getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
            ldc "downgrading to HTTP/1.1 with: %s"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 6 /* as */
            aastore
            invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
        12: .line 112
            aload 2 /* exchange */
            aload 6 /* as */
            invokestatic jdk.incubator.http.ExchangeImpl.createHttp1Exchange:(Ljdk/incubator/http/Exchange;Ljdk/incubator/http/HttpConnection;)Ljava/util/concurrent/CompletableFuture;
        13: .line 111
            astore 7 /* ex */
        start local 7 // java.util.concurrent.CompletableFuture ex
        14: .line 113
            aload 7 /* ex */
            areturn
        end local 7 // java.util.concurrent.CompletableFuture ex
        end local 6 // jdk.incubator.http.AbstractAsyncSSLConnection as
        end local 5 // jdk.incubator.http.Http2Connection$ALPNException ee
        15: .line 115
      StackMap locals: int
      StackMap stack:
            getstatic jdk.incubator.http.ExchangeImpl.DEBUG_LOGGER:Ljava/lang/System$Logger;
            getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
            ldc "HTTP/2 connection creation failed with unexpected exception: %s"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
        16: .line 116
            aload 1 /* t */
            aastore
        17: .line 115
            invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
        18: .line 117
            aload 1 /* t */
            invokestatic java.util.concurrent.CompletableFuture.failedFuture:(Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
            areturn
        19: .line 120
      StackMap locals:
      StackMap stack:
            iload 4 /* secure */
            ifeq 24
            aload 0 /* c */
            ifnonnull 24
        20: .line 121
            getstatic jdk.incubator.http.ExchangeImpl.DEBUG_LOGGER:Ljava/lang/System$Logger;
            getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
            ldc "downgrading to HTTP/1.1 "
            invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
        21: .line 123
            aload 2 /* exchange */
            aconst_null
            invokestatic jdk.incubator.http.ExchangeImpl.createHttp1Exchange:(Ljdk/incubator/http/Exchange;Ljdk/incubator/http/HttpConnection;)Ljava/util/concurrent/CompletableFuture;
        22: .line 122
            astore 5 /* ex */
        start local 5 // java.util.concurrent.CompletableFuture ex
        23: .line 124
            aload 5 /* ex */
            areturn
        end local 5 // java.util.concurrent.CompletableFuture ex
        24: .line 126
      StackMap locals:
      StackMap stack:
            aload 0 /* c */
            ifnonnull 29
        25: .line 129
            getstatic jdk.incubator.http.ExchangeImpl.DEBUG_LOGGER:Ljava/lang/System$Logger;
            getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
            ldc "new Http1Exchange, try to upgrade"
            invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
        26: .line 130
            aload 2 /* exchange */
            aload 3 /* connection */
            invokestatic jdk.incubator.http.ExchangeImpl.createHttp1Exchange:(Ljdk/incubator/http/Exchange;Ljdk/incubator/http/HttpConnection;)Ljava/util/concurrent/CompletableFuture;
        27: .line 131
            aload 2 /* exchange */
            invokedynamic apply(Ljdk/incubator/http/Exchange;)Ljava/util/function/Function;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)Ljava/lang/Object;
                  jdk/incubator/http/ExchangeImpl.lambda$2(Ljdk/incubator/http/Exchange;Ljdk/incubator/http/Http1Exchange;)Ljdk/incubator/http/Http1Exchange; (6)
                  (Ljdk/incubator/http/Http1Exchange;)Ljdk/incubator/http/Http1Exchange;
            invokevirtual java.util.concurrent.CompletableFuture.thenApply:(Ljava/util/function/Function;)Ljava/util/concurrent/CompletableFuture;
        28: .line 130
            areturn
        29: .line 136
      StackMap locals:
      StackMap stack:
            getstatic jdk.incubator.http.ExchangeImpl.DEBUG_LOGGER:Ljava/lang/System$Logger;
            getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
            ldc "creating HTTP/2 streams"
            invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
        30: .line 137
            aload 0 /* c */
            aload 2 /* exchange */
            invokevirtual jdk.incubator.http.Http2Connection.createStream:(Ljdk/incubator/http/Exchange;)Ljdk/incubator/http/Stream;
            astore 5 /* s */
        start local 5 // jdk.incubator.http.Stream s
        31: .line 138
            aload 5 /* s */
            invokestatic jdk.incubator.http.internal.common.MinimalFuture.completedFuture:(Ljava/lang/Object;)Ljdk/incubator/http/internal/common/MinimalFuture;
            astore 6 /* ex */
        start local 6 // java.util.concurrent.CompletableFuture ex
        32: .line 139
            aload 6 /* ex */
            areturn
        end local 6 // java.util.concurrent.CompletableFuture ex
        end local 5 // jdk.incubator.http.Stream s
        end local 4 // boolean secure
        end local 3 // jdk.incubator.http.HttpConnection connection
        end local 2 // jdk.incubator.http.Exchange exchange
        end local 1 // java.lang.Throwable t
        end local 0 // jdk.incubator.http.Http2Connection c
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   33     0           c  Ljdk/incubator/http/Http2Connection;
            0   33     1           t  Ljava/lang/Throwable;
            0   33     2    exchange  Ljdk/incubator/http/Exchange<TU;>;
            0   33     3  connection  Ljdk/incubator/http/HttpConnection;
            2   33     4      secure  Z
           10   15     5          ee  Ljdk/incubator/http/Http2Connection$ALPNException;
           11   15     6          as  Ljdk/incubator/http/AbstractAsyncSSLConnection;
           14   15     7          ex  Ljava/util/concurrent/CompletableFuture<+Ljdk/incubator/http/ExchangeImpl<TU;>;>;
           23   24     5          ex  Ljava/util/concurrent/CompletableFuture<+Ljdk/incubator/http/ExchangeImpl<TU;>;>;
           31   33     5           s  Ljdk/incubator/http/Stream<TU;>;
           32   33     6          ex  Ljava/util/concurrent/CompletableFuture<+Ljdk/incubator/http/ExchangeImpl<TU;>;>;
    Signature: <U:Ljava/lang/Object;>(Ljdk/incubator/http/Http2Connection;Ljava/lang/Throwable;Ljdk/incubator/http/Exchange<TU;>;Ljdk/incubator/http/HttpConnection;)Ljava/util/concurrent/CompletableFuture<+Ljdk/incubator/http/ExchangeImpl<TU;>;>;
    MethodParameters:
            Name  Flags
      c           
      t           
      exchange    
      connection  

  private static <T> java.util.concurrent.CompletableFuture<jdk.incubator.http.Http1Exchange<T>> createHttp1Exchange(jdk.incubator.http.Exchange<T>, jdk.incubator.http.HttpConnection);
    descriptor: (Ljdk/incubator/http/Exchange;Ljdk/incubator/http/HttpConnection;)Ljava/util/concurrent/CompletableFuture;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // jdk.incubator.http.Exchange ex
        start local 1 // jdk.incubator.http.HttpConnection as
         0: .line 147
            new jdk.incubator.http.Http1Exchange
            dup
            aload 0 /* ex */
            aload 1 /* as */
            invokespecial jdk.incubator.http.Http1Exchange.<init>:(Ljdk/incubator/http/Exchange;Ljdk/incubator/http/HttpConnection;)V
            invokestatic jdk.incubator.http.internal.common.MinimalFuture.completedFuture:(Ljava/lang/Object;)Ljdk/incubator/http/internal/common/MinimalFuture;
         1: areturn
         2: .line 148
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 2 /* e */
        start local 2 // java.lang.Throwable e
         3: .line 149
            aload 2 /* e */
            invokestatic jdk.incubator.http.internal.common.MinimalFuture.failedFuture:(Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
            areturn
        end local 2 // java.lang.Throwable e
        end local 1 // jdk.incubator.http.HttpConnection as
        end local 0 // jdk.incubator.http.Exchange ex
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0    ex  Ljdk/incubator/http/Exchange<TT;>;
            0    4     1    as  Ljdk/incubator/http/HttpConnection;
            3    4     2     e  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.Throwable
    Signature: <T:Ljava/lang/Object;>(Ljdk/incubator/http/Exchange<TT;>;Ljdk/incubator/http/HttpConnection;)Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/Http1Exchange<TT;>;>;
    MethodParameters:
      Name  Flags
      ex    
      as    

  abstract java.util.concurrent.CompletableFuture<jdk.incubator.http.ExchangeImpl<T>> sendHeadersAsync();
    descriptor: ()Ljava/util/concurrent/CompletableFuture;
    flags: (0x0400) ACC_ABSTRACT
    Signature: ()Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/ExchangeImpl<TT;>;>;

  abstract java.util.concurrent.CompletableFuture<jdk.incubator.http.ExchangeImpl<T>> sendBodyAsync();
    descriptor: ()Ljava/util/concurrent/CompletableFuture;
    flags: (0x0400) ACC_ABSTRACT
    Signature: ()Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/ExchangeImpl<TT;>;>;

  abstract java.util.concurrent.CompletableFuture<T> readBodyAsync(jdk.incubator.http.HttpResponse$BodyHandler<T>, boolean, java.util.concurrent.Executor);
    descriptor: (Ljdk/incubator/http/HttpResponse$BodyHandler;ZLjava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
    flags: (0x0400) ACC_ABSTRACT
    Signature: (Ljdk/incubator/http/HttpResponse$BodyHandler<TT;>;ZLjava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture<TT;>;
    MethodParameters:
                        Name  Flags
      handler                 
      returnConnectionToPool  
      executor                

  abstract java.util.concurrent.CompletableFuture<java.lang.Void> ignoreBody();
    descriptor: ()Ljava/util/concurrent/CompletableFuture;
    flags: (0x0400) ACC_ABSTRACT
    Signature: ()Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;

  abstract java.util.concurrent.CompletableFuture<jdk.incubator.http.Response> getResponseAsync(java.util.concurrent.Executor);
    descriptor: (Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
    flags: (0x0400) ACC_ABSTRACT
    Signature: (Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/Response;>;
    MethodParameters:
          Name  Flags
      executor  

  abstract void cancel();
    descriptor: ()V
    flags: (0x0400) ACC_ABSTRACT

  abstract void cancel(java.io.IOException);
    descriptor: (Ljava/io/IOException;)V
    flags: (0x0400) ACC_ABSTRACT
    MethodParameters:
       Name  Flags
      cause  

  abstract void released();
    descriptor: ()V
    flags: (0x0400) ACC_ABSTRACT

  abstract void completed();
    descriptor: ()V
    flags: (0x0400) ACC_ABSTRACT

  abstract boolean isCanceled();
    descriptor: ()Z
    flags: (0x0400) ACC_ABSTRACT

  abstract java.lang.Throwable getCancelCause();
    descriptor: ()Ljava/lang/Throwable;
    flags: (0x0400) ACC_ABSTRACT

  private static jdk.incubator.http.Http1Exchange lambda$2(jdk.incubator.http.Exchange, jdk.incubator.http.Http1Exchange);
    descriptor: (Ljdk/incubator/http/Exchange;Ljdk/incubator/http/Http1Exchange;)Ljdk/incubator/http/Http1Exchange;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=2, args_size=2
        start local 1 // jdk.incubator.http.Http1Exchange e
         0: .line 132
            aload 0
            invokevirtual jdk.incubator.http.Exchange.h2Upgrade:()V
         1: .line 133
            aload 1 /* e */
            areturn
        end local 1 // jdk.incubator.http.Http1Exchange e
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     1     e  Ljdk/incubator/http/Http1Exchange<TU;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "ExchangeImpl.java"
InnerClasses:
  public abstract Logger = java.lang.System$Logger of java.lang.System
  public final Level = java.lang.System$Logger$Level of java.lang.System$Logger
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  final ALPNException = jdk.incubator.http.Http2Connection$ALPNException of jdk.incubator.http.Http2Connection
  public abstract BodyHandler = jdk.incubator.http.HttpResponse$BodyHandler of jdk.incubator.http.HttpResponse