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 -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -