public abstract class org.springframework.http.converter.xml.AbstractJaxb2HttpMessageConverter<T> extends org.springframework.http.converter.xml.AbstractXmlHttpMessageConverter<T>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.http.converter.xml.AbstractJaxb2HttpMessageConverter
super_class: org.springframework.http.converter.xml.AbstractXmlHttpMessageConverter
{
private final java.util.concurrent.ConcurrentMap<java.lang.Class<?>, javax.xml.bind.JAXBContext> jaxbContexts;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/lang/Class<*>;Ljavax/xml/bind/JAXBContext;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.http.converter.xml.AbstractXmlHttpMessageConverter.<init>:()V
1: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
bipush 64
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:(I)V
putfield org.springframework.http.converter.xml.AbstractJaxb2HttpMessageConverter.jaxbContexts:Ljava/util/concurrent/ConcurrentMap;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/converter/xml/AbstractJaxb2HttpMessageConverter<TT;>;
protected final javax.xml.bind.Marshaller createMarshaller(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljavax/xml/bind/Marshaller;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.springframework.http.converter.xml.AbstractJaxb2HttpMessageConverter.getJaxbContext:(Ljava/lang/Class;)Ljavax/xml/bind/JAXBContext;
astore 2
start local 2 1: aload 2
invokevirtual javax.xml.bind.JAXBContext.createMarshaller:()Ljavax/xml/bind/Marshaller;
astore 3
start local 3 2: aload 0
aload 3
invokevirtual org.springframework.http.converter.xml.AbstractJaxb2HttpMessageConverter.customizeMarshaller:(Ljavax/xml/bind/Marshaller;)V
3: aload 3
4: areturn
end local 3 end local 2 5: StackMap locals:
StackMap stack: javax.xml.bind.JAXBException
astore 2
start local 2 6: new org.springframework.http.converter.HttpMessageConversionException
dup
7: new java.lang.StringBuilder
dup
ldc "Could not create Marshaller for class ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "]: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual javax.xml.bind.JAXBException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
8: invokespecial org.springframework.http.converter.HttpMessageConversionException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/http/converter/xml/AbstractJaxb2HttpMessageConverter<TT;>;
0 9 1 clazz Ljava/lang/Class<*>;
1 5 2 jaxbContext Ljavax/xml/bind/JAXBContext;
2 5 3 marshaller Ljavax/xml/bind/Marshaller;
6 9 2 ex Ljavax/xml/bind/JAXBException;
Exception table:
from to target type
0 4 5 Class javax.xml.bind.JAXBException
Signature: (Ljava/lang/Class<*>;)Ljavax/xml/bind/Marshaller;
MethodParameters:
Name Flags
clazz
protected void customizeMarshaller(javax.xml.bind.Marshaller);
descriptor: (Ljavax/xml/bind/Marshaller;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/converter/xml/AbstractJaxb2HttpMessageConverter<TT;>;
0 1 1 marshaller Ljavax/xml/bind/Marshaller;
MethodParameters:
Name Flags
marshaller
protected final javax.xml.bind.Unmarshaller createUnmarshaller(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljavax/xml/bind/Unmarshaller;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.springframework.http.converter.xml.AbstractJaxb2HttpMessageConverter.getJaxbContext:(Ljava/lang/Class;)Ljavax/xml/bind/JAXBContext;
astore 2
start local 2 1: aload 2
invokevirtual javax.xml.bind.JAXBContext.createUnmarshaller:()Ljavax/xml/bind/Unmarshaller;
astore 3
start local 3 2: aload 0
aload 3
invokevirtual org.springframework.http.converter.xml.AbstractJaxb2HttpMessageConverter.customizeUnmarshaller:(Ljavax/xml/bind/Unmarshaller;)V
3: aload 3
4: areturn
end local 3 end local 2 5: StackMap locals:
StackMap stack: javax.xml.bind.JAXBException
astore 2
start local 2 6: new org.springframework.http.converter.HttpMessageConversionException
dup
7: new java.lang.StringBuilder
dup
ldc "Could not create Unmarshaller for class ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "]: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual javax.xml.bind.JAXBException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
8: invokespecial org.springframework.http.converter.HttpMessageConversionException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/http/converter/xml/AbstractJaxb2HttpMessageConverter<TT;>;
0 9 1 clazz Ljava/lang/Class<*>;
1 5 2 jaxbContext Ljavax/xml/bind/JAXBContext;
2 5 3 unmarshaller Ljavax/xml/bind/Unmarshaller;
6 9 2 ex Ljavax/xml/bind/JAXBException;
Exception table:
from to target type
0 4 5 Class javax.xml.bind.JAXBException
Signature: (Ljava/lang/Class<*>;)Ljavax/xml/bind/Unmarshaller;
MethodParameters:
Name Flags
clazz
protected void customizeUnmarshaller(javax.xml.bind.Unmarshaller);
descriptor: (Ljavax/xml/bind/Unmarshaller;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/converter/xml/AbstractJaxb2HttpMessageConverter<TT;>;
0 1 1 unmarshaller Ljavax/xml/bind/Unmarshaller;
MethodParameters:
Name Flags
unmarshaller
protected final javax.xml.bind.JAXBContext getJaxbContext(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljavax/xml/bind/JAXBContext;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ldc "Class must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
getfield org.springframework.http.converter.xml.AbstractJaxb2HttpMessageConverter.jaxbContexts:Ljava/util/concurrent/ConcurrentMap;
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.xml.bind.JAXBContext
astore 2
start local 2 2: aload 2
ifnonnull 10
3: iconst_1
anewarray java.lang.Class
dup
iconst_0
aload 1
aastore
invokestatic javax.xml.bind.JAXBContext.newInstance:([Ljava/lang/Class;)Ljavax/xml/bind/JAXBContext;
astore 2
4: aload 0
getfield org.springframework.http.converter.xml.AbstractJaxb2HttpMessageConverter.jaxbContexts:Ljava/util/concurrent/ConcurrentMap;
aload 1
aload 2
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: goto 10
6: StackMap locals: org.springframework.http.converter.xml.AbstractJaxb2HttpMessageConverter java.lang.Class javax.xml.bind.JAXBContext
StackMap stack: javax.xml.bind.JAXBException
astore 3
start local 3 7: new org.springframework.http.converter.HttpMessageConversionException
dup
8: new java.lang.StringBuilder
dup
ldc "Could not instantiate JAXBContext for class ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "]: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual javax.xml.bind.JAXBException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
9: invokespecial org.springframework.http.converter.HttpMessageConversionException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 10: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/springframework/http/converter/xml/AbstractJaxb2HttpMessageConverter<TT;>;
0 11 1 clazz Ljava/lang/Class<*>;
2 11 2 jaxbContext Ljavax/xml/bind/JAXBContext;
7 10 3 ex Ljavax/xml/bind/JAXBException;
Exception table:
from to target type
3 5 6 Class javax.xml.bind.JAXBException
Signature: (Ljava/lang/Class<*>;)Ljavax/xml/bind/JAXBContext;
MethodParameters:
Name Flags
clazz
}
Signature: <T:Ljava/lang/Object;>Lorg/springframework/http/converter/xml/AbstractXmlHttpMessageConverter<TT;>;
SourceFile: "AbstractJaxb2HttpMessageConverter.java"