Deprecated API
Contents
-
Deprecated PackagesPackageDescriptionas of 3.6, use the commons-text translate package instead
-
Deprecated InterfacesInterfaceDescriptionSince 2.3: use
PropertyFilter
instead.UseFailableBiConsumer
.UseFailableBiFunction
.UseFailableBiPredicate
.UseFailableCallable
.UseFailableConsumer
.UseFailableFunction
.UseFailablePredicate
.UseFailableRunnable
.UseFailableSupplier
.as of 3.6, use commons-text FormatFactory instead
-
Deprecated ClassesClassDescriptionSince 2.5, use any Annotation type (such as
JsonTypeInfo
), if such behavior is needed; this is rarely necessary.Since 2.2, we recommend use of external JSON Schema generator moduleSince 2.12 usePropertyNamingStrategies.KebabCaseStrategy
instead (see databind#2715 for reason for deprecation)Since 2.12 usePropertyNamingStrategies.LowerCaseStrategy
instead (see databind#2715 for reason for deprecation)In 2.7 usePropertyNamingStrategies.SnakeCaseStrategy
insteadSince 2.12 usePropertyNamingStrategies.LowerDotCaseStrategy
instead (see databind#2715 for reason for deprecation)In 2.7 usePropertyNamingStrategies.UpperCamelCaseStrategy
insteadSince 2.12 deprecated. See databind#2715 for reasons for deprecation.Since 2.12 usePropertyNamingStrategies.SnakeCaseStrategy
instead (see databind#2715 for reason for deprecation)Since 2.12 usePropertyNamingStrategies.UpperCamelCaseStrategy
instead (see databind#2715 for reason for deprecation)Since 2.8, useStdKeySerializers.Default
instead.UseStdDateFormat
insteaduse edu.internet2.middleware.morphString.Crypto instead!use edu.internet2.middleware.morphString.Encrypt instead!use edu.internet2.middleware.morphString.Morph instead!Use IncrementalHash32x86. This corrects the processing of trailing bytes.1.5 Replaced byCaverphone2
, will be removed in 2.0.No longer usedno longer usedno longer usedDISCLAIMER: HttpClient developers DO NOT actively support this component. The component is provided as a reference material, which may be inappropriate to be used without additional customization.use EncodingUtil classUseMultipartRequestEntity
in conjunction withPostMethod
instead.UseDateUtil
use edu.internet2.middleware.grouperClientExt.org.apache.commons.codec.net.URLCodecDo not use externally - will be made private in a later versionDo not use externally - will be made private in a later versionOnly for use in maintaining binary compatibility - should not actually be used - will be removed in 3.0Only for use in maintaining binary compatibility - should not actually be used - will be removed in 3.0Java 7 introducedStandardCharsets
, which defines these constants asCharset
objects. UseCharset.name()
to get the string values provided in this class. This class will be removed in a future release.UseFailable
.UseStreams
.as of 3.6, use commons-text StringEscapeUtils insteadas of 3.6, use commons-text CompositeFormat insteadas of 3.6, use commons-text ExtendedMessageFormat insteadas of 3.6, use commons-text FormattableUtils insteadas of 3.6, use commons-text TextStringBuilder insteadas of 3.6, use commons-text StringLookupFactory insteadas of 3.6, use commons-text StringMatcherFactory insteadas of 3.6, use commons-text StringSubstitutor insteadas of 3.6, use commons-text StringTokenizer insteadas of 3.6, use commons-text AggregateTranslator insteadas of 3.6, use commons-text CharSequenceTranslator insteadas of 3.6, use commons-text CharSequenceTranslator insteadas of 3.6, use commons-text EntityArrays insteadedu.internet2.middleware.grouperClientExt.org.apache.commons.lang3.text.translate.JavaUnicodeEscaperas of 3.6, use commons-text UnicodeEscaper insteadas of 3.6, use commons-text LookupTranslator insteadas of 3.6, use commons-text NumericEntityEscaper insteadas of 3.6, use commons-text NumericEntityUnescaper insteadas of 3.6, use commons-text OctalUnescaper insteadas of 3.6, use commons-text UnicodeEscaper insteadas of 3.6, use commons-text UnicodeUnescaper insteadas of 3.6, use commons-text UnicodeUnpairedSurrogateRemover insteadas of 3.6, use commons-text WordUtils insteadUseLogFactory
instead - The default factory implementation performs exactly the same algorithm as this class did
-
Deprecated Enum Classes
-
Deprecated ExceptionsExceptionsDescriptionno longer used
-
Deprecated FieldsFieldDescriptionSince 2.13, use
IOContext._contentReference
insteadSince 2.14 -- do not useSince 2.13 useContentReference.DEFAULT_MAX_CONTENT_SNIPPET
insteadSince 2.12Since 2.12Since 2.7 usePropertyNamingStrategies.SNAKE_CASE
instead.Since 2.12 deprecated. UsePropertyNamingStrategies.KEBAB_CASE
instead. See databind#2715 for reasons for deprecation.Since 2.12 deprecated. UsePropertyNamingStrategies.LOWER_CAMEL_CASE
instead. See databind#2715 for reasons for deprecation.Since 2.12 deprecated. UsePropertyNamingStrategies.LOWER_CASE
instead. See databind#2715 for reasons for deprecation.Since 2.12 deprecated. UsePropertyNamingStrategies.LOWER_DOT_CASE
instead. See databind#2715 for reasons for deprecation.Since 2.7 usePropertyNamingStrategies.UPPER_CAMEL_CASE
instead;Since 2.12 deprecated. UsePropertyNamingStrategies.SNAKE_CASE
instead. See databind#2715 for reasons for deprecation.Since 2.12 deprecated. UsePropertyNamingStrategies.UPPER_CAMEL_CASE
instead. See databind#2715 for reasons for deprecation.UseBaseNCodec.pad
. Will be removed in 2.0.UseStandardCharsets.ISO_8859_1
instead.UseStandardCharsets.US_ASCII
instead.UseStandardCharsets.UTF_16
instead.UseStandardCharsets.UTF_16BE
instead.UseStandardCharsets.UTF_16LE
instead.UseStandardCharsets.UTF_8
instead.This is not used internally and will be removed in a future release.TODO: This field will be changed to a private final Charset in 2.0. (CODEC-126)1.11 Will be removed in 2.0 (CODEC-230)edu.internet2.middleware.grouperClientExt.org.apache.commons.httpclient.HttpState.PREEMPTIVE_DEFAULTThis field and feature will be removed following HttpClient 3.0.This field and feature will be removed following HttpClient 3.0.UseHttpsURL.DEFAULT_PORT
instead. This one doesn't conform to the project naming conventions.UseHttpsURL.DEFAULT_SCHEME
instead. This one doesn't conform to the project naming conventions.UseHttpURL.DEFAULT_PORT
instead. This one doesn't conform to the project naming conventions.UseHttpURL.DEFAULT_SCHEME
instead. This one doesn't conform to the project naming conventions.useStringEscapeUtils.ESCAPE_XML10
orStringEscapeUtils.ESCAPE_XML11
instead.UseFile.separator
, since it is guaranteed to be a string containing a single character and it does not require a privilege check.As of release 3.5, replaced bySystemUtils.IS_JAVA_9
UseSystem.lineSeparator()
instead, since it does not require a privilege check.UseFile.pathSeparator
, since it is guaranteed to be a string containing a single character and it does not require a privilege check.- as of 4.0, ISO_DATE_FORMAT will be replaced by ISO_8601_EXTENDED_DATE_FORMAT.- as of 4.0, ISO_DATE_TIME_ZONE_FORMAT will be removed.- as of 4.0, ISO_DATETIME_FORMAT will be replaced by ISO_8601_EXTENDED_DATETIME_FORMAT.- as of 4.0, ISO_DATETIME_TIME_ZONE_FORMAT will be replaced by ISO_8601_EXTENDED_DATETIME_TIME_ZONE_FORMAT.- as of 4.0, ISO_TIME_FORMAT will be removed.- as of 4.0, ISO_TIME_NO_T_FORMAT will be replaced by ISO_8601_EXTENDED_TIME_FORMAT.- as of 4.0, ISO_TIME_NO_T_TIME_ZONE_FORMAT will be replaced by ISO_8601_EXTENDED_TIME_TIME_ZONE_FORMAT.- as of 4.0, ISO_TIME_TIME_ZONE_FORMAT will be removed.
-
Deprecated MethodsMethodDescriptionuse assignStemScopeuse addStemLookup insteaduse batchNumberOfBatches(Collection<?> collection, int batchSize, boolean haveAtLeastOne)use batchNumberOfBatches(Collection<?> collection, int batchSize, boolean haveAtLeastOne)use mapToString(map)use batchNumberOfBatches(Collection<?> collection, int batchSize, boolean haveAtLeastOne)use batchNumberOfBatches(Collection<?> collection, int batchSize, boolean haveAtLeastOne)use mapToString(map)use batchNumberOfBatches(Collection<?> collection, int batchSize, boolean haveAtLeastOne)use batchNumberOfBatches(Collection<?> collection, int batchSize, boolean haveAtLeastOne)use mapToString(map)use GrouperClientConfig.retrieveConfig().propertiesOverrideMap() insteaduse GrouperClientConfig.retrieveConfig().properties() insteaduse GrouperClientConfig.retrieveConfig().propertyValueString insteaduse GrouperClientConfig.retrieveConfig().propertyValueBoolean insteadGrouperClientConfig.retrieveConfig().propertyValueIntSince 2.13, use
ParserBase._contentReference()
instead.Since 2.8 useParserMinimalBase._reportInvalidEOF(String, JsonToken)
insteadSince 2.8 useParserMinimalBase._reportInvalidEOF(String, JsonToken)
insteadSince 2.14Since 2.14Since 2.13, useIOContext.contentReference()
insteadSince 2.3; use method that takes argumentSince 2.13since 2.10 useTSFBuilder.configure(JsonFactory.Feature, boolean)
insteadSince 2.2, useJsonFactory.createGenerator(OutputStream)
instead.Since 2.2, useJsonFactory.createGenerator(OutputStream, JsonEncoding)
instead.Since 2.2, useJsonFactory.createGenerator(Writer)
instead.Since 2.2, useJsonFactory.createParser(byte[])
instead.Since 2.2, useJsonFactory.createParser(byte[],int,int)
instead.Since 2.2, useJsonFactory.createParser(File)
instead.Since 2.2, useJsonFactory.createParser(InputStream)
instead.Since 2.2, useJsonFactory.createParser(Reader)
instead.Since 2.2, useJsonFactory.createParser(String)
instead.Since 2.2, useJsonFactory.createParser(URL)
instead.since 2.10 useTSFBuilder.configure(JsonFactory.Feature, boolean)
insteadsince 2.10 useTSFBuilder.configure(JsonFactory.Feature, boolean)
insteadSince 2.10 useTSFBuilder.inputDecorator(InputDecorator)
insteadSince 2.10 useTSFBuilder.outputDecorator(OutputDecorator)
insteadSince 2.7, useJsonGenerator.overrideStdFeatures(int, int)
instead -- remove from 2.9Since 2.12 UseJsonGenerator.writeStartArray(Object, int)
insteadSince 2.13 UseJsonLocation.contentReference()
insteadSince 2.12 useJsonParser.currentTokenId()
insteadSince 2.7, useJsonParser.overrideStdFeatures(int, int)
insteadedu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.core.JsonStreamContext.getTypeDesc()Since 2.8 useJsonStreamContext.typeDesc()
insteadUseObjectCodec.getFactory()
instead.Since 2.7: does not have meaning as parameters depend on type resolved.Since 2.10 (note: was accidentally removed but reintroduced as deprecated in 2.12.5, to be removed from 3.0)Since 2.10 (note: was accidentally removed but reintroduced as deprecated in 2.12.5, to be removed from 3.0)Since 2.10 (note: was accidentally removed but reintroduced as deprecated in 2.12.5, to be removed from 3.0)Since 2.10 (note: was accidentally removed but reintroduced as deprecated in 2.12.5, to be removed from 3.0)Since 2.10 (note: was accidentally removed but reintroduced as deprecated in 2.12.5, to be removed from 3.0)Since 2.6: functionality not used by any official Jackson component, should be moved out if anyone needs itSince 2.12 simply useVersionUtil.versionFor(Class)
insteadSince 2.7 use correctly spelled methodVersion.isUnknownVersion()
since 2.8 (may be removed from 2.9 or later)As of Jackson 2.0, this annotation has been replaced byJsonInclude
Since 2.8: useAnnotationIntrospector.findEnumValues(java.lang.Class<?>, java.lang.Enum<?>[], java.lang.String[])
instead because this method does not properly handle override settings (defaults toenum.name
without indicating whether that is explicit or not), and is inefficient to call one-by-one.Since 2.9 UseAnnotationIntrospector.hasAsValue(Annotated)
instead.Since 2.7, should not need to access bindings directlySince 2.9: useBeanDescription.findAnySetterAccessor()
insteadSince 2.9: useBeanDescription.findAnySetterAccessor()
insteadSince 2.9 useBeanDescription.findBackReferences()
insteadSince 2.13: instead useBeanDescription.getFactoryMethods()
, filter.Since 2.13: instead useBeanDescription.getConstructors()
, filter.Since 2.8, should simply callgetType
of property accessor directly.Since 2.13 -- no replacementSince 2.6 useMapperConfigBase.getFullRootName()
instead.since 2.8 callfindJsonValueMethod
onBeanDescription
insteadSince 2.11 Should not be used: was never meant to be called by code other than sub-classes (implementations), and implementations details differSince 2.3, useBeanDeserializerBase.handledType()
insteadin 2.12, remove from 3.0Since 2.9: use variant that takesValueInstantiator
Since 2.10since 2.12since 2.11Since 2.12.2 (since it does not get context for accessing config)Since 2.8Since 2.14 use the variant that takes one more argumentin 2.12, remove from 3.0Since 2.12Since 2.12Since 2.14 (use the non-deprecated overload)Since 2.3 useStdDeserializer.handledType()
insteadSince 2.7 call eitherStdValueInstantiator.rewrapCtorProblem(edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.DeserializationContext, java.lang.Throwable)
orStdValueInstantiator.wrapAsJsonMappingException(edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.DeserializationContext, java.lang.Throwable)
Since 2.7 call eitherStdValueInstantiator.rewrapCtorProblem(edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.DeserializationContext, java.lang.Throwable)
orStdValueInstantiator.wrapAsJsonMappingException(edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.DeserializationContext, java.lang.Throwable)
Since 2.12 should not handle coercions hereSince 2.12 - use variant that takes both builder and value typeSince 2.8; currently no way to catch EOF at databind levelSince 2.8 useDeserializationContext.handleUnexpectedToken(Class, JsonParser)
insteadSince 2.8 useDeserializationContext.handleUnexpectedToken(Class, JsonParser)
insteadSince 2.9 use more specific error reporting methods insteadSince 2.9 use more specific error reporting methods insteadSince 2.9: not clear this ever occursSince 2.9 should instead useAnnotated.getAnnotated()
Since 2.9, use methods inAnnotatedClassResolver
instead.Since 2.9, use methods inAnnotatedClassResolver
instead.Since 2.9, use methods inAnnotatedClassResolver
instead.Since 2.9, use methods inAnnotatedClassResolver
instead.Since 2.9; useAnnotatedClass.getFactoryMethods()
instead.Since 2.9Since 2.12 (related to [databind#2675]), needs to be configurableSince 2.7, remove in 2.9since 2.8Since 2.7.2, does not seem to be used?Since 2.12 use overload that take value type descriptionSince 2.12 use separatePOJOPropertiesCollector.getAnyGetterMethod()
andPOJOPropertiesCollector.getAnyGetterField()
.Since 2.6 Use overloaded variant that takes context argumentSince 2.6 Use overloaded variant that takes context argumentSince 2.14 usewithObject(String)
instead(since 2.1) -- support will be dropped in future, since JSON-as-String is fundamentally bad way for customizing anything. No direct replacements offered.(since 2.1) -- support will be dropped in future, since JSON-as-String is fundamentally bad way for customizing anything. No direct replacements offered.Since 2.5 UseJsonSerializer.isEmpty(SerializerProvider, Object)
instead; will be removed from 3.0Since 2.9 useTypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)
insteadSince 2.9 useTypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)
insteadSince 2.9 useTypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)
insteadSince 2.9 useTypeSerializer.writeTypeSuffix(JsonGenerator, WritableTypeId)
insteadSince 2.9 useTypeSerializer.writeTypeSuffix(JsonGenerator, WritableTypeId)
insteadSince 2.9 useTypeSerializer.writeTypeSuffix(JsonGenerator, WritableTypeId)
insteadSince 2.9 useTypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)
insteadSince 2.9 useTypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)
insteadSince 2.9 useTypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)
insteadSince 2.9 useTypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)
insteadSince 2.9 useTypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)
insteadSince 2.9 useTypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)
insteadSince 2.9 useTypeSerializer.writeTypeSuffix(JsonGenerator, WritableTypeId)
insteadSince 2.9 useTypeSerializer.writeTypeSuffix(JsonGenerator, WritableTypeId)
insteadSince 2.9 useTypeSerializer.writeTypeSuffix(JsonGenerator, WritableTypeId)
insteadedu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.node.ArrayNode.with(String) Since 2.4 use eitherObjectNode.set(String,JsonNode)
orObjectNode.replace(String,JsonNode)
,Since 2.4 useObjectNode.setAll(ObjectNode)
,Since 2.4 useObjectNode.setAll(Map)
,Since 2.5: replaced by a fluent form of the method;ObjectMapper.addMixIn(Class, Class)
.Since 2.13 useJsonMapper.builder().configure(...)
Since 2.13 useJsonMapper.builder().disable(...)
Since 2.10 useObjectMapper.deactivateDefaultTyping()
insteadSince 2.13 useJsonMapper.builder().enable(...)
Since 2.10 useObjectMapper.activateDefaultTyping(PolymorphicTypeValidator)
insteadSince 2.10 useObjectMapper.activateDefaultTyping(PolymorphicTypeValidator,DefaultTyping)
insteadSince 2.10 useObjectMapper.activateDefaultTyping(PolymorphicTypeValidator,DefaultTyping,JsonTypeInfo.As)
insteadSince 2.10 useObjectMapper.activateDefaultTypingAsProperty(PolymorphicTypeValidator,DefaultTyping,String)
insteadSince 2.6 use external JSON Schema generator (https://github.com/FasterXML/jackson-module-jsonSchema) (which under the hood callsObjectMapper.acceptJsonFormatVisitor(JavaType, JsonFormatVisitorWrapper)
)Since 2.5, useObjectMapper.readerFor(TypeReference)
insteadSince 2.5, useObjectMapper.readerFor(JavaType)
insteadSince 2.5, useObjectMapper.readerFor(Class)
insteadSince 2.6, useObjectMapper.setFilterProvider(edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.ser.FilterProvider)
instead (allows chaining)Since 2.5: replaced by a fluent form of the method;ObjectMapper.setMixIns(java.util.Map<java.lang.Class<?>, java.lang.Class<?>>)
.Since 2.6 useObjectMapper.setVisibility(VisibilityChecker)
instead.Since 2.5, useObjectMapper.writerFor(TypeReference)
insteadSince 2.5, useObjectMapper.writerFor(JavaType)
insteadSince 2.5, useObjectMapper.writerFor(Class)
insteadsince 2.5 UseObjectReader.forType(TypeReference)
insteadsince 2.5 UseObjectReader.forType(JavaType)
insteadsince 2.5 UseObjectReader.forType(Class)
insteadedu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.ObjectReader.withType(Type) since 2.5 UseObjectReader.forType(Class)
insteadSince 2.5 useObjectWriter.with(FormatSchema)
insteadsince 2.5 UseObjectWriter.forType(TypeReference)
insteadsince 2.5 UseObjectWriter.forType(JavaType)
insteadsince 2.5 UseObjectWriter.forType(Class)
insteadSince 2.3: new code should use the alternativedepositSchemaProperty
methodSince 2.7, to be removed from 2.9, useBeanPropertyWriter.getType()
instead.Since 2.7, to be removed from 2.9, useBeanPropertyWriter.getType()
instead.Since 2.10Since 2.7: should not be needed; should be enough to see if type has 'isStatic' modifierShould not be used any moreSince 2.3 deprecated becauseBeanPropertyFilter
is deprecated;Since 2.6; to be removed from 2.7since 2.3Since 2.3 should usePropertyFilter
instead ofBeanPropertyFilter
Since 2.9Since 2.9 since this will not allow determining difference between "no default instance" case and default being `null`.Since 2.3: new code should use the alternativedepositSchemaProperty
methodSince 2.2since 2.6: use the overloaded method that takes 'unwrapSingle'since 2.8Since 2.12Since 2.8 use the other overloadsince 2.9since 2.7Since 2.7 useMapperConfigBase.getDefaultPropertyInclusion()
insteadSince 2.9; not needed any moreSince 2.9Since 2.9Since 2.7, useCollectionLikeType.upgradeFrom(edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.JavaType, edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.JavaType)
for constructing instances, given pre-resolvedSimpleType
.Since 2.12 just use instanceofSince 2.7, remove from 2.9Since 2.12 just use instanceofSince 2.7since 2.9 UseTypeFactory.constructParametricType(Class,JavaType...)
insteadsince 2.9 UseTypeFactory.constructParametricType(Class,Class...)
insteadSince 2.7Since 2.7 (accidentally removed in 2.7.0; added back in 2.7.1)Since 2.12Since 2.7 (accidentally removed in 2.7.0; added back in 2.7.1)Since 2.7 resolve raw type first, then find type parametersSince 2.7 resolve raw type first, then find type parametersSince 2.8, to indicate users should never call this method.Since 2.12Since 2.12 replaced withAccessorNamingStrategy
Since 2.12 replaced withAccessorNamingStrategy
Since 2.12 replaced withAccessorNamingStrategy
Since 2.12 replaced withAccessorNamingStrategy
Since 2.7 call variant that takes boolean flag.since 2.11 (just call Class method directly)since 2.11 (just call Class method directly)Since 2.12 (just call methods directly or check class name)Since 2.6 not used; may be removed before 3.xSince 2.12Since 2.12Since 2.12Since 2.12Since 2.12Since 2.8 (remove from 2.13 or later)Since 2.12Since 2.9Since 2.91.5 UseBase64.isBase64(byte[])
, will be removed in 2.0.edu.internet2.middleware.grouperClientExt.org.apache.commons.codec.digest.DigestUtils.getShaDigest()(1.11) UseDigestUtils.getSha1Digest()
(1.11) UseDigestUtils.sha1(byte[])
(1.11) UseDigestUtils.sha1(InputStream)
(1.11) UseDigestUtils.sha1(String)
edu.internet2.middleware.grouperClientExt.org.apache.commons.codec.digest.DigestUtils.shaHex(byte[]) (1.11) UseDigestUtils.sha1Hex(byte[])
(1.11) UseDigestUtils.sha1Hex(InputStream)
edu.internet2.middleware.grouperClientExt.org.apache.commons.codec.digest.DigestUtils.shaHex(String) (1.11) UseDigestUtils.sha1Hex(String)
(1.11) UsegetInitializedMac(HmacAlgorithms.HMAC_MD5, byte[])
(1.11) UsegetInitializedMac(HmacAlgorithms.HMAC_SHA_1, byte[])
(1.11) UsegetInitializedMac(HmacAlgorithms.HMAC_SHA_256, byte[])
(1.11) UsegetInitializedMac(HmacAlgorithms.HMAC_SHA_384, byte[])
(1.11) UsegetInitializedMac(HmacAlgorithms.HMAC_SHA_512, byte[])
(1.11) Usenew HmacUtils(HmacAlgorithms.HMAC_MD5, byte[]).hmac(byte[])
(1.11) Usenew HmacUtils(HmacAlgorithms.HMAC_MD5, byte[]).hmac(InputStream)
(1.11) Usenew HmacUtils(HmacAlgorithms.HMAC_MD5, String).hmac(String)
(1.11) Usenew HmacUtils(HmacAlgorithms.HMAC_MD5, byte[]).hmacHex(byte[])
(1.11) Usenew HmacUtils(HmacAlgorithms.HMAC_MD5, byte[]).hmacHex(InputStream)
(1.11) Usenew HmacUtils(HmacAlgorithms.HMAC_MD5, String).hmacHex(String)
(1.11) Usenew HmacUtils(HmacAlgorithms.HMAC_SHA_1, byte[]).hmac(byte[])
(1.11) Usenew HmacUtils(HmacAlgorithms.HMAC_SHA_1, byte[]).hmac(InputStream)
(1.11) Usenew HmacUtils(HmacAlgorithms.HMAC_SHA_1, String).hmac(String)
(1.11) Usenew HmacUtils(HmacAlgorithms.HMAC_SHA_1, byte[]).hmacHex(byte[])
(1.11) Usenew HmacUtils(HmacAlgorithms.HMAC_SHA_1, byte[]).hmacHex(InputStream)
(1.11) Usenew HmacUtils(HmacAlgorithms.HMAC_SHA_1, String).hmacHex(String)
(1.11) Usenew HmacUtils(HmacAlgorithms.HMAC_SHA_256, byte[]).hmac(byte[])
(1.11) Usenew HmacUtils(HmacAlgorithms.HMAC_SHA_256, byte[]).hmac(InputStream)
(1.11) Usenew HmacUtils(HmacAlgorithms.HMAC_SHA_256, String).hmac(String)
(1.11) Usenew HmacUtils(HmacAlgorithms.HMAC_SHA_256, byte[]).hmacHex(byte[])
(1.11) Usenew HmacUtils(HmacAlgorithms.HMAC_SHA_256, byte[]).hmacHex(InputStream)
(1.11) Usenew HmacUtils(HmacAlgorithms.HMAC_SHA_256, String).hmacHex(String)
(1.11) Usenew HmacUtils(HmacAlgorithms.HMAC_SHA_384, byte[]).hmac(byte[])
(1.11) Usenew HmacUtils(HmacAlgorithms.HMAC_SHA_384, byte[]).hmac(InputStream)
(1.11) Usenew HmacUtils(HmacAlgorithms.HMAC_SHA_384, String).hmac(String)
(1.11) Usenew HmacUtils(HmacAlgorithms.HMAC_SHA_384, byte[]).hmacHex(byte[])
(1.11) Usenew HmacUtils(HmacAlgorithms.HMAC_SHA_384, byte[]).hmacHex(InputStream)
(1.11) Usenew HmacUtils(HmacAlgorithms.HMAC_SHA_384, String).hmacHex(String)
(1.11) Usenew HmacUtils(HmacAlgorithms.HMAC_SHA_512, byte[]).hmac(byte[])
(1.11) Usenew HmacUtils(HmacAlgorithms.HMAC_SHA_512, byte[]).hmac(InputStream)
(1.11) Usenew HmacUtils(HmacAlgorithms.HMAC_SHA_512, String).hmac(String)
(1.11) Usenew HmacUtils(HmacAlgorithms.HMAC_SHA_512, byte[]).hmacHex(byte[])
(1.11) Usenew HmacUtils(HmacAlgorithms.HMAC_SHA_512, byte[]).hmacHex(InputStream)
(1.11) Usenew HmacUtils(HmacAlgorithms.HMAC_SHA_512, String).hmacHex(String)
UseMurmurHash3.hash128x64(byte[], int, int, int)
. This corrects the seed initialization.UseMurmurHash3.hash128x64(byte[])
using the bytes returned fromString.getBytes(java.nio.charset.Charset)
.edu.internet2.middleware.grouperClientExt.org.apache.commons.codec.digest.MurmurHash3.hash32(byte[]) UseMurmurHash3.hash32x86(byte[], int, int, int)
. This corrects the processing of trailing bytes.UseMurmurHash3.hash32x86(byte[], int, int, int)
. This corrects the processing of trailing bytes.UseMurmurHash3.hash32x86(byte[], int, int, int)
. This corrects the processing of trailing bytes.UseMurmurHash3.hash32x86(byte[], int, int, int)
. This corrects the processing of trailing bytes.edu.internet2.middleware.grouperClientExt.org.apache.commons.codec.digest.MurmurHash3.hash32(String) UseMurmurHash3.hash32x86(byte[], int, int, int)
with the bytes returned fromString.getBytes(java.nio.charset.Charset)
. This corrects the processing of trailing bytes.edu.internet2.middleware.grouperClientExt.org.apache.commons.codec.digest.MurmurHash3.hash64(byte[]) Not part of the MurmurHash3 implementation. Use half of the hash bytes fromMurmurHash3.hash128x64(byte[])
.Not part of the MurmurHash3 implementation. Use half of the hash bytes fromMurmurHash3.hash128x64(byte[], int, int, int)
.Not part of the MurmurHash3 implementation. Use half of the hash bytes fromMurmurHash3.hash128x64(byte[], int, int, int)
.Not part of the MurmurHash3 implementation. Use half of the hash bytes fromMurmurHash3.hash128x64(byte[])
with the bytes from theint
.Not part of the MurmurHash3 implementation. Use half of the hash bytes fromMurmurHash3.hash128x64(byte[])
with the bytes from thelong
.Not part of the MurmurHash3 implementation. Use half of the hash bytes fromMurmurHash3.hash128x64(byte[])
with the bytes from theshort
.since 1.9This feature is not needed since the encoding size must be constant. Will be removed in 2.0.This feature is not needed since the encoding size must be constant. Will be removed in 2.0.UseURLCodec.getDefaultCharset()
, will be removed in 2.0.UseAuthScheme.authenticate(Credentials, HttpMethod)
Produces an authorization string for the given set ofCredentials
, method name and URI using the given authentication scheme in response to the actual authorization challenge.no longer usedUseBasicScheme.authenticate(UsernamePasswordCredentials, String)
Returns a basic Authorization header value for the givenUsernamePasswordCredentials
.no longer useduse AuthSchemeuse AuthSchemeuse AuthSchemeuse AuthSchemeUse non-staticNTLMScheme.authenticate(Credentials, HttpMethod)
Use non-staticNTLMScheme.authenticate(Credentials, HttpMethod)
no longer usedno longer usedno longer usedUse #getElementsUse #parseElements(String).use HostParamsno longer usedno longer used#setHost(String, int, Protocol)use #getHostConfiguration()use #getHostConfiguration()UseDefaultHttpParams.getParameter(String)
to exercise a more granular control over HTTP protocol strictness.UseDefaultHttpParams.setParameter(String, Object)
to exercise a more granular control over HTTP protocol strictness.no longer applicableedu.internet2.middleware.grouperClientExt.org.apache.commons.httpclient.HttpConnection.print(String) UseHttpConnection.print(String, String)
Writes the specified String (as bytes) to the output stream.UseHttpConnection.printLine(String, String)
Writes the specified String (as bytes), followed by "\r\n".getBytes() to the output stream.use #readLine(String)no longer applicableunusedUse #getConnectionWithTimeout(HostConfiguration, long)HttpClient no longer uses this for itself. It is only provided for compatibility with existing clients, and will be removed in a future release.HttpClient no longer uses this for itself. It is only provided for compatibility with existing clients, and will be removed in a future release.HttpClient no longer uses this for itself. It is only provided for compatibility with existing clients, and will be removed in a future release.HttpClient no longer uses this for itself. It is only provided for compatibility with existing clients, and will be removed in a future release.no longer applicableUseHttpParams.setParameter(String, Object)
to exercise a more granular control over HTTP protocol strictness.no longer supported and will be removed in the future version of HttpClientUseHttpParams.setParameter(String, Object)
to exercise a more granular control over HTTP protocol strictness.use #getHostAuthState()no longer applicableuseHttpMethodParams
use #getProxyAuthState()no longer used Returns the number of "recoverable" exceptions thrown and handled, to allow for monitoring the quality of the connection.UseHttpParams.setParameter(String, Object)
to exercise a more granular control over HTTP protocol strictness.no longer supported and will be removed in the future version of HttpClientno longer applicableuseHttpMethodParams
UseHttpParams.setParameter(String, Object)
to exercise a more granular control over HTTP protocol strictness.use #parseHeaders(InputStream, String)use #readLine(InputStream, String)use CookieSpec#match(String, int, String, boolean, Cookie)use #getCredentials(AuthScope)use #getProxyCredentials(AuthScope)use #setCredentials(AuthScope, Credentials)use #setProxyCredentials(AuthScope, Credentials)no longer supported and will be removed in the future version of HttpClientUseHttpMethodParams
UseHttpMethodParams
no longer supported and will be removed in the future version of HttpClientUseHttpMethodParams
edu.internet2.middleware.grouperClientExt.org.apache.commons.httpclient.methods.HeadMethod.recycle()no longer supported and will be removed in the future version of HttpClientUseHttpMethodParams
uses a constant string. Rather usePart.getPartBoundary()
no longer supported and will be removed in the future version of HttpClientonly entity enclosing methods set content length headerno longer supported and will be removed in the future version of HttpClientUse #getConnectionWithTimeout(HostConfiguration, long)Do not use. The NTCredentials objects should be immutableDo not use. The NTCredentials objects should be immutableUse #getConnectionWithTimeout(HostConfiguration, long)You should instead callThrowable.getMessage()
.Callers should instead set this via a parameter to the constructor.Callers should set the reason code as a parameter to the constructor.Do not use. The UsernamePasswordCredentials objects should be immutableDo not use. The UsernamePasswordCredentials objects should be immutableuse edu.internet2.middleware.grouperClientExt.org.apache.commons.codec.net.URLCodecuse edu.internet2.middleware.grouperClientExt.org.apache.commons.codec.net.URLCodecDo not use; will be removed in a later versionDo not use; will be removed in a later versionDo not useDo not useUseJexlEngine.parse(CharSequence, JexlInfo, Scope)
insteadedu.internet2.middleware.grouperClientExt.org.apache.commons.jexl2.parser.SimpleCharStream.getLine()this method has been superseded byArrayUtils.insert(int, boolean[], boolean...)
and may be removed in a future release. Please note the handling ofnull
input arrays differs in the new method: insertingX
into anull
array results innull
notX
.edu.internet2.middleware.grouperClientExt.org.apache.commons.lang3.ArrayUtils.add(byte[], int, byte) this method has been superseded byArrayUtils.insert(int, byte[], byte...)
and may be removed in a future release. Please note the handling ofnull
input arrays differs in the new method: insertingX
into anull
array results innull
notX
.edu.internet2.middleware.grouperClientExt.org.apache.commons.lang3.ArrayUtils.add(char[], int, char) this method has been superseded byArrayUtils.insert(int, char[], char...)
and may be removed in a future release. Please note the handling ofnull
input arrays differs in the new method: insertingX
into anull
array results innull
notX
.this method has been superseded byArrayUtils.insert(int, double[], double...)
and may be removed in a future release. Please note the handling ofnull
input arrays differs in the new method: insertingX
into anull
array results innull
notX
.this method has been superseded byArrayUtils.insert(int, float[], float...)
and may be removed in a future release. Please note the handling ofnull
input arrays differs in the new method: insertingX
into anull
array results innull
notX
.this method has been superseded byArrayUtils.insert(int, int[], int...)
and may be removed in a future release. Please note the handling ofnull
input arrays differs in the new method: insertingX
into anull
array results innull
notX
.edu.internet2.middleware.grouperClientExt.org.apache.commons.lang3.ArrayUtils.add(long[], int, long) this method has been superseded byArrayUtils.insert(int, long[], long...)
and may be removed in a future release. Please note the handling ofnull
input arrays differs in the new method: insertingX
into anull
array results innull
notX
.this method has been superseded byArrayUtils.insert(int, short[], short...)
and may be removed in a future release. Please note the handling ofnull
input arrays differs in the new method: insertingX
into anull
array results innull
notX
.this method has been superseded byinsert(int, T[], T...)
and may be removed in a future release. Please note the handling ofnull
input arrays differs in the new method: insertingX
into anull
array results innull
notX
.this method has been replaced byjava.util.Objects.deepEquals(Object, Object)
and will be removed from future releases.Please useCharset.isSupported(String)
instead, although be aware thatnull
values are not accepted by that method and anIllegalCharsetNameException
may be thrown.edu.internet2.middleware.grouperClientExt.org.apache.commons.lang3.CharUtils.toCharacterObject(char) Java 5 introducedCharacter.valueOf(char)
which caches chars 0 through 127.This feature will be removed in Lang 4.0, useThrowable.getCause()
insteadThis feature will be removed in Lang 4.0, useThrowable.getCause()
insteadThis feature will be removed in Lang 4.0edu.internet2.middleware.grouperClientExt.org.apache.commons.lang3.math.NumberUtils.isNumber(String) This feature will be removed in Lang 4.0, useNumberUtils.isCreatable(String)
insteadthis method has been replaced byjava.util.Objects.equals(Object, Object)
in Java 7 and will be removed from future releases.this method has been replaced byjava.util.Objects.hashCode(Object)
in Java 7 and will be removed in future releasesthis method has been replaced byjava.util.Objects.hash(Object...)
in Java 7 and will be removed in future releases.as of 3.6, because StrBuilder was moved to commons-text, use one of the otheridentityToString
methods insteadthis method has been replaced byjava.util.Objects.toString(Object)
in Java 7 and will be removed in future releases. Note however that said method will return "null" for null references, while this method returns an empty String. To preserve behavior usejava.util.Objects.toString(myObject, "")
this method has been replaced byjava.util.Objects.toString(Object, String)
in Java 7 and will be removed in future releases.As of Java 12, we can no longer drop thefinal
modifier, thus rendering this method obsolete. The JDK discussion about this change can be found here: http://mail.openjdk.java.net/pipermail/core-libs-dev/2018-November/056486.htmledu.internet2.middleware.grouperClientExt.org.apache.commons.lang3.StringUtils.chomp(String, String) This feature will be removed in Lang 4.0, useStringUtils.removeEnd(String, String)
insteadas of 3.6, use commons-text FuzzyScore insteadas of 3.6, use commons-text JaroWinklerDistance insteadas of 3.6, use commons-text LevenshteinDistance insteadas of 3.6, use commons-text LevenshteinDistance insteadMoved to RegExUtils.Moved to RegExUtils.Moved to RegExUtils.Moved to RegExUtils.Moved to RegExUtils.Moved to RegExUtils.useStringUtils.toEncodedString(byte[], Charset)
instead of String constants in your codeUse {FastDatePrinter.format(Date)
, {FastDatePrinter.format(Calendar)
, {FastDatePrinter.format(long)
, or {FastDatePrinter.format(Object)
Never invoked by this class; subclasses should not assume it will be.Never invoked by this class; subclasses should not assume it will be.Never invoked by this class; subclasses should not assume it will be.Never invoked by this class; subclasses should not assume it will be.Never invoked by this class; subclasses should not assume it will be.
-
Deprecated ConstructorsConstructorDescriptionsince 2.12 Use the constructor that takes
TokenFilter.Inclusion
argument instead.Since 2.10edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.core.JsonGenerationException(String) Use variant that takes group and artifact idsSince 2.9Since 2.10in 2.12, remove from 3.0in 2.12, remove from 3.0Since 2.9Since 2.11 use factory method insteadsince 2.11in 2.9 (remove from 3.0)Since 2.9Since 2.10.1Since 2.7 use constructor that takesJavaType
insteadSince 2.6 use variant takes type argumentsSince 2.7Since 2.7 Use variant that takesJsonParser
Since 2.7 Use variant that takesJsonParser
Since 2.7Since 2.7Since 2.12Since 2.7 Use variant that takesJsonParser
insteadSince 2.7 Use variant that takesJsonParser
insteadSince 2.7 Use variant that takesJsonParser
insteadSince 2.7 Use variant that takesJsonParser
insteadSince 2.10 use variant that takesPolymorphicTypeValidator
Since 2.10Since 2.6Since 2.6since 2.6: use the overloaded method that takes 'unwrapSingle'Since 2.6 Use variants that either take 'src', or do NOT pass BeanPropertysince 2.6Since 2.12in 2.12, remove from 3.0// since 2.9in 2.12, remove from 3.0since 2.14Since 2.12Since 2.12Since 2.12 (remove from 2.13+ not part of public API)Since 2.13since 1.11; only useful to preserve binary compatibilitysince 1.11; only useful to preserve binary compatibilityCreating an instance without aStringEncoder
leads to aNullPointerException
. Will be removed in 2.0.Use parameterless constructor andAuthScheme.processChallenge(String)
methodUse parameterless constructor andAuthScheme.processChallenge(String)
methodUse parameterless constructor andAuthScheme.processChallenge(String)
methodUse parameterless constructor andAuthScheme.processChallenge(String)
methoduse #ConnectMethod(HttpHost); Create a connect method.the wrapped method is no longer used Create a connect method wrapping the existing methoduseContentLengthInputStream(InputStream, long)
Creates a new length limited streamuse #HttpConnection(String, int, String, int, Protocol)useStringRequestEntity(String, String, String)
insteadDo not use. Null user name, domain & host no longer allowedUse the constructor that uses ProtocolSocketFactory, this version of the constructor is only kept for backwards API compatibility.Use #URI(String, boolean)Use #URI(String, boolean, String)Use #URI(URI, String, boolean)Use #URI(String, boolean)Use #URI(String, boolean, String)Do not use. Null user name no longer allowed
-
Deprecated Enum ConstantsEnum ConstantDescriptionSince 2.10 use
JsonWriteFeature.ESCAPE_NON_ASCII
insteadSince 2.10 useJsonWriteFeature.QUOTE_FIELD_NAMES
insteadSince 2.10 useJsonWriteFeature.WRITE_NAN_AS_STRINGS
insteadUseStreamWriteFeature.USE_FAST_DOUBLE_WRITER
insteadUseJsonWriteFeature.WRITE_HEX_UPPER_CASE
insteadSince 2.10 useJsonWriteFeature.WRITE_NUMBERS_AS_STRINGS
insteadSince 2.10 useJsonReadFeature.ALLOW_BACKSLASH_ESCAPING_ANY_CHARACTER
insteadSince 2.10 useJsonReadFeature.ALLOW_MISSING_VALUES
insteadSince 2.10 useJsonReadFeature.ALLOW_NON_NUMERIC_NUMBERS
insteadSince 2.10 useJsonReadFeature.ALLOW_LEADING_ZEROS_FOR_NUMBERS
insteadSince 2.10 useJsonReadFeature.ALLOW_TRAILING_COMMA
insteadSince 2.10 useJsonReadFeature.ALLOW_UNESCAPED_CONTROL_CHARS
insteadSince 2.8 there are better mechanism for specifying filtering; specifically usingJsonInclude
or configuration overrides.Since 2.9 there are better mechanism for specifying filtering; specifically usingJsonInclude
or configuration overrides (seeObjectMapper.configOverride(Class)
}).As of release 3.5, replaced byJavaVersion.JAVA_9
-
Deprecated Annotation Interface ElementsAnnotation Interface ElementDescriptionAs of Jackson 2.0, this annotation has been replaced by
JsonInclude
(since 2.1) -- support will be dropped in future, since JSON-as-String is fundamentally bad way for customizing anything. No direct replacements offered.(since 2.1) -- support will be dropped in future, since JSON-as-String is fundamentally bad way for customizing anything. No direct replacements offered.