public class org.springframework.http.converter.xml.Jaxb2CollectionHttpMessageConverter<T extends java.util.Collection> extends org.springframework.http.converter.xml.AbstractJaxb2HttpMessageConverter<T> implements org.springframework.http.converter.GenericHttpMessageConverter<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.http.converter.xml.Jaxb2CollectionHttpMessageConverter
super_class: org.springframework.http.converter.xml.AbstractJaxb2HttpMessageConverter
{
private final javax.xml.stream.XMLInputFactory inputFactory;
descriptor: Ljavax/xml/stream/XMLInputFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.http.converter.xml.AbstractJaxb2HttpMessageConverter.<init>:()V
1: aload 0
aload 0
invokevirtual org.springframework.http.converter.xml.Jaxb2CollectionHttpMessageConverter.createXmlInputFactory:()Ljavax/xml/stream/XMLInputFactory;
putfield org.springframework.http.converter.xml.Jaxb2CollectionHttpMessageConverter.inputFactory:Ljavax/xml/stream/XMLInputFactory;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/converter/xml/Jaxb2CollectionHttpMessageConverter<TT;>;
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=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/converter/xml/Jaxb2CollectionHttpMessageConverter<TT;>;
0 1 1 clazz Ljava/lang/Class<*>;
0 1 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 canRead(java.lang.reflect.Type, java.lang.Class<?>, org.springframework.http.MediaType);
descriptor: (Ljava/lang/reflect/Type;Ljava/lang/Class;Lorg/springframework/http/MediaType;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
instanceof java.lang.reflect.ParameterizedType
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast java.lang.reflect.ParameterizedType
astore 4
start local 4 3: aload 4
invokeinterface java.lang.reflect.ParameterizedType.getRawType:()Ljava/lang/reflect/Type;
instanceof java.lang.Class
ifne 5
4: iconst_0
ireturn
5: StackMap locals: java.lang.reflect.ParameterizedType
StackMap stack:
aload 4
invokeinterface java.lang.reflect.ParameterizedType.getRawType:()Ljava/lang/reflect/Type;
checkcast java.lang.Class
astore 5
start local 5 6: ldc Ljava/util/Collection;
aload 5
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 8
7: iconst_0
ireturn
8: StackMap locals: java.lang.Class
StackMap stack:
aload 4
invokeinterface java.lang.reflect.ParameterizedType.getActualTypeArguments:()[Ljava/lang/reflect/Type;
arraylength
iconst_1
if_icmpeq 10
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.lang.reflect.ParameterizedType.getActualTypeArguments:()[Ljava/lang/reflect/Type;
iconst_0
aaload
astore 6
start local 6 11: aload 6
instanceof java.lang.Class
ifne 13
12: iconst_0
ireturn
13: StackMap locals: java.lang.reflect.Type
StackMap stack:
aload 6
checkcast java.lang.Class
astore 7
start local 7 14: aload 7
ldc Ljavax/xml/bind/annotation/XmlRootElement;
invokevirtual java.lang.Class.isAnnotationPresent:(Ljava/lang/Class;)Z
ifne 16
15: aload 7
ldc Ljavax/xml/bind/annotation/XmlType;
invokevirtual java.lang.Class.isAnnotationPresent:(Ljava/lang/Class;)Z
ifeq 18
StackMap locals: java.lang.Class
StackMap stack:
16: aload 0
aload 3
invokevirtual org.springframework.http.converter.xml.Jaxb2CollectionHttpMessageConverter.canRead:(Lorg/springframework/http/MediaType;)Z
ifeq 18
17: iconst_1
ireturn
StackMap locals:
StackMap stack:
18: iconst_0
ireturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/springframework/http/converter/xml/Jaxb2CollectionHttpMessageConverter<TT;>;
0 19 1 type Ljava/lang/reflect/Type;
0 19 2 contextClass Ljava/lang/Class<*>;
0 19 3 mediaType Lorg/springframework/http/MediaType;
3 19 4 parameterizedType Ljava/lang/reflect/ParameterizedType;
6 19 5 rawType Ljava/lang/Class<*>;
11 19 6 typeArgument Ljava/lang/reflect/Type;
14 19 7 typeArgumentClass Ljava/lang/Class<*>;
Signature: (Ljava/lang/reflect/Type;Ljava/lang/Class<*>;Lorg/springframework/http/MediaType;)Z
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
2:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
type
contextClass
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=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/converter/xml/Jaxb2CollectionHttpMessageConverter<TT;>;
0 1 1 clazz Ljava/lang/Class<*>;
0 1 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.reflect.Type, java.lang.Class<?>, org.springframework.http.MediaType);
descriptor: (Ljava/lang/reflect/Type;Ljava/lang/Class;Lorg/springframework/http/MediaType;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/converter/xml/Jaxb2CollectionHttpMessageConverter<TT;>;
0 1 1 type Ljava/lang/reflect/Type;
0 1 2 clazz Ljava/lang/Class<*>;
0 1 3 mediaType Lorg/springframework/http/MediaType;
Signature: (Ljava/lang/reflect/Type;Ljava/lang/Class<*>;Lorg/springframework/http/MediaType;)Z
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
1:
org.springframework.lang.Nullable()
2:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
type
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/Jaxb2CollectionHttpMessageConverter<TT;>;
0 1 1 clazz Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
clazz
protected T readFromSource(java.lang.Class<? extends T>, org.springframework.http.HttpHeaders, javax.xml.transform.Source);
descriptor: (Ljava/lang/Class;Lorg/springframework/http/HttpHeaders;Ljavax/xml/transform/Source;)Ljava/util/Collection;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/converter/xml/Jaxb2CollectionHttpMessageConverter<TT;>;
0 1 1 clazz Ljava/lang/Class<+TT;>;
0 1 2 headers Lorg/springframework/http/HttpHeaders;
0 1 3 source Ljavax/xml/transform/Source;
Exceptions:
throws java.lang.Exception
Signature: (Ljava/lang/Class<+TT;>;Lorg/springframework/http/HttpHeaders;Ljavax/xml/transform/Source;)TT;
MethodParameters:
Name Flags
clazz
headers
source
public T read(java.lang.reflect.Type, java.lang.Class<?>, org.springframework.http.HttpInputMessage);
descriptor: (Ljava/lang/reflect/Type;Ljava/lang/Class;Lorg/springframework/http/HttpInputMessage;)Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
checkcast java.lang.reflect.ParameterizedType
astore 4
start local 4 1: aload 0
aload 4
invokeinterface java.lang.reflect.ParameterizedType.getRawType:()Ljava/lang/reflect/Type;
checkcast java.lang.Class
invokevirtual org.springframework.http.converter.xml.Jaxb2CollectionHttpMessageConverter.createCollection:(Ljava/lang/Class;)Ljava/util/Collection;
astore 5
start local 5 2: aload 4
invokeinterface java.lang.reflect.ParameterizedType.getActualTypeArguments:()[Ljava/lang/reflect/Type;
iconst_0
aaload
checkcast java.lang.Class
astore 6
start local 6 3: aload 0
aload 6
invokevirtual org.springframework.http.converter.xml.Jaxb2CollectionHttpMessageConverter.createUnmarshaller:(Ljava/lang/Class;)Ljavax/xml/bind/Unmarshaller;
astore 7
start local 7 4: aload 0
getfield org.springframework.http.converter.xml.Jaxb2CollectionHttpMessageConverter.inputFactory:Ljavax/xml/stream/XMLInputFactory;
aload 3
invokeinterface org.springframework.http.HttpInputMessage.getBody:()Ljava/io/InputStream;
invokevirtual javax.xml.stream.XMLInputFactory.createXMLStreamReader:(Ljava/io/InputStream;)Ljavax/xml/stream/XMLStreamReader;
astore 8
start local 8 5: aload 0
aload 8
invokevirtual org.springframework.http.converter.xml.Jaxb2CollectionHttpMessageConverter.moveToFirstChildOfRootElement:(Ljavax/xml/stream/XMLStreamReader;)I
istore 9
start local 9 6: goto 17
7: StackMap locals: org.springframework.http.converter.xml.Jaxb2CollectionHttpMessageConverter java.lang.reflect.Type java.lang.Class org.springframework.http.HttpInputMessage java.lang.reflect.ParameterizedType java.util.Collection java.lang.Class javax.xml.bind.Unmarshaller javax.xml.stream.XMLStreamReader int
StackMap stack:
aload 6
ldc Ljavax/xml/bind/annotation/XmlRootElement;
invokevirtual java.lang.Class.isAnnotationPresent:(Ljava/lang/Class;)Z
ifeq 10
8: aload 5
aload 7
aload 8
invokeinterface javax.xml.bind.Unmarshaller.unmarshal:(Ljavax/xml/stream/XMLStreamReader;)Ljava/lang/Object;
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
9: goto 16
10: StackMap locals:
StackMap stack:
aload 6
ldc Ljavax/xml/bind/annotation/XmlType;
invokevirtual java.lang.Class.isAnnotationPresent:(Ljava/lang/Class;)Z
ifeq 13
11: aload 5
aload 7
aload 8
aload 6
invokeinterface javax.xml.bind.Unmarshaller.unmarshal:(Ljavax/xml/stream/XMLStreamReader;Ljava/lang/Class;)Ljavax/xml/bind/JAXBElement;
invokevirtual javax.xml.bind.JAXBElement.getValue:()Ljava/lang/Object;
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
12: goto 16
13: StackMap locals:
StackMap stack:
new org.springframework.http.converter.HttpMessageNotReadableException
dup
14: new java.lang.StringBuilder
dup
ldc "Cannot unmarshal to ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
15: invokespecial org.springframework.http.converter.HttpMessageNotReadableException.<init>:(Ljava/lang/String;Lorg/springframework/http/HttpInputMessage;)V
athrow
16: StackMap locals:
StackMap stack:
aload 0
aload 8
invokevirtual org.springframework.http.converter.xml.Jaxb2CollectionHttpMessageConverter.moveToNextElement:(Ljavax/xml/stream/XMLStreamReader;)I
istore 9
17: StackMap locals:
StackMap stack:
iload 9
bipush 8
if_icmpne 7
18: aload 5
19: areturn
end local 9 end local 8 end local 7 20: StackMap locals: org.springframework.http.converter.xml.Jaxb2CollectionHttpMessageConverter java.lang.reflect.Type java.lang.Class org.springframework.http.HttpInputMessage java.lang.reflect.ParameterizedType java.util.Collection java.lang.Class
StackMap stack: javax.xml.stream.XMLStreamException
astore 7
start local 7 21: new org.springframework.http.converter.HttpMessageNotReadableException
dup
22: new java.lang.StringBuilder
dup
ldc "Failed to read XML stream: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual javax.xml.stream.XMLStreamException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 7
aload 3
23: invokespecial org.springframework.http.converter.HttpMessageNotReadableException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Lorg/springframework/http/HttpInputMessage;)V
athrow
end local 7 24: StackMap locals:
StackMap stack: javax.xml.bind.UnmarshalException
astore 7
start local 7 25: new org.springframework.http.converter.HttpMessageNotReadableException
dup
26: new java.lang.StringBuilder
dup
ldc "Could not unmarshal to ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "]: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
invokevirtual javax.xml.bind.UnmarshalException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 7
aload 3
27: invokespecial org.springframework.http.converter.HttpMessageNotReadableException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Lorg/springframework/http/HttpInputMessage;)V
athrow
end local 7 28: StackMap locals:
StackMap stack: javax.xml.bind.JAXBException
astore 7
start local 7 29: new org.springframework.http.converter.HttpMessageConversionException
dup
new java.lang.StringBuilder
dup
ldc "Invalid JAXB setup: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
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 7
invokespecial org.springframework.http.converter.HttpMessageConversionException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lorg/springframework/http/converter/xml/Jaxb2CollectionHttpMessageConverter<TT;>;
0 30 1 type Ljava/lang/reflect/Type;
0 30 2 contextClass Ljava/lang/Class<*>;
0 30 3 inputMessage Lorg/springframework/http/HttpInputMessage;
1 30 4 parameterizedType Ljava/lang/reflect/ParameterizedType;
2 30 5 result TT;
3 30 6 elementClass Ljava/lang/Class<*>;
4 20 7 unmarshaller Ljavax/xml/bind/Unmarshaller;
5 20 8 streamReader Ljavax/xml/stream/XMLStreamReader;
6 20 9 event I
21 24 7 ex Ljavax/xml/stream/XMLStreamException;
25 28 7 ex Ljavax/xml/bind/UnmarshalException;
29 30 7 ex Ljavax/xml/bind/JAXBException;
Exception table:
from to target type
3 19 20 Class javax.xml.stream.XMLStreamException
3 19 24 Class javax.xml.bind.UnmarshalException
3 19 28 Class javax.xml.bind.JAXBException
Exceptions:
throws java.io.IOException, org.springframework.http.converter.HttpMessageNotReadableException
Signature: (Ljava/lang/reflect/Type;Ljava/lang/Class<*>;Lorg/springframework/http/HttpInputMessage;)TT;
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
2:
MethodParameters:
Name Flags
type
contextClass
inputMessage
protected T createCollection(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/util/Collection;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.Class.isInterface:()Z
ifne 7
1: aload 1
iconst_0
anewarray java.lang.Class
invokestatic org.springframework.util.ReflectionUtils.accessibleConstructor:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Collection
2: areturn
3: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 4: new java.lang.IllegalArgumentException
dup
5: new java.lang.StringBuilder
dup
ldc "Could not instantiate collection class: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
6: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 7: StackMap locals:
StackMap stack:
ldc Ljava/util/List;
aload 1
if_acmpne 9
8: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
areturn
9: StackMap locals:
StackMap stack:
ldc Ljava/util/SortedSet;
aload 1
if_acmpne 11
10: new java.util.TreeSet
dup
invokespecial java.util.TreeSet.<init>:()V
areturn
11: StackMap locals:
StackMap stack:
new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/springframework/http/converter/xml/Jaxb2CollectionHttpMessageConverter<TT;>;
0 12 1 collectionClass Ljava/lang/Class<*>;
4 7 2 ex Ljava/lang/Throwable;
Exception table:
from to target type
1 2 3 Class java.lang.Throwable
Signature: (Ljava/lang/Class<*>;)TT;
MethodParameters:
Name Flags
collectionClass
private int moveToFirstChildOfRootElement(javax.xml.stream.XMLStreamReader);
descriptor: (Ljavax/xml/stream/XMLStreamReader;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface javax.xml.stream.XMLStreamReader.next:()I
istore 2
start local 2 1: goto 3
2: StackMap locals: int
StackMap stack:
aload 1
invokeinterface javax.xml.stream.XMLStreamReader.next:()I
istore 2
3: StackMap locals:
StackMap stack:
iload 2
iconst_1
if_icmpne 2
4: aload 1
invokeinterface javax.xml.stream.XMLStreamReader.next:()I
istore 2
5: goto 7
6: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.xml.stream.XMLStreamReader.next:()I
istore 2
7: StackMap locals:
StackMap stack:
iload 2
iconst_1
if_icmpeq 8
iload 2
bipush 8
if_icmpne 6
8: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/http/converter/xml/Jaxb2CollectionHttpMessageConverter<TT;>;
0 9 1 streamReader Ljavax/xml/stream/XMLStreamReader;
1 9 2 event I
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
streamReader
private int moveToNextElement(javax.xml.stream.XMLStreamReader);
descriptor: (Ljavax/xml/stream/XMLStreamReader;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface javax.xml.stream.XMLStreamReader.getEventType:()I
istore 2
start local 2 1: goto 3
2: StackMap locals: int
StackMap stack:
aload 1
invokeinterface javax.xml.stream.XMLStreamReader.next:()I
istore 2
3: StackMap locals:
StackMap stack:
iload 2
iconst_1
if_icmpeq 4
iload 2
bipush 8
if_icmpne 2
4: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/http/converter/xml/Jaxb2CollectionHttpMessageConverter<TT;>;
0 5 1 streamReader Ljavax/xml/stream/XMLStreamReader;
1 5 2 event I
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
streamReader
public void write(T, java.lang.reflect.Type, org.springframework.http.MediaType, org.springframework.http.HttpOutputMessage);
descriptor: (Ljava/util/Collection;Ljava/lang/reflect/Type;Lorg/springframework/http/MediaType;Lorg/springframework/http/HttpOutputMessage;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/converter/xml/Jaxb2CollectionHttpMessageConverter<TT;>;
0 1 1 t TT;
0 1 2 type Ljava/lang/reflect/Type;
0 1 3 contentType Lorg/springframework/http/MediaType;
0 1 4 outputMessage Lorg/springframework/http/HttpOutputMessage;
Exceptions:
throws java.io.IOException, org.springframework.http.converter.HttpMessageNotWritableException
Signature: (TT;Ljava/lang/reflect/Type;Lorg/springframework/http/MediaType;Lorg/springframework/http/HttpOutputMessage;)V
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
2:
org.springframework.lang.Nullable()
3:
MethodParameters:
Name Flags
t
type
contentType
outputMessage
protected void writeToResult(T, org.springframework.http.HttpHeaders, javax.xml.transform.Result);
descriptor: (Ljava/util/Collection;Lorg/springframework/http/HttpHeaders;Ljavax/xml/transform/Result;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/converter/xml/Jaxb2CollectionHttpMessageConverter<TT;>;
0 1 1 t TT;
0 1 2 headers Lorg/springframework/http/HttpHeaders;
0 1 3 result Ljavax/xml/transform/Result;
Exceptions:
throws java.lang.Exception
Signature: (TT;Lorg/springframework/http/HttpHeaders;Ljavax/xml/transform/Result;)V
MethodParameters:
Name Flags
t
headers
result
protected javax.xml.stream.XMLInputFactory createXmlInputFactory();
descriptor: ()Ljavax/xml/stream/XMLInputFactory;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic org.springframework.util.xml.StaxUtils.createDefensiveInputFactory:()Ljavax/xml/stream/XMLInputFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/converter/xml/Jaxb2CollectionHttpMessageConverter<TT;>;
public void write(java.lang.Object, java.lang.reflect.Type, org.springframework.http.MediaType, org.springframework.http.HttpOutputMessage);
descriptor: (Ljava/lang/Object;Ljava/lang/reflect/Type;Lorg/springframework/http/MediaType;Lorg/springframework/http/HttpOutputMessage;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=5, locals=5, args_size=5
0: aload 0
aload 1
checkcast java.util.Collection
aload 2
aload 3
aload 4
invokevirtual org.springframework.http.converter.xml.Jaxb2CollectionHttpMessageConverter.write:(Ljava/util/Collection;Ljava/lang/reflect/Type;Lorg/springframework/http/MediaType;Lorg/springframework/http/HttpOutputMessage;)V
return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException, org.springframework.http.converter.HttpMessageNotWritableException
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: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
checkcast java.util.Collection
aload 2
aload 3
invokevirtual org.springframework.http.converter.xml.Jaxb2CollectionHttpMessageConverter.writeToResult:(Ljava/util/Collection;Lorg/springframework/http/HttpHeaders;Ljavax/xml/transform/Result;)V
return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
public java.lang.Object read(java.lang.reflect.Type, java.lang.Class, org.springframework.http.HttpInputMessage);
descriptor: (Ljava/lang/reflect/Type;Ljava/lang/Class;Lorg/springframework/http/HttpInputMessage;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
aload 2
aload 3
invokevirtual org.springframework.http.converter.xml.Jaxb2CollectionHttpMessageConverter.read:(Ljava/lang/reflect/Type;Ljava/lang/Class;Lorg/springframework/http/HttpInputMessage;)Ljava/util/Collection;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException, org.springframework.http.converter.HttpMessageNotReadableException
protected java.lang.Object (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: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
checkcast java.lang.Class
aload 2
aload 3
invokevirtual org.springframework.http.converter.xml.Jaxb2CollectionHttpMessageConverter.readFromSource:(Ljava/lang/Class;Lorg/springframework/http/HttpHeaders;Ljavax/xml/transform/Source;)Ljava/util/Collection;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
Signature: <T::Ljava/util/Collection;>Lorg/springframework/http/converter/xml/AbstractJaxb2HttpMessageConverter<TT;>;Lorg/springframework/http/converter/GenericHttpMessageConverter<TT;>;
SourceFile: "Jaxb2CollectionHttpMessageConverter.java"