public class org.apache.commons.vfs2.provider.http.HttpFileProvider extends org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.vfs2.provider.http.HttpFileProvider
super_class: org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider
{
public static final org.apache.commons.vfs2.UserAuthenticationData$Type[] AUTHENTICATOR_TYPES;
descriptor: [Lorg/apache/commons/vfs2/UserAuthenticationData$Type;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static final java.util.Collection<org.apache.commons.vfs2.Capability> capabilities;
descriptor: Ljava/util/Collection;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Collection<Lorg/apache/commons/vfs2/Capability;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_2
anewarray org.apache.commons.vfs2.UserAuthenticationData$Type
dup
iconst_0
1: getstatic org.apache.commons.vfs2.UserAuthenticationData.USERNAME:Lorg/apache/commons/vfs2/UserAuthenticationData$Type;
aastore
dup
iconst_1
getstatic org.apache.commons.vfs2.UserAuthenticationData.PASSWORD:Lorg/apache/commons/vfs2/UserAuthenticationData$Type;
aastore
2: putstatic org.apache.commons.vfs2.provider.http.HttpFileProvider.AUTHENTICATOR_TYPES:[Lorg/apache/commons/vfs2/UserAuthenticationData$Type;
3: bipush 7
anewarray org.apache.commons.vfs2.Capability
dup
iconst_0
getstatic org.apache.commons.vfs2.Capability.GET_TYPE:Lorg/apache/commons/vfs2/Capability;
aastore
dup
iconst_1
getstatic org.apache.commons.vfs2.Capability.READ_CONTENT:Lorg/apache/commons/vfs2/Capability;
aastore
dup
iconst_2
4: getstatic org.apache.commons.vfs2.Capability.URI:Lorg/apache/commons/vfs2/Capability;
aastore
dup
iconst_3
getstatic org.apache.commons.vfs2.Capability.GET_LAST_MODIFIED:Lorg/apache/commons/vfs2/Capability;
aastore
dup
iconst_4
getstatic org.apache.commons.vfs2.Capability.ATTRIBUTES:Lorg/apache/commons/vfs2/Capability;
aastore
dup
iconst_5
getstatic org.apache.commons.vfs2.Capability.RANDOM_ACCESS_READ:Lorg/apache/commons/vfs2/Capability;
aastore
dup
bipush 6
5: getstatic org.apache.commons.vfs2.Capability.DIRECTORY_READ_CONTENT:Lorg/apache/commons/vfs2/Capability;
aastore
6: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic java.util.Collections.unmodifiableCollection:(Ljava/util/Collection;)Ljava/util/Collection;
7: putstatic org.apache.commons.vfs2.provider.http.HttpFileProvider.capabilities:Ljava/util/Collection;
8: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.<init>:()V
1: aload 0
invokestatic org.apache.commons.vfs2.provider.http.HttpFileNameParser.getInstance:()Lorg/apache/commons/vfs2/provider/FileNameParser;
invokevirtual org.apache.commons.vfs2.provider.http.HttpFileProvider.setFileNameParser:(Lorg/apache/commons/vfs2/provider/FileNameParser;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/vfs2/provider/http/HttpFileProvider;
protected org.apache.commons.vfs2.FileSystem doCreateFileSystem(org.apache.commons.vfs2.FileName, org.apache.commons.vfs2.FileSystemOptions);
descriptor: (Lorg/apache/commons/vfs2/FileName;Lorg/apache/commons/vfs2/FileSystemOptions;)Lorg/apache/commons/vfs2/FileSystem;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 1
checkcast org.apache.commons.vfs2.provider.GenericFileName
astore 3
start local 3 1: aconst_null
astore 4
start local 4 2: aload 2
getstatic org.apache.commons.vfs2.provider.http.HttpFileProvider.AUTHENTICATOR_TYPES:[Lorg/apache/commons/vfs2/UserAuthenticationData$Type;
invokestatic org.apache.commons.vfs2.util.UserAuthenticatorUtils.authenticate:(Lorg/apache/commons/vfs2/FileSystemOptions;[Lorg/apache/commons/vfs2/UserAuthenticationData$Type;)Lorg/apache/commons/vfs2/UserAuthenticationData;
astore 4
3: aload 3
invokevirtual org.apache.commons.vfs2.provider.GenericFileName.getScheme:()Ljava/lang/String;
astore 6
start local 6 4: aload 6
aload 6
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
istore 7
start local 7 5: iload 7
bipush 115
if_icmpeq 6
iload 7
bipush 83
if_icmpne 7
StackMap locals: org.apache.commons.vfs2.provider.http.HttpFileProvider org.apache.commons.vfs2.FileName org.apache.commons.vfs2.FileSystemOptions org.apache.commons.vfs2.provider.GenericFileName org.apache.commons.vfs2.UserAuthenticationData top java.lang.String int
StackMap stack:
6: ldc "https"
goto 8
StackMap locals:
StackMap stack:
7: ldc "http"
StackMap locals:
StackMap stack: java.lang.String
8: astore 8
start local 8 9: aload 8
aload 3
invokevirtual org.apache.commons.vfs2.provider.GenericFileName.getHostName:()Ljava/lang/String;
10: aload 3
invokevirtual org.apache.commons.vfs2.provider.GenericFileName.getPort:()I
11: aload 4
12: getstatic org.apache.commons.vfs2.UserAuthenticationData.USERNAME:Lorg/apache/commons/vfs2/UserAuthenticationData$Type;
aload 3
invokevirtual org.apache.commons.vfs2.provider.GenericFileName.getUserName:()Ljava/lang/String;
invokestatic org.apache.commons.vfs2.util.UserAuthenticatorUtils.toChar:(Ljava/lang/String;)[C
13: invokestatic org.apache.commons.vfs2.util.UserAuthenticatorUtils.getData:(Lorg/apache/commons/vfs2/UserAuthenticationData;Lorg/apache/commons/vfs2/UserAuthenticationData$Type;[C)[C
invokestatic org.apache.commons.vfs2.util.UserAuthenticatorUtils.toString:([C)Ljava/lang/String;
14: aload 4
15: getstatic org.apache.commons.vfs2.UserAuthenticationData.PASSWORD:Lorg/apache/commons/vfs2/UserAuthenticationData$Type;
aload 3
invokevirtual org.apache.commons.vfs2.provider.GenericFileName.getPassword:()Ljava/lang/String;
invokestatic org.apache.commons.vfs2.util.UserAuthenticatorUtils.toChar:(Ljava/lang/String;)[C
16: invokestatic org.apache.commons.vfs2.util.UserAuthenticatorUtils.getData:(Lorg/apache/commons/vfs2/UserAuthenticationData;Lorg/apache/commons/vfs2/UserAuthenticationData$Type;[C)[C
invokestatic org.apache.commons.vfs2.util.UserAuthenticatorUtils.toString:([C)Ljava/lang/String;
17: aload 2
18: invokestatic org.apache.commons.vfs2.provider.http.HttpClientFactory.createConnection:(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Lorg/apache/commons/vfs2/FileSystemOptions;)Lorg/apache/commons/httpclient/HttpClient;
astore 5
end local 8 end local 7 end local 6 start local 5 19: goto 23
end local 5 StackMap locals: org.apache.commons.vfs2.provider.http.HttpFileProvider org.apache.commons.vfs2.FileName org.apache.commons.vfs2.FileSystemOptions org.apache.commons.vfs2.provider.GenericFileName org.apache.commons.vfs2.UserAuthenticationData
StackMap stack: java.lang.Throwable
20: astore 9
21: aload 4
invokestatic org.apache.commons.vfs2.util.UserAuthenticatorUtils.cleanup:(Lorg/apache/commons/vfs2/UserAuthenticationData;)V
22: aload 9
athrow
start local 5 23: StackMap locals: org.apache.commons.httpclient.HttpClient
StackMap stack:
aload 4
invokestatic org.apache.commons.vfs2.util.UserAuthenticatorUtils.cleanup:(Lorg/apache/commons/vfs2/UserAuthenticationData;)V
24: new org.apache.commons.vfs2.provider.http.HttpFileSystem
dup
aload 3
aload 5
aload 2
invokespecial org.apache.commons.vfs2.provider.http.HttpFileSystem.<init>:(Lorg/apache/commons/vfs2/provider/GenericFileName;Lorg/apache/commons/httpclient/HttpClient;Lorg/apache/commons/vfs2/FileSystemOptions;)V
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/apache/commons/vfs2/provider/http/HttpFileProvider;
0 25 1 name Lorg/apache/commons/vfs2/FileName;
0 25 2 fileSystemOptions Lorg/apache/commons/vfs2/FileSystemOptions;
1 25 3 rootName Lorg/apache/commons/vfs2/provider/GenericFileName;
2 25 4 authData Lorg/apache/commons/vfs2/UserAuthenticationData;
19 20 5 httpClient Lorg/apache/commons/httpclient/HttpClient;
23 25 5 httpClient Lorg/apache/commons/httpclient/HttpClient;
4 19 6 fileScheme Ljava/lang/String;
5 19 7 lastChar C
9 19 8 internalScheme Ljava/lang/String;
Exception table:
from to target type
2 20 20 any
Exceptions:
throws org.apache.commons.vfs2.FileSystemException
MethodParameters:
Name Flags
name final
fileSystemOptions final
public org.apache.commons.vfs2.FileSystemConfigBuilder getConfigBuilder();
descriptor: ()Lorg/apache/commons/vfs2/FileSystemConfigBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic org.apache.commons.vfs2.provider.http.HttpFileSystemConfigBuilder.getInstance:()Lorg/apache/commons/vfs2/provider/http/HttpFileSystemConfigBuilder;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/vfs2/provider/http/HttpFileProvider;
public java.util.Collection<org.apache.commons.vfs2.Capability> getCapabilities();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.apache.commons.vfs2.provider.http.HttpFileProvider.capabilities:Ljava/util/Collection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/vfs2/provider/http/HttpFileProvider;
Signature: ()Ljava/util/Collection<Lorg/apache/commons/vfs2/Capability;>;
}
SourceFile: "HttpFileProvider.java"
InnerClasses:
public Type = org.apache.commons.vfs2.UserAuthenticationData$Type of org.apache.commons.vfs2.UserAuthenticationData