@Singleton public final class FilteringJacksonJaxbJsonProvider extends DefaultJacksonJaxbJsonProvider
DEFAULT_ANNOTATIONS
_jsonpFunctionName, _providers, BASIC_ANNOTATIONS, MIME_JAVASCRIPT, MIME_JAVASCRIPT_MS
_cfgCheckCanDeserialize, _cfgCheckCanSerialize, _cfgCustomUntouchables, _defaultReadView, _defaultWriteView, _jaxRSFeatures, _mapperConfig, _readers, _unreadableClasses, _untouchables, _unwritableClasses, _writers, CLASS_NAME_NO_CONTENT_EXCEPTION, DEFAULT_UNREADABLES, DEFAULT_UNTOUCHABLES, DEFAULT_UNWRITABLES, HEADER_CONTENT_TYPE_OPTIONS, JAXRS_FEATURE_DEFAULTS
Constructor and Description |
---|
FilteringJacksonJaxbJsonProvider(javax.inject.Provider<org.glassfish.jersey.message.filtering.spi.ObjectProvider<com.fasterxml.jackson.databind.ser.FilterProvider>> provider,
Providers providers,
Configuration config) |
Modifier and Type | Method and Description |
---|---|
protected org.glassfish.jersey.jackson.internal.jackson.jaxrs.json.JsonEndpointConfig |
_configForWriting(com.fasterxml.jackson.databind.ObjectMapper mapper,
Annotation[] annotations,
Class<?> defaultView) |
void |
writeTo(Object value,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream)
Method that JAX-RS container calls to serialize given value.
|
_configForReading
_configForWriting, _locateMapperViaProvider, hasMatchingMediaType, setJSONPFunctionName, version
_addSuperTypes, _configForReading, _containedIn, _createGenerator, _createNoContentException, _createParser, _endpointForReading, _endpointForWriting, _findCustomUntouchable, _isIgnorableForReading, _isIgnorableForWriting, _isSpecialReadable, _modifyHeaders, addUntouchable, checkCanDeserialize, checkCanSerialize, configure, configure, configure, configure, configure, disable, disable, disable, disable, disable, disable, enable, enable, enable, enable, enable, enable, findEncoding, findSuperTypes, findSuperTypes, getSize, hasMatchingMediaTypeForReading, hasMatchingMediaTypeForWriting, isEnabled, isReadable, isWriteable, locateMapper, readFrom, removeUntouchable, setAnnotationsToUse, setDefaultReadView, setDefaultView, setDefaultWriteView, setMapper
@Inject public FilteringJacksonJaxbJsonProvider(@Context javax.inject.Provider<org.glassfish.jersey.message.filtering.spi.ObjectProvider<com.fasterxml.jackson.databind.ser.FilterProvider>> provider, @Context Providers providers, @Context Configuration config)
protected org.glassfish.jersey.jackson.internal.jackson.jaxrs.json.JsonEndpointConfig _configForWriting(com.fasterxml.jackson.databind.ObjectMapper mapper, Annotation[] annotations, Class<?> defaultView)
_configForWriting
in class org.glassfish.jersey.jackson.internal.jackson.jaxrs.base.ProviderBase<org.glassfish.jersey.jackson.internal.jackson.jaxrs.json.JacksonJsonProvider,com.fasterxml.jackson.databind.ObjectMapper,org.glassfish.jersey.jackson.internal.jackson.jaxrs.json.JsonEndpointConfig,org.glassfish.jersey.jackson.internal.jackson.jaxrs.json.JsonMapperConfigurator>
public void writeTo(Object value, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) throws IOException
org.glassfish.jersey.jackson.internal.jackson.jaxrs.base.ProviderBase
writeTo
in interface MessageBodyWriter<Object>
writeTo
in class org.glassfish.jersey.jackson.internal.jackson.jaxrs.base.ProviderBase<org.glassfish.jersey.jackson.internal.jackson.jaxrs.json.JacksonJsonProvider,com.fasterxml.jackson.databind.ObjectMapper,org.glassfish.jersey.jackson.internal.jackson.jaxrs.json.JsonEndpointConfig,org.glassfish.jersey.jackson.internal.jackson.jaxrs.json.JsonMapperConfigurator>
IOException
Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.