public class org.springframework.remoting.httpinvoker.SimpleHttpInvokerServiceExporter extends org.springframework.remoting.rmi.RemoteInvocationSerializingExporter implements com.sun.net.httpserver.HttpHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.remoting.httpinvoker.SimpleHttpInvokerServiceExporter
super_class: org.springframework.remoting.rmi.RemoteInvocationSerializingExporter
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.remoting.rmi.RemoteInvocationSerializingExporter.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/remoting/httpinvoker/SimpleHttpInvokerServiceExporter;
public void handle(com.sun.net.httpserver.HttpExchange);
descriptor: (Lcom/sun/net/httpserver/HttpExchange;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.springframework.remoting.httpinvoker.SimpleHttpInvokerServiceExporter.readRemoteInvocation:(Lcom/sun/net/httpserver/HttpExchange;)Lorg/springframework/remoting/support/RemoteInvocation;
astore 2
start local 2 1: aload 0
aload 2
aload 0
invokevirtual org.springframework.remoting.httpinvoker.SimpleHttpInvokerServiceExporter.getProxy:()Ljava/lang/Object;
invokevirtual org.springframework.remoting.httpinvoker.SimpleHttpInvokerServiceExporter.invokeAndCreateResult:(Lorg/springframework/remoting/support/RemoteInvocation;Ljava/lang/Object;)Lorg/springframework/remoting/support/RemoteInvocationResult;
astore 3
start local 3 2: aload 0
aload 1
aload 3
invokevirtual org.springframework.remoting.httpinvoker.SimpleHttpInvokerServiceExporter.writeRemoteInvocationResult:(Lcom/sun/net/httpserver/HttpExchange;Lorg/springframework/remoting/support/RemoteInvocationResult;)V
3: aload 1
invokevirtual com.sun.net.httpserver.HttpExchange.close:()V
end local 3 end local 2 4: goto 8
5: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
astore 2
start local 2 6: aload 1
sipush 500
ldc -1
invokevirtual com.sun.net.httpserver.HttpExchange.sendResponseHeaders:(IJ)V
7: aload 0
getfield org.springframework.remoting.httpinvoker.SimpleHttpInvokerServiceExporter.logger:Lorg/apache/commons/logging/Log;
ldc "Class not found during deserialization"
aload 2
invokeinterface org.apache.commons.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 2 8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/remoting/httpinvoker/SimpleHttpInvokerServiceExporter;
0 9 1 exchange Lcom/sun/net/httpserver/HttpExchange;
1 4 2 invocation Lorg/springframework/remoting/support/RemoteInvocation;
2 4 3 result Lorg/springframework/remoting/support/RemoteInvocationResult;
6 8 2 ex Ljava/lang/ClassNotFoundException;
Exception table:
from to target type
0 4 5 Class java.lang.ClassNotFoundException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
exchange
protected org.springframework.remoting.support.RemoteInvocation readRemoteInvocation(com.sun.net.httpserver.HttpExchange);
descriptor: (Lcom/sun/net/httpserver/HttpExchange;)Lorg/springframework/remoting/support/RemoteInvocation;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 1
invokevirtual com.sun.net.httpserver.HttpExchange.getRequestBody:()Ljava/io/InputStream;
invokevirtual org.springframework.remoting.httpinvoker.SimpleHttpInvokerServiceExporter.readRemoteInvocation:(Lcom/sun/net/httpserver/HttpExchange;Ljava/io/InputStream;)Lorg/springframework/remoting/support/RemoteInvocation;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/remoting/httpinvoker/SimpleHttpInvokerServiceExporter;
0 1 1 exchange Lcom/sun/net/httpserver/HttpExchange;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
exchange
protected org.springframework.remoting.support.RemoteInvocation readRemoteInvocation(com.sun.net.httpserver.HttpExchange, java.io.InputStream);
descriptor: (Lcom/sun/net/httpserver/HttpExchange;Ljava/io/InputStream;)Lorg/springframework/remoting/support/RemoteInvocation;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
aload 1
aload 2
invokevirtual org.springframework.remoting.httpinvoker.SimpleHttpInvokerServiceExporter.decorateInputStream:(Lcom/sun/net/httpserver/HttpExchange;Ljava/io/InputStream;)Ljava/io/InputStream;
invokevirtual org.springframework.remoting.httpinvoker.SimpleHttpInvokerServiceExporter.createObjectInputStream:(Ljava/io/InputStream;)Ljava/io/ObjectInputStream;
astore 3
start local 3 1: aload 0
aload 3
invokevirtual org.springframework.remoting.httpinvoker.SimpleHttpInvokerServiceExporter.doReadRemoteInvocation:(Ljava/io/ObjectInputStream;)Lorg/springframework/remoting/support/RemoteInvocation;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/remoting/httpinvoker/SimpleHttpInvokerServiceExporter;
0 2 1 exchange Lcom/sun/net/httpserver/HttpExchange;
0 2 2 is Ljava/io/InputStream;
1 2 3 ois Ljava/io/ObjectInputStream;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
exchange
is
protected java.io.InputStream decorateInputStream(com.sun.net.httpserver.HttpExchange, java.io.InputStream);
descriptor: (Lcom/sun/net/httpserver/HttpExchange;Ljava/io/InputStream;)Ljava/io/InputStream;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/remoting/httpinvoker/SimpleHttpInvokerServiceExporter;
0 1 1 exchange Lcom/sun/net/httpserver/HttpExchange;
0 1 2 is Ljava/io/InputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
exchange
is
protected void writeRemoteInvocationResult(com.sun.net.httpserver.HttpExchange, org.springframework.remoting.support.RemoteInvocationResult);
descriptor: (Lcom/sun/net/httpserver/HttpExchange;Lorg/springframework/remoting/support/RemoteInvocationResult;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual com.sun.net.httpserver.HttpExchange.getResponseHeaders:()Lcom/sun/net/httpserver/Headers;
ldc "Content-Type"
aload 0
invokevirtual org.springframework.remoting.httpinvoker.SimpleHttpInvokerServiceExporter.getContentType:()Ljava/lang/String;
invokevirtual com.sun.net.httpserver.Headers.set:(Ljava/lang/String;Ljava/lang/String;)V
1: aload 1
sipush 200
lconst_0
invokevirtual com.sun.net.httpserver.HttpExchange.sendResponseHeaders:(IJ)V
2: aload 0
aload 1
aload 2
aload 1
invokevirtual com.sun.net.httpserver.HttpExchange.getResponseBody:()Ljava/io/OutputStream;
invokevirtual org.springframework.remoting.httpinvoker.SimpleHttpInvokerServiceExporter.writeRemoteInvocationResult:(Lcom/sun/net/httpserver/HttpExchange;Lorg/springframework/remoting/support/RemoteInvocationResult;Ljava/io/OutputStream;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/remoting/httpinvoker/SimpleHttpInvokerServiceExporter;
0 4 1 exchange Lcom/sun/net/httpserver/HttpExchange;
0 4 2 result Lorg/springframework/remoting/support/RemoteInvocationResult;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
exchange
result
protected void writeRemoteInvocationResult(com.sun.net.httpserver.HttpExchange, org.springframework.remoting.support.RemoteInvocationResult, java.io.OutputStream);
descriptor: (Lcom/sun/net/httpserver/HttpExchange;Lorg/springframework/remoting/support/RemoteInvocationResult;Ljava/io/OutputStream;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 0
aload 1
aload 3
invokevirtual org.springframework.remoting.httpinvoker.SimpleHttpInvokerServiceExporter.decorateOutputStream:(Lcom/sun/net/httpserver/HttpExchange;Ljava/io/OutputStream;)Ljava/io/OutputStream;
invokevirtual org.springframework.remoting.httpinvoker.SimpleHttpInvokerServiceExporter.createObjectOutputStream:(Ljava/io/OutputStream;)Ljava/io/ObjectOutputStream;
astore 4
start local 4 1: aload 0
aload 2
aload 4
invokevirtual org.springframework.remoting.httpinvoker.SimpleHttpInvokerServiceExporter.doWriteRemoteInvocationResult:(Lorg/springframework/remoting/support/RemoteInvocationResult;Ljava/io/ObjectOutputStream;)V
2: aload 4
invokevirtual java.io.ObjectOutputStream.flush:()V
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/remoting/httpinvoker/SimpleHttpInvokerServiceExporter;
0 4 1 exchange Lcom/sun/net/httpserver/HttpExchange;
0 4 2 result Lorg/springframework/remoting/support/RemoteInvocationResult;
0 4 3 os Ljava/io/OutputStream;
1 4 4 oos Ljava/io/ObjectOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
exchange
result
os
protected java.io.OutputStream decorateOutputStream(com.sun.net.httpserver.HttpExchange, java.io.OutputStream);
descriptor: (Lcom/sun/net/httpserver/HttpExchange;Ljava/io/OutputStream;)Ljava/io/OutputStream;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/remoting/httpinvoker/SimpleHttpInvokerServiceExporter;
0 1 1 exchange Lcom/sun/net/httpserver/HttpExchange;
0 1 2 os Ljava/io/OutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
exchange
os
}
SourceFile: "SimpleHttpInvokerServiceExporter.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated()
RuntimeInvisibleAnnotations:
org.springframework.lang.UsesSunHttpServer()