public class jdk.internal.net.http.ResponseBodyHandlers$FileDownloadBodyHandler implements java.net.http.HttpResponse$BodyHandler<java.nio.file.Path>
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: jdk.internal.net.http.ResponseBodyHandlers$FileDownloadBodyHandler
  super_class: java.lang.Object
{
  private final java.nio.file.Path directory;
    descriptor: Ljava/nio/file/Path;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.List<java.nio.file.OpenOption> openOptions;
    descriptor: Ljava/util/List;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/List<Ljava/nio/file/OpenOption;>;

  private final java.io.FilePermission[] filePermissions;
    descriptor: [Ljava/io/FilePermission;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  static final java.lang.String DISPOSITION_TYPE;
    descriptor: Ljava/lang/String;
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: "attachment;"

  static final java.util.regex.Pattern FILENAME;
    descriptor: Ljava/util/regex/Pattern;
    flags: (0x0018) ACC_STATIC, ACC_FINAL

  static final java.util.List<java.lang.String> PROHIBITED;
    descriptor: Ljava/util/List;
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    Signature: Ljava/util/List<Ljava/lang/String;>;

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=5, locals=0, args_size=0
         0: .line 203
            ldc "filename\\s*="
            iconst_2
            invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;I)Ljava/util/regex/Pattern;
            putstatic jdk.internal.net.http.ResponseBodyHandlers$FileDownloadBodyHandler.FILENAME:Ljava/util/regex/Pattern;
         1: .line 205
            ldc "."
            ldc ".."
            ldc ""
            ldc "~"
            ldc "|"
            invokestatic java.util.List.of:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/List;
            putstatic jdk.internal.net.http.ResponseBodyHandlers$FileDownloadBodyHandler.PROHIBITED:Ljava/util/List;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public static jdk.internal.net.http.ResponseBodyHandlers$FileDownloadBodyHandler create(java.nio.file.Path, java.util.List<java.nio.file.OpenOption>);
    descriptor: (Ljava/nio/file/Path;Ljava/util/List;)Ljdk/internal/net/http/ResponseBodyHandlers$FileDownloadBodyHandler;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=9, args_size=2
        start local 0 // java.nio.file.Path directory
        start local 1 // java.util.List openOptions
         0: .line 163
            aconst_null
            astore 2 /* filePermissions */
        start local 2 // java.io.FilePermission[] filePermissions
         1: .line 164
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            astore 3 /* sm */
        start local 3 // java.lang.SecurityManager sm
         2: .line 165
            aload 3 /* sm */
            ifnull 11
         3: .line 166
            aload 0 /* directory */
            invokestatic jdk.internal.net.http.ResponseBodyHandlers.pathForSecurityCheck:(Ljava/nio/file/Path;)Ljava/lang/String;
            astore 4 /* fn */
        start local 4 // java.lang.String fn
         4: .line 167
            new java.io.FilePermission
            dup
            aload 4 /* fn */
            ldc "write"
            invokespecial java.io.FilePermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
            astore 5 /* writePermission */
        start local 5 // java.io.FilePermission writePermission
         5: .line 168
            new java.lang.StringBuilder
            dup
            aload 4 /* fn */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            getstatic java.io.File.separatorChar:C
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            ldc "*"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 6 /* writePathPerm */
        start local 6 // java.lang.String writePathPerm
         6: .line 169
            new java.io.FilePermission
            dup
            aload 6 /* writePathPerm */
            ldc "write"
            invokespecial java.io.FilePermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
            astore 7 /* writeInDirPermission */
        start local 7 // java.io.FilePermission writeInDirPermission
         7: .line 170
            aload 3 /* sm */
            aload 7 /* writeInDirPermission */
            invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
         8: .line 171
            new java.io.FilePermission
            dup
            aload 4 /* fn */
            ldc "read"
            invokespecial java.io.FilePermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
            astore 8 /* readPermission */
        start local 8 // java.io.FilePermission readPermission
         9: .line 172
            aload 3 /* sm */
            aload 8 /* readPermission */
            invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
        10: .line 176
            iconst_2
            anewarray java.io.FilePermission
            dup
            iconst_0
            aload 5 /* writePermission */
            aastore
            dup
            iconst_1
            aload 7 /* writeInDirPermission */
            aastore
            astore 2 /* filePermissions */
        end local 8 // java.io.FilePermission readPermission
        end local 7 // java.io.FilePermission writeInDirPermission
        end local 6 // java.lang.String writePathPerm
        end local 5 // java.io.FilePermission writePermission
        end local 4 // java.lang.String fn
        11: .line 180
      StackMap locals: java.io.FilePermission[] java.lang.SecurityManager
      StackMap stack:
            aload 0 /* directory */
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.notExists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            ifeq 13
        12: .line 181
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "non-existent directory: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* directory */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        13: .line 182
      StackMap locals:
      StackMap stack:
            aload 0 /* directory */
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            ifne 15
        14: .line 183
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "not a directory: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* directory */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        15: .line 184
      StackMap locals:
      StackMap stack:
            aload 0 /* directory */
            invokestatic java.nio.file.Files.isWritable:(Ljava/nio/file/Path;)Z
            ifne 17
        16: .line 185
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "non-writable directory: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* directory */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        17: .line 187
      StackMap locals:
      StackMap stack:
            new jdk.internal.net.http.ResponseBodyHandlers$FileDownloadBodyHandler
            dup
            aload 0 /* directory */
            aload 1 /* openOptions */
            aload 2 /* filePermissions */
            invokespecial jdk.internal.net.http.ResponseBodyHandlers$FileDownloadBodyHandler.<init>:(Ljava/nio/file/Path;Ljava/util/List;[Ljava/io/FilePermission;)V
            areturn
        end local 3 // java.lang.SecurityManager sm
        end local 2 // java.io.FilePermission[] filePermissions
        end local 1 // java.util.List openOptions
        end local 0 // java.nio.file.Path directory
      LocalVariableTable:
        Start  End  Slot                  Name  Signature
            0   18     0             directory  Ljava/nio/file/Path;
            0   18     1           openOptions  Ljava/util/List<Ljava/nio/file/OpenOption;>;
            1   18     2       filePermissions  [Ljava/io/FilePermission;
            2   18     3                    sm  Ljava/lang/SecurityManager;
            4   11     4                    fn  Ljava/lang/String;
            5   11     5       writePermission  Ljava/io/FilePermission;
            6   11     6         writePathPerm  Ljava/lang/String;
            7   11     7  writeInDirPermission  Ljava/io/FilePermission;
            9   11     8        readPermission  Ljava/io/FilePermission;
    Signature: (Ljava/nio/file/Path;Ljava/util/List<Ljava/nio/file/OpenOption;>;)Ljdk/internal/net/http/ResponseBodyHandlers$FileDownloadBodyHandler;
    MethodParameters:
             Name  Flags
      directory    
      openOptions  

  private void <init>(java.nio.file.Path, java.util.List<java.nio.file.OpenOption>, java.io.FilePermission[]);
    descriptor: (Ljava/nio/file/Path;Ljava/util/List;[Ljava/io/FilePermission;)V
    flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
    Code:
      stack=2, locals=4, args_size=4
        start local 0 // jdk.internal.net.http.ResponseBodyHandlers$FileDownloadBodyHandler this
        start local 1 // java.nio.file.Path directory
        start local 2 // java.util.List openOptions
        start local 3 // java.io.FilePermission[] filePermissions
         0: .line 191
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 194
            aload 0 /* this */
            aload 1 /* directory */
            putfield jdk.internal.net.http.ResponseBodyHandlers$FileDownloadBodyHandler.directory:Ljava/nio/file/Path;
         2: .line 195
            aload 0 /* this */
            aload 2 /* openOptions */
            putfield jdk.internal.net.http.ResponseBodyHandlers$FileDownloadBodyHandler.openOptions:Ljava/util/List;
         3: .line 196
            aload 0 /* this */
            aload 3 /* filePermissions */
            putfield jdk.internal.net.http.ResponseBodyHandlers$FileDownloadBodyHandler.filePermissions:[Ljava/io/FilePermission;
         4: .line 197
            return
        end local 3 // java.io.FilePermission[] filePermissions
        end local 2 // java.util.List openOptions
        end local 1 // java.nio.file.Path directory
        end local 0 // jdk.internal.net.http.ResponseBodyHandlers$FileDownloadBodyHandler this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    5     0             this  Ljdk/internal/net/http/ResponseBodyHandlers$FileDownloadBodyHandler;
            0    5     1        directory  Ljava/nio/file/Path;
            0    5     2      openOptions  Ljava/util/List<Ljava/nio/file/OpenOption;>;
            0    5     3  filePermissions  [Ljava/io/FilePermission;
    Signature: (Ljava/nio/file/Path;Ljava/util/List<Ljava/nio/file/OpenOption;>;[Ljava/io/FilePermission;)V
    MethodParameters:
                 Name  Flags
      directory        
      openOptions      
      filePermissions  

  static final java.io.UncheckedIOException unchecked(java.net.http.HttpResponse$ResponseInfo, java.lang.String);
    descriptor: (Ljava/net/http/HttpResponse$ResponseInfo;Ljava/lang/String;)Ljava/io/UncheckedIOException;
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // java.net.http.HttpResponse$ResponseInfo rinfo
        start local 1 // java.lang.String msg
         0: .line 209
            ldc "%s in response [%d, %s]"
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* msg */
            aastore
            dup
            iconst_1
            aload 0 /* rinfo */
            invokeinterface java.net.http.HttpResponse$ResponseInfo.statusCode:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_2
            aload 0 /* rinfo */
            invokeinterface java.net.http.HttpResponse$ResponseInfo.headers:()Ljava/net/http/HttpHeaders;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            astore 2 /* s */
        start local 2 // java.lang.String s
         1: .line 210
            new java.io.UncheckedIOException
            dup
            new java.io.IOException
            dup
            aload 2 /* s */
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            invokespecial java.io.UncheckedIOException.<init>:(Ljava/io/IOException;)V
            areturn
        end local 2 // java.lang.String s
        end local 1 // java.lang.String msg
        end local 0 // java.net.http.HttpResponse$ResponseInfo rinfo
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0  rinfo  Ljava/net/http/HttpResponse$ResponseInfo;
            0    2     1    msg  Ljava/lang/String;
            1    2     2      s  Ljava/lang/String;
    MethodParameters:
       Name  Flags
      rinfo  
      msg    

  public java.net.http.HttpResponse$BodySubscriber<java.nio.file.Path> apply(java.net.http.HttpResponse$ResponseInfo);
    descriptor: (Ljava/net/http/HttpResponse$ResponseInfo;)Ljava/net/http/HttpResponse$BodySubscriber;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=9, args_size=2
        start local 0 // jdk.internal.net.http.ResponseBodyHandlers$FileDownloadBodyHandler this
        start local 1 // java.net.http.HttpResponse$ResponseInfo responseInfo
         0: .line 215
            aload 1 /* responseInfo */
            invokeinterface java.net.http.HttpResponse$ResponseInfo.headers:()Ljava/net/http/HttpHeaders;
            ldc "Content-Disposition"
            invokevirtual java.net.http.HttpHeaders.firstValue:(Ljava/lang/String;)Ljava/util/Optional;
         1: .line 216
            aload 1 /* responseInfo */
            invokedynamic get(Ljava/net/http/HttpResponse$ResponseInfo;)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;
                  jdk/internal/net/http/ResponseBodyHandlers$FileDownloadBodyHandler.lambda$0(Ljava/net/http/HttpResponse$ResponseInfo;)Ljava/io/UncheckedIOException; (6)
                  ()Ljava/io/UncheckedIOException;
            invokevirtual java.util.Optional.orElseThrow:(Ljava/util/function/Supplier;)Ljava/lang/Object;
            checkcast java.lang.String
         2: .line 215
            astore 2 /* dispoHeader */
        start local 2 // java.lang.String dispoHeader
         3: .line 218
            aload 2 /* dispoHeader */
            iconst_1
         4: .line 219
            iconst_0
            ldc "attachment;"
         5: .line 220
            iconst_0
            ldc "attachment;"
            invokevirtual java.lang.String.length:()I
         6: .line 218
            invokevirtual java.lang.String.regionMatches:(ZILjava/lang/String;II)Z
         7: .line 220
            ifne 9
         8: .line 221
            aload 1 /* responseInfo */
            ldc "Unknown Content-Disposition type"
            invokestatic jdk.internal.net.http.ResponseBodyHandlers$FileDownloadBodyHandler.unchecked:(Ljava/net/http/HttpResponse$ResponseInfo;Ljava/lang/String;)Ljava/io/UncheckedIOException;
            athrow
         9: .line 224
      StackMap locals: java.lang.String
      StackMap stack:
            getstatic jdk.internal.net.http.ResponseBodyHandlers$FileDownloadBodyHandler.FILENAME:Ljava/util/regex/Pattern;
            aload 2 /* dispoHeader */
            invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
            astore 3 /* matcher */
        start local 3 // java.util.regex.Matcher matcher
        10: .line 225
            aload 3 /* matcher */
            invokevirtual java.util.regex.Matcher.find:()Z
            ifne 12
        11: .line 226
            aload 1 /* responseInfo */
            ldc "Bad Content-Disposition filename parameter"
            invokestatic jdk.internal.net.http.ResponseBodyHandlers$FileDownloadBodyHandler.unchecked:(Ljava/net/http/HttpResponse$ResponseInfo;Ljava/lang/String;)Ljava/io/UncheckedIOException;
            athrow
        12: .line 228
      StackMap locals: java.util.regex.Matcher
      StackMap stack:
            aload 3 /* matcher */
            invokevirtual java.util.regex.Matcher.end:()I
            istore 4 /* n */
        start local 4 // int n
        13: .line 230
            aload 2 /* dispoHeader */
            iload 4 /* n */
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            ldc ";"
            invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
            istore 5 /* semi */
        start local 5 // int semi
        14: .line 232
            iload 5 /* semi */
            ifge 17
        15: .line 233
            aload 2 /* dispoHeader */
            iload 4 /* n */
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            astore 6 /* filenameParam */
        start local 6 // java.lang.String filenameParam
        16: .line 234
            goto 18
        end local 6 // java.lang.String filenameParam
        17: .line 235
      StackMap locals: int int
      StackMap stack:
            aload 2 /* dispoHeader */
            iload 4 /* n */
            iload 4 /* n */
            iload 5 /* semi */
            iadd
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            astore 6 /* filenameParam */
        start local 6 // java.lang.String filenameParam
        18: .line 239
      StackMap locals: java.lang.String
      StackMap stack:
            aload 6 /* filenameParam */
            ldc "/"
            invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
            istore 7 /* x */
        start local 7 // int x
        19: .line 240
            iload 7 /* x */
            iconst_m1
            if_icmpeq 21
        20: .line 241
            aload 6 /* filenameParam */
            iload 7 /* x */
            iconst_1
            iadd
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            astore 6 /* filenameParam */
        21: .line 243
      StackMap locals: int
      StackMap stack:
            aload 6 /* filenameParam */
            ldc "\\"
            invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
            istore 7 /* x */
        22: .line 244
            iload 7 /* x */
            iconst_m1
            if_icmpeq 24
        23: .line 245
            aload 6 /* filenameParam */
            iload 7 /* x */
            iconst_1
            iadd
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            astore 6 /* filenameParam */
        24: .line 248
      StackMap locals:
      StackMap stack:
            aload 6 /* filenameParam */
            invokevirtual java.lang.String.trim:()Ljava/lang/String;
            astore 6 /* filenameParam */
        25: .line 250
            aload 6 /* filenameParam */
            ldc "\""
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 32
        26: .line 251
            aload 6 /* filenameParam */
            ldc "\""
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifeq 27
            aload 6 /* filenameParam */
            invokevirtual java.lang.String.length:()I
            iconst_1
            if_icmpne 30
        27: .line 252
      StackMap locals:
      StackMap stack:
            aload 1 /* responseInfo */
        28: .line 253
            ldc "Badly quoted Content-Disposition filename parameter"
        29: .line 252
            invokestatic jdk.internal.net.http.ResponseBodyHandlers$FileDownloadBodyHandler.unchecked:(Ljava/net/http/HttpResponse$ResponseInfo;Ljava/lang/String;)Ljava/io/UncheckedIOException;
            athrow
        30: .line 255
      StackMap locals:
      StackMap stack:
            aload 6 /* filenameParam */
            iconst_1
            aload 6 /* filenameParam */
            invokevirtual java.lang.String.length:()I
            iconst_1
            isub
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            astore 6 /* filenameParam */
        31: .line 256
            goto 36
        32: .line 257
      StackMap locals:
      StackMap stack:
            aload 6 /* filenameParam */
            ldc " "
            invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
            ifeq 36
        33: .line 258
            aload 1 /* responseInfo */
        34: .line 259
            ldc "unquoted space in Content-Disposition filename parameter"
        35: .line 258
            invokestatic jdk.internal.net.http.ResponseBodyHandlers$FileDownloadBodyHandler.unchecked:(Ljava/net/http/HttpResponse$ResponseInfo;Ljava/lang/String;)Ljava/io/UncheckedIOException;
            athrow
        36: .line 263
      StackMap locals:
      StackMap stack:
            getstatic jdk.internal.net.http.ResponseBodyHandlers$FileDownloadBodyHandler.PROHIBITED:Ljava/util/List;
            aload 6 /* filenameParam */
            invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
            ifeq 42
        37: .line 264
            aload 1 /* responseInfo */
        38: .line 265
            new java.lang.StringBuilder
            dup
            ldc "Prohibited Content-Disposition filename parameter:"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        39: .line 266
            aload 6 /* filenameParam */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        40: .line 265
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        41: .line 264
            invokestatic jdk.internal.net.http.ResponseBodyHandlers$FileDownloadBodyHandler.unchecked:(Ljava/net/http/HttpResponse$ResponseInfo;Ljava/lang/String;)Ljava/io/UncheckedIOException;
            athrow
        42: .line 269
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseBodyHandlers$FileDownloadBodyHandler.directory:Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            aload 6 /* filenameParam */
            aastore
            invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
            astore 8 /* file */
        start local 8 // java.nio.file.Path file
        43: .line 271
            aload 8 /* file */
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseBodyHandlers$FileDownloadBodyHandler.directory:Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.startsWith:(Ljava/nio/file/Path;)Z
            ifne 47
        44: .line 272
            aload 1 /* responseInfo */
        45: .line 273
            new java.lang.StringBuilder
            dup
            ldc "Resulting file, "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 8 /* file */
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc ", outside of given directory"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        46: .line 272
            invokestatic jdk.internal.net.http.ResponseBodyHandlers$FileDownloadBodyHandler.unchecked:(Ljava/net/http/HttpResponse$ResponseInfo;Ljava/lang/String;)Ljava/io/UncheckedIOException;
            athrow
        47: .line 276
      StackMap locals: java.nio.file.Path
      StackMap stack:
            new jdk.internal.net.http.ResponseSubscribers$PathSubscriber
            dup
            aload 8 /* file */
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseBodyHandlers$FileDownloadBodyHandler.openOptions:Ljava/util/List;
            aload 0 /* this */
            getfield jdk.internal.net.http.ResponseBodyHandlers$FileDownloadBodyHandler.filePermissions:[Ljava/io/FilePermission;
            invokespecial jdk.internal.net.http.ResponseSubscribers$PathSubscriber.<init>:(Ljava/nio/file/Path;Ljava/util/List;[Ljava/io/FilePermission;)V
            areturn
        end local 8 // java.nio.file.Path file
        end local 7 // int x
        end local 6 // java.lang.String filenameParam
        end local 5 // int semi
        end local 4 // int n
        end local 3 // java.util.regex.Matcher matcher
        end local 2 // java.lang.String dispoHeader
        end local 1 // java.net.http.HttpResponse$ResponseInfo responseInfo
        end local 0 // jdk.internal.net.http.ResponseBodyHandlers$FileDownloadBodyHandler this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   48     0           this  Ljdk/internal/net/http/ResponseBodyHandlers$FileDownloadBodyHandler;
            0   48     1   responseInfo  Ljava/net/http/HttpResponse$ResponseInfo;
            3   48     2    dispoHeader  Ljava/lang/String;
           10   48     3        matcher  Ljava/util/regex/Matcher;
           13   48     4              n  I
           14   48     5           semi  I
           16   17     6  filenameParam  Ljava/lang/String;
           18   48     6  filenameParam  Ljava/lang/String;
           19   48     7              x  I
           43   48     8           file  Ljava/nio/file/Path;
    Signature: (Ljava/net/http/HttpResponse$ResponseInfo;)Ljava/net/http/HttpResponse$BodySubscriber<Ljava/nio/file/Path;>;
    MethodParameters:
              Name  Flags
      responseInfo  

  private static java.io.UncheckedIOException lambda$0(java.net.http.HttpResponse$ResponseInfo);
    descriptor: (Ljava/net/http/HttpResponse$ResponseInfo;)Ljava/io/UncheckedIOException;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=1, args_size=1
         0: .line 216
            aload 0
            ldc "No Content-Disposition header"
            invokestatic jdk.internal.net.http.ResponseBodyHandlers$FileDownloadBodyHandler.unchecked:(Ljava/net/http/HttpResponse$ResponseInfo;Ljava/lang/String;)Ljava/io/UncheckedIOException;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
Signature: Ljava/lang/Object;Ljava/net/http/HttpResponse$BodyHandler<Ljava/nio/file/Path;>;
SourceFile: "ResponseBodyHandlers.java"
NestHost: jdk.internal.net.http.ResponseBodyHandlers
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public abstract BodyHandler = java.net.http.HttpResponse$BodyHandler of java.net.http.HttpResponse
  public abstract BodySubscriber = java.net.http.HttpResponse$BodySubscriber of java.net.http.HttpResponse
  public abstract ResponseInfo = java.net.http.HttpResponse$ResponseInfo of java.net.http.HttpResponse
  public FileDownloadBodyHandler = jdk.internal.net.http.ResponseBodyHandlers$FileDownloadBodyHandler of jdk.internal.net.http.ResponseBodyHandlers
  public PathSubscriber = jdk.internal.net.http.ResponseSubscribers$PathSubscriber of jdk.internal.net.http.ResponseSubscribers