java - Custom JAXBContext for a Jersey service -


I am writing a REST application using GlassFish 4 and jersey. I have @XmlNamedObjectGraph in some entities, so I need to expose only one on a some service end points (may be in the same class) that only Is it possible to set up OBJECT_GRAPH Marshalar Property What is the procedure to do this?

>


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

objective c - How to open front/back camera at the same time in iOS developing? -

xml - XMLStarlet - UTF-8 Nordic characters -