@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() |
private final JAXBContext context
private final Class<?>[] cTypes
public JAXBContext getContext(Class<?> objectType)
getContext
in interface javax.ws.rs.ext.ContextResolver<JAXBContext>
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.