public class org.springframework.remoting.caucho.HessianServiceExporter extends org.springframework.remoting.caucho.HessianExporter implements org.springframework.web.HttpRequestHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.remoting.caucho.HessianServiceExporter
super_class: org.springframework.remoting.caucho.HessianExporter
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.springframework.remoting.caucho.HessianServiceExporter this
0: .line 47
aload 0 /* this */
invokespecial org.springframework.remoting.caucho.HessianExporter.<init>:()V
return
end local 0 // org.springframework.remoting.caucho.HessianServiceExporter this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/remoting/caucho/HessianServiceExporter;
public void handleRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse);
descriptor: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 // org.springframework.remoting.caucho.HessianServiceExporter this
start local 1 // javax.servlet.http.HttpServletRequest request
start local 2 // javax.servlet.http.HttpServletResponse response
0: .line 56
ldc "POST"
aload 1 /* request */
invokeinterface javax.servlet.http.HttpServletRequest.getMethod:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
1: .line 57
new org.springframework.web.HttpRequestMethodNotSupportedException
dup
aload 1 /* request */
invokeinterface javax.servlet.http.HttpServletRequest.getMethod:()Ljava/lang/String;
2: .line 58
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "POST"
aastore
ldc "HessianServiceExporter only supports POST requests"
3: .line 57
invokespecial org.springframework.web.HttpRequestMethodNotSupportedException.<init>:(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
athrow
4: .line 61
StackMap locals:
StackMap stack:
aload 2 /* response */
ldc "application/x-hessian"
invokeinterface javax.servlet.http.HttpServletResponse.setContentType:(Ljava/lang/String;)V
5: .line 63
aload 0 /* this */
aload 1 /* request */
invokeinterface javax.servlet.http.HttpServletRequest.getInputStream:()Ljavax/servlet/ServletInputStream;
aload 2 /* response */
invokeinterface javax.servlet.http.HttpServletResponse.getOutputStream:()Ljavax/servlet/ServletOutputStream;
invokevirtual org.springframework.remoting.caucho.HessianServiceExporter.invoke:(Ljava/io/InputStream;Ljava/io/OutputStream;)V
6: .line 64
goto 9
7: .line 65
StackMap locals:
StackMap stack: java.lang.Throwable
astore 3 /* ex */
start local 3 // java.lang.Throwable ex
8: .line 66
new org.springframework.web.util.NestedServletException
dup
ldc "Hessian skeleton invocation failed"
aload 3 /* ex */
invokespecial org.springframework.web.util.NestedServletException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 // java.lang.Throwable ex
9: .line 68
StackMap locals:
StackMap stack:
return
end local 2 // javax.servlet.http.HttpServletResponse response
end local 1 // javax.servlet.http.HttpServletRequest request
end local 0 // org.springframework.remoting.caucho.HessianServiceExporter this
LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/springframework/remoting/caucho/HessianServiceExporter;
0 10 1 request Ljavax/servlet/http/HttpServletRequest;
0 10 2 response Ljavax/servlet/http/HttpServletResponse;
8 9 3 ex Ljava/lang/Throwable;
Exception table:
from to target type
5 6 7 Class java.lang.Throwable
Exceptions:
throws javax.servlet.ServletException, java.io.IOException
MethodParameters:
Name Flags
request
response
}
SourceFile: "HessianServiceExporter.java"