@Provider public class CustomTypeModulesRegistrationProvider extends com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider
CustomTypeModulesRegistrationProvider extends the JacksonJsonProvider
and register the module Jaxrs2TypesModule._jsonpFunctionName, _providers, BASIC_ANNOTATIONS, MIME_JAVASCRIPT, MIME_JAVASCRIPT_MS_cfgCheckCanDeserialize, _cfgCheckCanSerialize, _cfgCustomUntouchables, _defaultReadView, _defaultWriteView, _jaxRSFeatures, _mapperConfig, _noContentExceptionRef, _readers, _unreadableClasses, _untouchables, _unwritableClasses, _writers, CLASS_NAME_NO_CONTENT_EXCEPTION, DEFAULT_UNREADABLES, DEFAULT_UNTOUCHABLES, DEFAULT_UNWRITABLES, HEADER_CONTENT_TYPE_OPTIONS, JAXRS_FEATURE_DEFAULTS, noContentExceptionSupplier| Constructor and Description |
|---|
CustomTypeModulesRegistrationProvider()
Instantiates a new
CustomTypeModulesRegistrationProvider object. |
CustomTypeModulesRegistrationProvider(com.fasterxml.jackson.jaxrs.cfg.Annotations... annotationsToUse)
Instantiates a new new
CustomTypeModulesRegistrationProvider object with the given
parameters. |
CustomTypeModulesRegistrationProvider(com.fasterxml.jackson.databind.ObjectMapper mapper)
Instantiates a new
CustomTypeModulesRegistrationProvider object with the given
parameters. |
CustomTypeModulesRegistrationProvider(com.fasterxml.jackson.databind.ObjectMapper mapper,
com.fasterxml.jackson.jaxrs.cfg.Annotations[] annotationsToUse)
Instantiates a new new
CustomTypeModulesRegistrationProvider object with the given
parameters. |
| Modifier and Type | Method and Description |
|---|---|
protected com.fasterxml.jackson.databind.ObjectMapper |
newTypeModulesRegistration()
Factory callback method for registration of new type modules.
|
_configForReading, _configForWriting, _locateMapperViaProvider, hasMatchingMediaType, isJsonType, setJSONPFunctionName, version_addSuperTypes, _configForReading, _configForWriting, _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, writeTopublic CustomTypeModulesRegistrationProvider()
CustomTypeModulesRegistrationProvider object.public CustomTypeModulesRegistrationProvider(com.fasterxml.jackson.jaxrs.cfg.Annotations... annotationsToUse)
CustomTypeModulesRegistrationProvider object with the given
parameters.annotationsToUse - Annotation set(s) to use for configuring data bindingpublic CustomTypeModulesRegistrationProvider(com.fasterxml.jackson.databind.ObjectMapper mapper)
CustomTypeModulesRegistrationProvider object with the given
parameters.mapper - the object mapperpublic CustomTypeModulesRegistrationProvider(com.fasterxml.jackson.databind.ObjectMapper mapper,
com.fasterxml.jackson.jaxrs.cfg.Annotations[] annotationsToUse)
CustomTypeModulesRegistrationProvider object with the given
parameters.mapper - the object mapperannotationsToUse - Sets of annotations (Jackson, JAXB) that provider should supportprotected com.fasterxml.jackson.databind.ObjectMapper newTypeModulesRegistration()
Copyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.