@Provider @InterfaceAudience.Private public class JAXBContextResolver extends Object implements javax.ws.rs.ext.ContextResolver<JAXBContext>
Modifier and Type | Field and Description |
---|---|
private JAXBContext |
context |
private Class<?>[] |
cTypes |
private Set<Class<?>> |
types |
Constructor and Description |
---|
JAXBContextResolver() |
Modifier and Type | Method and Description |
---|---|
JAXBContext |
getContext(Class<?> objectType) |
private final JAXBContext context
public JAXBContextResolver() throws Exception
Exception
public JAXBContext getContext(Class<?> objectType)
getContext
in interface javax.ws.rs.ext.ContextResolver<JAXBContext>
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.