public class org.springframework.http.converter.xml.MarshallingHttpMessageConverter extends org.springframework.http.converter.xml.AbstractXmlHttpMessageConverter<java.lang.Object>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.http.converter.xml.MarshallingHttpMessageConverter
super_class: org.springframework.http.converter.xml.AbstractXmlHttpMessageConverter
{
private org.springframework.oxm.Marshaller marshaller;
descriptor: Lorg/springframework/oxm/Marshaller;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private org.springframework.oxm.Unmarshaller unmarshaller;
descriptor: Lorg/springframework/oxm/Unmarshaller;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
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.http.converter.xml.AbstractXmlHttpMessageConverter.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/converter/xml/MarshallingHttpMessageConverter;
public void <init>(org.springframework.oxm.Marshaller);
descriptor: (Lorg/springframework/oxm/Marshaller;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.springframework.http.converter.xml.AbstractXmlHttpMessageConverter.<init>:()V
1: aload 1
ldc "Marshaller must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
2: aload 0
aload 1
putfield org.springframework.http.converter.xml.MarshallingHttpMessageConverter.marshaller:Lorg/springframework/oxm/Marshaller;
3: aload 1
instanceof org.springframework.oxm.Unmarshaller
ifeq 5
4: aload 0
aload 1
checkcast org.springframework.oxm.Unmarshaller
putfield org.springframework.http.converter.xml.MarshallingHttpMessageConverter.unmarshaller:Lorg/springframework/oxm/Unmarshaller;
5: StackMap locals: org.springframework.http.converter.xml.MarshallingHttpMessageConverter org.springframework.oxm.Marshaller
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/http/converter/xml/MarshallingHttpMessageConverter;
0 6 1 marshaller Lorg/springframework/oxm/Marshaller;
MethodParameters:
Name Flags
marshaller
public void <init>(org.springframework.oxm.Marshaller, org.springframework.oxm.Unmarshaller);
descriptor: (Lorg/springframework/oxm/Marshaller;Lorg/springframework/oxm/Unmarshaller;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.springframework.http.converter.xml.AbstractXmlHttpMessageConverter.<init>:()V
1: aload 1
ldc "Marshaller must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
2: aload 2
ldc "Unmarshaller must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
3: aload 0
aload 1
putfield org.springframework.http.converter.xml.MarshallingHttpMessageConverter.marshaller:Lorg/springframework/oxm/Marshaller;
4: aload 0
aload 2
putfield org.springframework.http.converter.xml.MarshallingHttpMessageConverter.unmarshaller:Lorg/springframework/oxm/Unmarshaller;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/http/converter/xml/MarshallingHttpMessageConverter;
0 6 1 marshaller Lorg/springframework/oxm/Marshaller;
0 6 2 unmarshaller Lorg/springframework/oxm/Unmarshaller;
MethodParameters:
Name Flags
marshaller
unmarshaller
public void setMarshaller(org.springframework.oxm.Marshaller);
descriptor: (Lorg/springframework/oxm/Marshaller;)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.http.converter.xml.MarshallingHttpMessageConverter.marshaller:Lorg/springframework/oxm/Marshaller;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/converter/xml/MarshallingHttpMessageConverter;
0 2 1 marshaller Lorg/springframework/oxm/Marshaller;
MethodParameters:
Name Flags
marshaller
public void setUnmarshaller(org.springframework.oxm.Unmarshaller);
descriptor: (Lorg/springframework/oxm/Unmarshaller;)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.http.converter.xml.MarshallingHttpMessageConverter.unmarshaller:Lorg/springframework/oxm/Unmarshaller;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/converter/xml/MarshallingHttpMessageConverter;
0 2 1 unmarshaller Lorg/springframework/oxm/Unmarshaller;
MethodParameters:
Name Flags
unmarshaller
public boolean canRead(java.lang.Class<?>, org.springframework.http.MediaType);
descriptor: (Ljava/lang/Class;Lorg/springframework/http/MediaType;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual org.springframework.http.converter.xml.MarshallingHttpMessageConverter.canRead:(Lorg/springframework/http/MediaType;)Z
ifeq 1
aload 0
getfield org.springframework.http.converter.xml.MarshallingHttpMessageConverter.unmarshaller:Lorg/springframework/oxm/Unmarshaller;
ifnull 1
aload 0
getfield org.springframework.http.converter.xml.MarshallingHttpMessageConverter.unmarshaller:Lorg/springframework/oxm/Unmarshaller;
aload 1
invokeinterface org.springframework.oxm.Unmarshaller.supports:(Ljava/lang/Class;)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/converter/xml/MarshallingHttpMessageConverter;
0 2 1 clazz Ljava/lang/Class<*>;
0 2 2 mediaType Lorg/springframework/http/MediaType;
Signature: (Ljava/lang/Class<*>;Lorg/springframework/http/MediaType;)Z
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
clazz
mediaType
public boolean canWrite(java.lang.Class<?>, org.springframework.http.MediaType);
descriptor: (Ljava/lang/Class;Lorg/springframework/http/MediaType;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual org.springframework.http.converter.xml.MarshallingHttpMessageConverter.canWrite:(Lorg/springframework/http/MediaType;)Z
ifeq 1
aload 0
getfield org.springframework.http.converter.xml.MarshallingHttpMessageConverter.marshaller:Lorg/springframework/oxm/Marshaller;
ifnull 1
aload 0
getfield org.springframework.http.converter.xml.MarshallingHttpMessageConverter.marshaller:Lorg/springframework/oxm/Marshaller;
aload 1
invokeinterface org.springframework.oxm.Marshaller.supports:(Ljava/lang/Class;)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/converter/xml/MarshallingHttpMessageConverter;
0 2 1 clazz Ljava/lang/Class<*>;
0 2 2 mediaType Lorg/springframework/http/MediaType;
Signature: (Ljava/lang/Class<*>;Lorg/springframework/http/MediaType;)Z
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
clazz
mediaType
protected boolean supports(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/converter/xml/MarshallingHttpMessageConverter;
0 1 1 clazz Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
clazz
protected readFromSource(java.lang.Class<?>, org.springframework.http.HttpHeaders, javax.xml.transform.Source);
descriptor: (Ljava/lang/Class;Lorg/springframework/http/HttpHeaders;Ljavax/xml/transform/Source;)Ljava/lang/Object;
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
getfield org.springframework.http.converter.xml.MarshallingHttpMessageConverter.unmarshaller:Lorg/springframework/oxm/Unmarshaller;
ldc "Property 'unmarshaller' is required"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
getfield org.springframework.http.converter.xml.MarshallingHttpMessageConverter.unmarshaller:Lorg/springframework/oxm/Unmarshaller;
aload 3
invokeinterface org.springframework.oxm.Unmarshaller.unmarshal:(Ljavax/xml/transform/Source;)Ljava/lang/Object;
astore 4
start local 4 2: aload 1
aload 4
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 4
3: new org.springframework.beans.TypeMismatchException
dup
aload 4
aload 1
invokespecial org.springframework.beans.TypeMismatchException.<init>:(Ljava/lang/Object;Ljava/lang/Class;)V
athrow
4: StackMap locals: java.lang.Object
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/http/converter/xml/MarshallingHttpMessageConverter;
0 5 1 clazz Ljava/lang/Class<*>;
0 5 2 headers Lorg/springframework/http/HttpHeaders;
0 5 3 source Ljavax/xml/transform/Source;
2 5 4 result Ljava/lang/Object;
Exceptions:
throws java.lang.Exception
Signature: (Ljava/lang/Class<*>;Lorg/springframework/http/HttpHeaders;Ljavax/xml/transform/Source;)Ljava/lang/Object;
MethodParameters:
Name Flags
clazz
headers
source
protected void (java.lang.Object, org.springframework.http.HttpHeaders, javax.xml.transform.Result);
descriptor: (Ljava/lang/Object;Lorg/springframework/http/HttpHeaders;Ljavax/xml/transform/Result;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.springframework.http.converter.xml.MarshallingHttpMessageConverter.marshaller:Lorg/springframework/oxm/Marshaller;
ldc "Property 'marshaller' is required"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
getfield org.springframework.http.converter.xml.MarshallingHttpMessageConverter.marshaller:Lorg/springframework/oxm/Marshaller;
aload 1
aload 3
invokeinterface org.springframework.oxm.Marshaller.marshal:(Ljava/lang/Object;Ljavax/xml/transform/Result;)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/converter/xml/MarshallingHttpMessageConverter;
0 3 1 o Ljava/lang/Object;
0 3 2 headers Lorg/springframework/http/HttpHeaders;
0 3 3 result Ljavax/xml/transform/Result;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
o
headers
result
}
Signature: Lorg/springframework/http/converter/xml/AbstractXmlHttpMessageConverter<Ljava/lang/Object;>;
SourceFile: "MarshallingHttpMessageConverter.java"