public class com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverDirectHTTP extends com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverDirectHTTP
super_class: com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi
{
private static java.util.logging.Logger log;
descriptor: Ljava/util/logging/Logger;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final java.lang.String[] properties;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int HttpProxyHost;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int HttpProxyPort;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int HttpProxyUser;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int HttpProxyPass;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final int HttpBasicUser;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final int HttpBasicPass;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: ldc Lcom/sun/org/apache/xml/internal/security/utils/resolver/implementations/ResolverDirectHTTP;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
1: putstatic com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverDirectHTTP.log:Ljava/util/logging/Logger;
2: bipush 6
anewarray java.lang.String
dup
iconst_0
3: ldc "http.proxy.host"
aastore
dup
iconst_1
ldc "http.proxy.port"
aastore
dup
iconst_2
4: ldc "http.proxy.username"
aastore
dup
iconst_3
ldc "http.proxy.password"
aastore
dup
iconst_4
5: ldc "http.basic.username"
aastore
dup
iconst_5
ldc "http.basic.password"
aastore
6: putstatic com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverDirectHTTP.properties:[Ljava/lang/String;
7: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/utils/resolver/implementations/ResolverDirectHTTP;
public boolean engineIsThreadSafe();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/utils/resolver/implementations/ResolverDirectHTTP;
public com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput engineResolveURI(com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext);
descriptor: (Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverContext;)Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tAttr cannot be resolved to a type\n\tAttr cannot be resolved to a type\n\tAttr cannot be resolved to a type\n\tAttr cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/utils/resolver/implementations/ResolverDirectHTTP;
Exceptions:
throws com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverException
MethodParameters:
Name Flags
context
private java.net.URLConnection openConnection(java.net.URL);
descriptor: (Ljava/net/URL;)Ljava/net/URLConnection;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=10, args_size=2
start local 0 start local 1 0: aload 0
getstatic com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverDirectHTTP.properties:[Ljava/lang/String;
iconst_0
aaload
invokevirtual com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverDirectHTTP.engineGetProperty:(Ljava/lang/String;)Ljava/lang/String;
1: astore 2
start local 2 2: aload 0
getstatic com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverDirectHTTP.properties:[Ljava/lang/String;
iconst_1
aaload
invokevirtual com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverDirectHTTP.engineGetProperty:(Ljava/lang/String;)Ljava/lang/String;
3: astore 3
start local 3 4: aload 0
getstatic com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverDirectHTTP.properties:[Ljava/lang/String;
iconst_2
aaload
invokevirtual com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverDirectHTTP.engineGetProperty:(Ljava/lang/String;)Ljava/lang/String;
5: astore 4
start local 4 6: aload 0
getstatic com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverDirectHTTP.properties:[Ljava/lang/String;
iconst_3
aaload
invokevirtual com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverDirectHTTP.engineGetProperty:(Ljava/lang/String;)Ljava/lang/String;
7: astore 5
start local 5 8: aconst_null
astore 6
start local 6 9: aload 2
ifnull 12
aload 3
ifnull 12
10: aload 3
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 7
start local 7 11: new java.net.Proxy
dup
getstatic java.net.Proxy$Type.HTTP:Ljava/net/Proxy$Type;
new java.net.InetSocketAddress
dup
aload 2
iload 7
invokespecial java.net.InetSocketAddress.<init>:(Ljava/lang/String;I)V
invokespecial java.net.Proxy.<init>:(Ljava/net/Proxy$Type;Ljava/net/SocketAddress;)V
astore 6
end local 7 12: StackMap locals: com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverDirectHTTP java.net.URL java.lang.String java.lang.String java.lang.String java.lang.String java.net.Proxy
StackMap stack:
aload 6
ifnull 19
13: aload 1
aload 6
invokevirtual java.net.URL.openConnection:(Ljava/net/Proxy;)Ljava/net/URLConnection;
astore 7
start local 7 14: aload 4
ifnull 20
aload 5
ifnull 20
15: new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 8
start local 8 16: new java.lang.StringBuilder
dup
ldc "Basic "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
ldc "ISO-8859-1"
invokevirtual java.lang.String.getBytes:(Ljava/lang/String;)[B
invokestatic com.sun.org.apache.xml.internal.security.utils.Base64.encode:([B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 9
start local 9 17: aload 7
ldc "Proxy-Authorization"
aload 9
invokevirtual java.net.URLConnection.setRequestProperty:(Ljava/lang/String;Ljava/lang/String;)V
end local 9 end local 8 18: goto 20
end local 7 19: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
astore 7
start local 7 20: StackMap locals: java.net.URLConnection
StackMap stack:
aload 7
areturn
end local 7 end local 6 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 21 0 this Lcom/sun/org/apache/xml/internal/security/utils/resolver/implementations/ResolverDirectHTTP;
0 21 1 url Ljava/net/URL;
2 21 2 proxyHostProp Ljava/lang/String;
4 21 3 proxyPortProp Ljava/lang/String;
6 21 4 proxyUser Ljava/lang/String;
8 21 5 proxyPass Ljava/lang/String;
9 21 6 proxy Ljava/net/Proxy;
11 12 7 port I
14 19 7 urlConnection Ljava/net/URLConnection;
20 21 7 urlConnection Ljava/net/URLConnection;
16 18 8 password Ljava/lang/String;
17 18 9 authString Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
public boolean engineCanResolveURI(com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext);
descriptor: (Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverContext;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext.uriToResolve:Ljava/lang/String;
ifnonnull 4
1: getstatic com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverDirectHTTP.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 3
2: getstatic com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverDirectHTTP.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "quick fail, uri == null"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext.uriToResolve:Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
aload 1
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext.uriToResolve:Ljava/lang/String;
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 35
if_icmpne 8
5: StackMap locals:
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverDirectHTTP.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 7
6: getstatic com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverDirectHTTP.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "quick fail for empty URIs and local ones"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
8: StackMap locals:
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverDirectHTTP.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 10
9: getstatic com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverDirectHTTP.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "I was asked whether I can resolve "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext.uriToResolve:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
aload 1
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext.uriToResolve:Ljava/lang/String;
ldc "http:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 12
11: aload 1
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext.baseUri:Ljava/lang/String;
ifnull 15
aload 1
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext.baseUri:Ljava/lang/String;
ldc "http:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 15
12: StackMap locals:
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverDirectHTTP.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 14
13: getstatic com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverDirectHTTP.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "I state that I can resolve "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext.uriToResolve:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
14: StackMap locals:
StackMap stack:
iconst_1
ireturn
15: StackMap locals:
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverDirectHTTP.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 17
16: getstatic com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverDirectHTTP.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "I state that I can't resolve "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext.uriToResolve:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
17: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/org/apache/xml/internal/security/utils/resolver/implementations/ResolverDirectHTTP;
0 18 1 context Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverContext;
MethodParameters:
Name Flags
context
public java.lang.String[] engineGetPropertyKeys();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverDirectHTTP.properties:[Ljava/lang/String;
invokevirtual java.lang.String[].clone:()Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/utils/resolver/implementations/ResolverDirectHTTP;
private static java.net.URI getNewURI(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/net/URI;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
ifnull 2
ldc ""
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
2: StackMap locals: java.net.URI
StackMap stack:
new java.net.URI
dup
aload 0
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
astore 2
3: goto 5
4: StackMap locals:
StackMap stack:
new java.net.URI
dup
aload 1
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.net.URI.resolve:(Ljava/lang/String;)Ljava/net/URI;
astore 2
5: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.net.URI.getFragment:()Ljava/lang/String;
ifnull 9
6: new java.net.URI
dup
aload 2
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
aload 2
invokevirtual java.net.URI.getSchemeSpecificPart:()Ljava/lang/String;
aconst_null
invokespecial java.net.URI.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
7: astore 3
start local 3 8: aload 3
areturn
end local 3 9: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 uri Ljava/lang/String;
0 10 1 baseURI Ljava/lang/String;
1 10 2 newUri Ljava/net/URI;
8 9 3 uriNewNoFrag Ljava/net/URI;
Exceptions:
throws java.net.URISyntaxException
MethodParameters:
Name Flags
uri
baseURI
}
SourceFile: "ResolverDirectHTTP.java"
InnerClasses:
public final Type = java.net.Proxy$Type of java.net.Proxy