Class FilteringMoxyJsonProvider
java.lang.Object
org.eclipse.persistence.jaxb.rs.MOXyJsonProvider
org.glassfish.jersey.moxy.json.internal.ConfigurableMoxyJsonProvider
org.glassfish.jersey.moxy.json.internal.FilteringMoxyJsonProvider
- All Implemented Interfaces:
MessageBodyReader<Object>
,MessageBodyWriter<Object>
Entity Data Filtering provider based on MOXy JSON provider.
- Author:
- Michal Gajdos
-
Field Summary
Fields inherited from class org.eclipse.persistence.jaxb.rs.MOXyJsonProvider
providers
-
Constructor Summary
ConstructorDescriptionFilteringMoxyJsonProvider
(jakarta.inject.Provider<org.glassfish.jersey.message.filtering.spi.ObjectProvider<org.eclipse.persistence.jaxb.ObjectGraph>> provider, Providers providers, Configuration config) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
preReadFrom
(Class<Object> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, jakarta.xml.bind.Unmarshaller unmarshaller) protected void
preWriteTo
(Object object, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, jakarta.xml.bind.Marshaller marshaller) Methods inherited from class org.glassfish.jersey.moxy.json.internal.ConfigurableMoxyJsonProvider
isReadable, isWriteable
Methods inherited from class org.eclipse.persistence.jaxb.rs.MOXyJsonProvider
getAttributePrefix, getDomainClass, getDomainClasses, getJAXBContext, getNamespacePrefixMapper, getNamespaceSeparator, getSize, getValueWrapper, isFormattedOutput, isIncludeRoot, isMarshalEmptyCollections, isWrapperAsArrayName, readFrom, setAttributePrefix, setFormattedOutput, setIncludeRoot, setMarshalEmptyCollections, setNamespacePrefixMapper, setNamespaceSeparator, setValueWrapper, setWrapperAsArrayName, supportsMediaType, writeTo
-
Constructor Details
-
FilteringMoxyJsonProvider
@Inject public FilteringMoxyJsonProvider(@Context jakarta.inject.Provider<org.glassfish.jersey.message.filtering.spi.ObjectProvider<org.eclipse.persistence.jaxb.ObjectGraph>> provider, @Context Providers providers, @Context Configuration config)
-
-
Method Details
-
preWriteTo
protected void preWriteTo(Object object, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, jakarta.xml.bind.Marshaller marshaller) throws jakarta.xml.bind.JAXBException- Overrides:
preWriteTo
in classConfigurableMoxyJsonProvider
- Throws:
jakarta.xml.bind.JAXBException
-
preReadFrom
protected void preReadFrom(Class<Object> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, jakarta.xml.bind.Unmarshaller unmarshaller) throws jakarta.xml.bind.JAXBException- Overrides:
preReadFrom
in classConfigurableMoxyJsonProvider
- Throws:
jakarta.xml.bind.JAXBException
-