@Singleton public class FilteringMoxyJsonProvider extends ConfigurableMoxyJsonProvider
Constructor and Description |
---|
FilteringMoxyJsonProvider(javax.inject.Provider<org.glassfish.jersey.message.filtering.spi.ObjectProvider<org.eclipse.persistence.jaxb.ObjectGraph>> provider,
Providers providers,
Configuration config) |
Modifier and Type | Method and Description |
---|---|
protected void |
preReadFrom(Class<Object> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
Unmarshaller unmarshaller) |
protected void |
preWriteTo(Object object,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
Marshaller marshaller) |
isReadable, isWriteable
getAttributePrefix, getDomainClass, getDomainClasses, getJAXBContext, getNamespacePrefixMapper, getNamespaceSeparator, getSize, getValueWrapper, isFormattedOutput, isIncludeRoot, isMarshalEmptyCollections, isWrapperAsArrayName, readFrom, setAttributePrefix, setFormattedOutput, setIncludeRoot, setMarshalEmptyCollections, setNamespacePrefixMapper, setNamespaceSeparator, setValueWrapper, setWrapperAsArrayName, supportsMediaType, writeTo
@Inject public FilteringMoxyJsonProvider(@Context javax.inject.Provider<org.glassfish.jersey.message.filtering.spi.ObjectProvider<org.eclipse.persistence.jaxb.ObjectGraph>> provider, @Context Providers providers, @Context Configuration config)
protected void preWriteTo(Object object, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, Marshaller marshaller) throws JAXBException
preWriteTo
in class ConfigurableMoxyJsonProvider
JAXBException
protected void preReadFrom(Class<Object> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, Unmarshaller unmarshaller) throws JAXBException
preReadFrom
in class ConfigurableMoxyJsonProvider
JAXBException
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.