public abstract class org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor implements org.springframework.remoting.httpinvoker.HttpInvokerRequestExecutor, org.springframework.beans.factory.BeanClassLoaderAware
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor
super_class: java.lang.Object
{
public static final java.lang.String CONTENT_TYPE_SERIALIZED_OBJECT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "application/x-java-serialized-object"
private static final int SERIALIZED_INVOCATION_BYTE_ARRAY_INITIAL_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1024
protected static final java.lang.String HTTP_METHOD_POST;
descriptor: Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: "POST"
protected static final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: "Accept-Language"
protected static final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: "Accept-Encoding"
protected static final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: "Content-Encoding"
protected static final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: "Content-Type"
protected static final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: "Content-Length"
protected static final java.lang.String ENCODING_GZIP;
descriptor: Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: "gzip"
protected final org.apache.commons.logging.Log logger;
descriptor: Lorg/apache/commons/logging/Log;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private java.lang.String contentType;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean acceptGzipEncoding;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.ClassLoader beanClassLoader;
descriptor: Ljava/lang/ClassLoader;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
putfield org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.logger:Lorg/apache/commons/logging/Log;
2: aload 0
ldc "application/x-java-serialized-object"
putfield org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.contentType:Ljava/lang/String;
3: aload 0
iconst_1
putfield org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.acceptGzipEncoding:Z
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/remoting/httpinvoker/AbstractHttpInvokerRequestExecutor;
public void setContentType(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "'contentType' must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
aload 1
putfield org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.contentType:Ljava/lang/String;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/remoting/httpinvoker/AbstractHttpInvokerRequestExecutor;
0 3 1 contentType Ljava/lang/String;
MethodParameters:
Name Flags
contentType
public java.lang.String getContentType();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.contentType:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/remoting/httpinvoker/AbstractHttpInvokerRequestExecutor;
public void setAcceptGzipEncoding(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.acceptGzipEncoding:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/remoting/httpinvoker/AbstractHttpInvokerRequestExecutor;
0 2 1 acceptGzipEncoding Z
MethodParameters:
Name Flags
acceptGzipEncoding
public boolean isAcceptGzipEncoding();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.acceptGzipEncoding:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/remoting/httpinvoker/AbstractHttpInvokerRequestExecutor;
public void setBeanClassLoader(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.beanClassLoader:Ljava/lang/ClassLoader;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/remoting/httpinvoker/AbstractHttpInvokerRequestExecutor;
0 2 1 classLoader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
classLoader
protected java.lang.ClassLoader getBeanClassLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.beanClassLoader:Ljava/lang/ClassLoader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/remoting/httpinvoker/AbstractHttpInvokerRequestExecutor;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public final org.springframework.remoting.support.RemoteInvocationResult executeRequest(org.springframework.remoting.httpinvoker.HttpInvokerClientConfiguration, org.springframework.remoting.support.RemoteInvocation);
descriptor: (Lorg/springframework/remoting/httpinvoker/HttpInvokerClientConfiguration;Lorg/springframework/remoting/support/RemoteInvocation;)Lorg/springframework/remoting/support/RemoteInvocationResult;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.getByteArrayOutputStream:(Lorg/springframework/remoting/support/RemoteInvocation;)Ljava/io/ByteArrayOutputStream;
astore 3
start local 3 1: aload 0
getfield org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isDebugEnabled:()Z
ifeq 5
2: aload 0
getfield org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Sending HTTP invoker request for service at ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface org.springframework.remoting.httpinvoker.HttpInvokerClientConfiguration.getServiceUrl:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: ldc "], with size "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.io.ByteArrayOutputStream.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
5: StackMap locals: java.io.ByteArrayOutputStream
StackMap stack:
aload 0
aload 1
aload 3
invokevirtual org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.doExecuteRequest:(Lorg/springframework/remoting/httpinvoker/HttpInvokerClientConfiguration;Ljava/io/ByteArrayOutputStream;)Lorg/springframework/remoting/support/RemoteInvocationResult;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/remoting/httpinvoker/AbstractHttpInvokerRequestExecutor;
0 6 1 config Lorg/springframework/remoting/httpinvoker/HttpInvokerClientConfiguration;
0 6 2 invocation Lorg/springframework/remoting/support/RemoteInvocation;
1 6 3 baos Ljava/io/ByteArrayOutputStream;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
config
invocation
protected java.io.ByteArrayOutputStream getByteArrayOutputStream(org.springframework.remoting.support.RemoteInvocation);
descriptor: (Lorg/springframework/remoting/support/RemoteInvocation;)Ljava/io/ByteArrayOutputStream;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new java.io.ByteArrayOutputStream
dup
sipush 1024
invokespecial java.io.ByteArrayOutputStream.<init>:(I)V
astore 2
start local 2 1: aload 0
aload 1
aload 2
invokevirtual org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.writeRemoteInvocation:(Lorg/springframework/remoting/support/RemoteInvocation;Ljava/io/OutputStream;)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/remoting/httpinvoker/AbstractHttpInvokerRequestExecutor;
0 3 1 invocation Lorg/springframework/remoting/support/RemoteInvocation;
1 3 2 baos Ljava/io/ByteArrayOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
invocation
protected void writeRemoteInvocation(org.springframework.remoting.support.RemoteInvocation, java.io.OutputStream);
descriptor: (Lorg/springframework/remoting/support/RemoteInvocation;Ljava/io/OutputStream;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: new java.io.ObjectOutputStream
dup
aload 0
aload 2
invokevirtual org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.decorateOutputStream:(Ljava/io/OutputStream;)Ljava/io/OutputStream;
invokespecial java.io.ObjectOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 3
start local 3 1: aload 0
aload 1
aload 3
invokevirtual org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.doWriteRemoteInvocation:(Lorg/springframework/remoting/support/RemoteInvocation;Ljava/io/ObjectOutputStream;)V
2: goto 6
3: StackMap locals: org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor org.springframework.remoting.support.RemoteInvocation java.io.OutputStream java.io.ObjectOutputStream
StackMap stack: java.lang.Throwable
astore 4
4: aload 3
invokevirtual java.io.ObjectOutputStream.close:()V
5: aload 4
athrow
6: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.io.ObjectOutputStream.close:()V
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/remoting/httpinvoker/AbstractHttpInvokerRequestExecutor;
0 8 1 invocation Lorg/springframework/remoting/support/RemoteInvocation;
0 8 2 os Ljava/io/OutputStream;
1 8 3 oos Ljava/io/ObjectOutputStream;
Exception table:
from to target type
1 3 3 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
invocation
os
protected java.io.OutputStream decorateOutputStream(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)Ljava/io/OutputStream;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/remoting/httpinvoker/AbstractHttpInvokerRequestExecutor;
0 1 1 os Ljava/io/OutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
os
protected void doWriteRemoteInvocation(org.springframework.remoting.support.RemoteInvocation, java.io.ObjectOutputStream);
descriptor: (Lorg/springframework/remoting/support/RemoteInvocation;Ljava/io/ObjectOutputStream;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/remoting/httpinvoker/AbstractHttpInvokerRequestExecutor;
0 2 1 invocation Lorg/springframework/remoting/support/RemoteInvocation;
0 2 2 oos Ljava/io/ObjectOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
invocation
oos
protected abstract org.springframework.remoting.support.RemoteInvocationResult doExecuteRequest(org.springframework.remoting.httpinvoker.HttpInvokerClientConfiguration, java.io.ByteArrayOutputStream);
descriptor: (Lorg/springframework/remoting/httpinvoker/HttpInvokerClientConfiguration;Ljava/io/ByteArrayOutputStream;)Lorg/springframework/remoting/support/RemoteInvocationResult;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
config
baos
protected org.springframework.remoting.support.RemoteInvocationResult readRemoteInvocationResult(java.io.InputStream, java.lang.String);
descriptor: (Ljava/io/InputStream;Ljava/lang/String;)Lorg/springframework/remoting/support/RemoteInvocationResult;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
aload 1
invokevirtual org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.decorateInputStream:(Ljava/io/InputStream;)Ljava/io/InputStream;
aload 2
invokevirtual org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.createObjectInputStream:(Ljava/io/InputStream;Ljava/lang/String;)Ljava/io/ObjectInputStream;
astore 3
start local 3 1: aload 0
aload 3
invokevirtual org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.doReadRemoteInvocationResult:(Ljava/io/ObjectInputStream;)Lorg/springframework/remoting/support/RemoteInvocationResult;
astore 5
2: aload 3
invokevirtual java.io.ObjectInputStream.close:()V
3: aload 5
areturn
4: StackMap locals: org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor java.io.InputStream java.lang.String java.io.ObjectInputStream
StackMap stack: java.lang.Throwable
astore 4
5: aload 3
invokevirtual java.io.ObjectInputStream.close:()V
6: aload 4
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/remoting/httpinvoker/AbstractHttpInvokerRequestExecutor;
0 7 1 is Ljava/io/InputStream;
0 7 2 codebaseUrl Ljava/lang/String;
1 7 3 ois Ljava/io/ObjectInputStream;
Exception table:
from to target type
1 2 4 any
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
is
codebaseUrl
protected java.io.InputStream decorateInputStream(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)Ljava/io/InputStream;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/remoting/httpinvoker/AbstractHttpInvokerRequestExecutor;
0 1 1 is Ljava/io/InputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
is
protected java.io.ObjectInputStream createObjectInputStream(java.io.InputStream, java.lang.String);
descriptor: (Ljava/io/InputStream;Ljava/lang/String;)Ljava/io/ObjectInputStream;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.springframework.remoting.rmi.CodebaseAwareObjectInputStream
dup
aload 1
aload 0
invokevirtual org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.getBeanClassLoader:()Ljava/lang/ClassLoader;
aload 2
invokespecial org.springframework.remoting.rmi.CodebaseAwareObjectInputStream.<init>:(Ljava/io/InputStream;Ljava/lang/ClassLoader;Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/remoting/httpinvoker/AbstractHttpInvokerRequestExecutor;
0 1 1 is Ljava/io/InputStream;
0 1 2 codebaseUrl Ljava/lang/String;
Exceptions:
throws java.io.IOException
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
is
codebaseUrl
protected org.springframework.remoting.support.RemoteInvocationResult doReadRemoteInvocationResult(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)Lorg/springframework/remoting/support/RemoteInvocationResult;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
astore 2
start local 2 1: aload 2
instanceof org.springframework.remoting.support.RemoteInvocationResult
ifne 5
2: new java.rmi.RemoteException
dup
new java.lang.StringBuilder
dup
ldc "Deserialized object needs to be assignable to type ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: ldc Lorg/springframework/remoting/support/RemoteInvocationResult;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokestatic org.springframework.util.ClassUtils.getDescriptiveType:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.rmi.RemoteException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: java.lang.Object
StackMap stack:
aload 2
checkcast org.springframework.remoting.support.RemoteInvocationResult
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/remoting/httpinvoker/AbstractHttpInvokerRequestExecutor;
0 6 1 ois Ljava/io/ObjectInputStream;
1 6 2 obj Ljava/lang/Object;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
ois
}
SourceFile: "AbstractHttpInvokerRequestExecutor.java"