Top For Removal Deprecated
Core :: Utilities 12.0.6

Deprecated API


Terminally Deprecated Item Summary

SinceTerminally Deprecated Item and Description
10
10
org.eclipse.jetty.util.UrlEncoded.decodeTo(String
the string containing the encoded parameters
content
,
MultiMap<String>
the MultiMap to put parsed query parameters into
map
,
String
the charset to use for decoding
charset
)

use decodeTo(String, MultiMap, Charset) instead

12.0.4
org.eclipse.jetty.util.resource.PathResource.SUPPORTED_SCHEMES

Using ResourceFactoryInternals.isSupported() instead.

12.0.2

Returns:

Resource, or null if string points to a location that does not exist
org.eclipse.jetty.util.resource.ResourceFactory.newClassPathResource
(String
the relative name of the resource
resource
)

use newClassLoaderResource(String, boolean) instead, will be removed in Jetty 12.1.0

12.0.2

Returns:

The new Resource, or null if string points to a location that does not exist
org.eclipse.jetty.util.resource.ResourceFactory.newSystemResource
(String
Resource as string representation
resource
)

use newClassLoaderResource(String) or newClassLoaderResource(String, boolean) instead, will be removed in Jetty 12.1.0

Deprecated Item Summary

SinceDeprecated Item and Description
org.eclipse.jetty.util.ArrayTernaryTrie.Growing._trie

Deprecated as a consequence of ArrayTernaryTrie being deprecated. See corresponding docs for further information.

org.eclipse.jetty.util.AttributesMap.AttributesMap(AttributesMap attributes)

Deprecated as a consequence of AttributesMap being deprecated. See corresponding docs for further information.

org.eclipse.jetty.util.ConcurrentPool.ConcurrentPool(ConcurrentPool.StrategyType
the strategy to used to lookup entries
strategyType
,
int
the maximum number of pooled entries
maxSize
,
boolean
whether a ThreadLocal cache should be used for the most recently released entry
cache
)

cache is no longer supported. Use StrategyType#THREAD_ID

org.eclipse.jetty.util.ConcurrentPool.ConcurrentPool(ConcurrentPool.StrategyType
the strategy to used to lookup entries
strategyType
,
int
the maximum number of pooled entries
maxSize
,
boolean
whether a ThreadLocal cache should be used for the most recently released entry
cache
,
ToIntFunction<P>
a function that given the pooled object returns the max multiplex count
maxMultiplex
)

cache is no longer supported. Use StrategyType#THREAD_ID

Returns:

true if the string ends with the substring, ignoring StandardCharsets#US_ASCII case differences.
org.eclipse.jetty.util.StringUtil.endsWithIgnoreCase
(String
The string to check
string
,
String
The sub string to look for as a suffix
suffix
)

Use asciiEndsWithIgnoreCase(String, String)

Returns:

true if the string ends with the substring, ignoring StandardCharsets#US_ASCII case differences.
org.eclipse.jetty.util.StringUtil.startsWithIgnoreCase
(String
The string to check
string
,
String
The sub string to look for as a prefix
prefix
)

Use asciiEndsWithIgnoreCase(String, String)

org.eclipse.jetty.util.UrlEncoded.decodeUtf8To(String
the URI query string.
query
,
MultiMap<String>
the MultiMap to store the fields.
map
)

use decodeUtf8To(String, Fields) instead.

org.eclipse.jetty.util.UrlEncoded.decodeUtf8To(String
the string containing the encoded parameters
query
,
int
the offset within raw to decode from
offset
,
int
the length of the section to decode
length
,
MultiMap<String>
the MultiMap to populate
map
)

use decodeUtf8To(String, int, int, Fields) instead.

org.eclipse.jetty.util.component.FileNoticeLifeCycleListener

use org.eclipse.jetty.server.StateLifeCycleListener instead

org.eclipse.jetty.util.ssl.SslContextFactory.processIncludeCipherSuites(String[] supportedCipherSuites, List<String> selectedCiphers)

no replacement