class jdk.incubator.http.ResponseProcessors$MultiFile
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: jdk.incubator.http.ResponseProcessors$MultiFile
  super_class: java.lang.Object
{
  final java.nio.file.Path pathRoot;
    descriptor: Ljava/nio/file/Path;
    flags: (0x0010) ACC_FINAL

  void <init>(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)V
    flags: (0x0000) 
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // jdk.incubator.http.ResponseProcessors$MultiFile this
        start local 1 // java.nio.file.Path destination
         0: .line 272
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 273
            aload 1 /* destination */
            invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
            invokevirtual java.io.File.isDirectory:()Z
            ifne 3
         2: .line 274
            new java.io.UncheckedIOException
            dup
            new java.io.IOException
            dup
            ldc "destination is not a directory"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            invokespecial java.io.UncheckedIOException.<init>:(Ljava/io/IOException;)V
            athrow
         3: .line 275
      StackMap locals: jdk.incubator.http.ResponseProcessors$MultiFile java.nio.file.Path
      StackMap stack:
            aload 0 /* this */
            aload 1 /* destination */
            putfield jdk.incubator.http.ResponseProcessors$MultiFile.pathRoot:Ljava/nio/file/Path;
         4: .line 276
            return
        end local 1 // java.nio.file.Path destination
        end local 0 // jdk.incubator.http.ResponseProcessors$MultiFile this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    5     0         this  Ljdk/incubator/http/ResponseProcessors$MultiFile;
            0    5     1  destination  Ljava/nio/file/Path;
    MethodParameters:
             Name  Flags
      destination  

  java.util.Optional<jdk.incubator.http.HttpResponse$BodyHandler<java.nio.file.Path>> handlePush(jdk.incubator.http.HttpRequest);
    descriptor: (Ljdk/incubator/http/HttpRequest;)Ljava/util/Optional;
    flags: (0x0000) 
    Code:
      stack=5, locals=6, args_size=2
        start local 0 // jdk.incubator.http.ResponseProcessors$MultiFile this
        start local 1 // jdk.incubator.http.HttpRequest request
         0: .line 279
            aload 1 /* request */
            invokevirtual jdk.incubator.http.HttpRequest.uri:()Ljava/net/URI;
            astore 2 /* uri */
        start local 2 // java.net.URI uri
         1: .line 280
            aload 2 /* uri */
            invokevirtual java.net.URI.getPath:()Ljava/lang/String;
            astore 3 /* path */
        start local 3 // java.lang.String path
         2: .line 281
            goto 4
         3: .line 282
      StackMap locals: java.net.URI java.lang.String
      StackMap stack:
            aload 3 /* path */
            iconst_1
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            astore 3 /* path */
         4: .line 281
      StackMap locals:
      StackMap stack:
            aload 3 /* path */
            ldc "/"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifne 3
         5: .line 283
            aload 0 /* this */
            getfield jdk.incubator.http.ResponseProcessors$MultiFile.pathRoot:Ljava/nio/file/Path;
            aload 3 /* path */
            invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
            astore 4 /* p */
        start local 4 // java.nio.file.Path p
         6: .line 284
            invokestatic jdk.incubator.http.internal.common.Log.trace:()Z
            ifeq 10
         7: .line 285
            ldc "Creating file body processor for URI={0}, path={1}"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
         8: .line 286
            aload 2 /* uri */
            aastore
            dup
            iconst_1
            aload 4 /* p */
            aastore
         9: .line 285
            invokestatic jdk.incubator.http.internal.common.Log.logTrace:(Ljava/lang/String;[Ljava/lang/Object;)V
        10: .line 289
      StackMap locals: java.nio.file.Path
      StackMap stack:
            aload 4 /* p */
            invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
            iconst_0
            anewarray java.nio.file.attribute.FileAttribute
            invokestatic java.nio.file.Files.createDirectories:(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
            pop
        11: .line 290
            goto 14
      StackMap locals:
      StackMap stack: java.io.IOException
        12: astore 5 /* ex */
        start local 5 // java.io.IOException ex
        13: .line 291
            new java.io.UncheckedIOException
            dup
            aload 5 /* ex */
            invokespecial java.io.UncheckedIOException.<init>:(Ljava/io/IOException;)V
            athrow
        end local 5 // java.io.IOException ex
        14: .line 295
      StackMap locals:
      StackMap stack:
            aload 4 /* p */
            invokestatic jdk.incubator.http.HttpResponse$BodyHandler.asFile:(Ljava/nio/file/Path;)Ljdk/incubator/http/HttpResponse$BodyHandler;
        15: .line 294
            astore 5 /* proc */
        start local 5 // jdk.incubator.http.HttpResponse$BodyHandler proc
        16: .line 297
            aload 5 /* proc */
            invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
            areturn
        end local 5 // jdk.incubator.http.HttpResponse$BodyHandler proc
        end local 4 // java.nio.file.Path p
        end local 3 // java.lang.String path
        end local 2 // java.net.URI uri
        end local 1 // jdk.incubator.http.HttpRequest request
        end local 0 // jdk.incubator.http.ResponseProcessors$MultiFile this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   17     0     this  Ljdk/incubator/http/ResponseProcessors$MultiFile;
            0   17     1  request  Ljdk/incubator/http/HttpRequest;
            1   17     2      uri  Ljava/net/URI;
            2   17     3     path  Ljava/lang/String;
            6   17     4        p  Ljava/nio/file/Path;
           13   14     5       ex  Ljava/io/IOException;
           16   17     5     proc  Ljdk/incubator/http/HttpResponse$BodyHandler<Ljava/nio/file/Path;>;
      Exception table:
        from    to  target  type
          10    11      12  Class java.io.IOException
    Signature: (Ljdk/incubator/http/HttpRequest;)Ljava/util/Optional<Ljdk/incubator/http/HttpResponse$BodyHandler<Ljava/nio/file/Path;>;>;
    MethodParameters:
         Name  Flags
      request  
}
SourceFile: "ResponseProcessors.java"
NestHost: jdk.incubator.http.ResponseProcessors
InnerClasses:
  public abstract BodyHandler = jdk.incubator.http.HttpResponse$BodyHandler of jdk.incubator.http.HttpResponse
  MultiFile = jdk.incubator.http.ResponseProcessors$MultiFile of jdk.incubator.http.ResponseProcessors