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 -

c# - Chart control: Design messed Up after clearing and re-adding Y-Values -

ruby on rails - Apipie interferes with proper error codes -