@Provider public class CloudStoreJaxbContextResolver extends Object implements javax.ws.rs.ext.ContextResolver<JAXBContext>
ContextResolver implementation providing the CloudStoreJaxbContext.
Due to this ContextResolver, the REST client is able to serialise and deserialise all our DTOs
to and from XML.
| Constructor and Description |
|---|
CloudStoreJaxbContextResolver() |
| Modifier and Type | Method and Description |
|---|---|
JAXBContext |
getContext(Class<?> type) |
public CloudStoreJaxbContextResolver()
public JAXBContext getContext(Class<?> type)
getContext in interface javax.ws.rs.ext.ContextResolver<JAXBContext>Copyright © 2013–2017. All rights reserved.