HttpMessageConverters
that use JAXB2. Creates JAXBContext object lazily.
| Modifier and Type | Field and Description |
|---|---|
| private final ConcurrentMap |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected final Marshaller | Returns: theMarshallerthe class to create the marshaller for clazz)Create a new |
| protected final Unmarshaller | Returns: theUnmarshallerthe class to create the unmarshaller for clazz)Create a new |
| protected void | customizeMarshaller(Marshaller
the marshaller to customize marshaller)Customize the |
| protected void | customizeUnmarshaller(Unmarshaller
the unmarshaller to customize unmarshaller)Customize the |
| protected final JAXBContext | Returns: theJAXBContextthe class to return the context for clazz)Return a |
| jaxbContexts | back to summary |
|---|---|
| private final ConcurrentMap<Class<?>, JAXBContext> jaxbContexts | |
| AbstractJaxb2HttpMessageConverter | back to summary |
|---|---|
| public AbstractJaxb2HttpMessageConverter() | |
| createMarshaller | back to summary |
|---|---|
| protected final Marshaller createMarshaller(Class<?> clazz) Create a new
| |
| createUnmarshaller | back to summary |
|---|---|
| protected final Unmarshaller createUnmarshaller(Class<?> clazz) Create a new
| |
| customizeMarshaller | back to summary |
|---|---|
| protected void customizeMarshaller(Marshaller marshaller) Customize the
| |
| customizeUnmarshaller | back to summary |
|---|---|
| protected void customizeUnmarshaller(Unmarshaller unmarshaller) Customize the
| |
| getJaxbContext | back to summary |
|---|---|
| protected final JAXBContext getJaxbContext(Class<?> clazz) Return a
| |