Deprecated API
Contents
-
ElementDescriptionuse
PathMappings.getMatched(String)
insteaduse anyHttpClientTransport
withClientConnector.forUnixDomain(Path)
instead (requires Java 16 or later)Use UnixDomainServerConnector from the jetty-unixdomain-server module instead (requires Java 16 or later).useString(byte[], int, int, Charset)
insteadThis class has been renamed toAdaptiveExecutionStrategy
useUrlEncoded.decodeTo(String, MultiMap, Charset)
instead
-
InterfaceDescriptionuse
Request.Content
instead, orContentProvider.toRequestContent(ContentProvider)
to convert ContentProvider toRequest.Content
.useRequest.Content
insteadno replacement, useRequest.Content
instead.
-
ClassDescriptionDo not use it, use
CyclicTimeouts
instead.useAbstractRequestContent
instead.useByteBufferRequestContent
instead.useBytesRequestContent
instead.useAsyncRequestContent
instead.useFormRequestContent
instead.useInputStreamRequestContent
insteaduseMultiPartRequestContent
instead.useOutputStreamRequestContent
insteadusePathRequestContent
instead.useStringRequestContent
instead.unused as of 9.4.28 due for removal in 10.0.0class unused as of 9.4.28 due for removal in 10.0.0use MsieRuleNo replacement provided or available. Migrate to jetty-home (and use${jetty.base}
directory).Prefer usingSslClientCertAuthenticator
This class is no longer required as ERROR dispatch is only done if there is an error page target.useSymlinkAllowedResourceAliasChecker
instead.useAllowedResourceAliasChecker
instead.Replaced by org.eclipse.jetty.http.MultiPartFormInputStream The code for MultiPartInputStream is slower than its replacement MultiPartFormInputStream. However this class accepts formats non compliant the RFC that the new MultiPartFormInputStream does not accept.UseDetectorConnectionFactory
with aSslConnectionFactory
instead.useAllowedResourceAliasChecker
instead.use anyHttpClientTransport
withClientConnector.forUnixDomain(Path)
instead (requires Java 16 or later)Use UnixDomainServerConnector from the jetty-unixdomain-server module instead (requires Java 16 or later).this class is redundant now thatLifeCycle.Listener
has default methods.useorg.eclipse.jetty.server.StateLifeCycleListener
insteadThis class has been renamed toAdaptiveExecutionStrategy
-
FieldDescriptionequivalent to DEFAULTequivalent to RFC3986
-
MethodDescriptionuse
Request.body(Content)
insteaduseRequest.body(Content)
insteaduseRequest.getBody()
insteaduseRequest.headers(Consumer)
insteaduseRequest.headers(Consumer)
insteaddo not use, as the maxMultiplex value is pulled, rather than pushedreplaced byHttpClient.getDestinationIdleTimeout()
useClientConnector.isTCPNoDelay()
insteadno replacement, do not use itreplaced byHttpClient.setDestinationIdleTimeout(long)
, calls the latter with a value of 10000 ms.useClientConnector.setTCPNoDelay(boolean)
insteaduseHttpClientTransport.connect(SocketAddress, Map)
instead.Use getContextPath instead.Not usedusePathSpec.from(String)
insteadusePathMappings.getMatched(String)
insteadusePathSpec.matched(String)
insteadusePathSpec.matched(String)
insteadusePathSpec.matched(String)
insteaduseServletPathSpec.matched(String)
#MatchedPath.getPathInfo()
instead.useSession.getLocalSocketAddress()
insteaduseSession.getRemoteSocketAddress()
insteaduseHpackDecoder.setMaxTableCapacity(int)
insteaduseEndPoint.getLocalSocketAddress()
insteaduseEndPoint.getRemoteSocketAddress()
instead.useCompactPathRule
withRewriteHandler
instead.for custom DeflaterPool settings useGzipHandler.setDeflaterPool(DeflaterPool)
.for custom InflaterPool settings useGzipHandler.setInflaterPool(InflaterPool)
.for custom DeflaterPool settings useGzipHandler.setDeflaterPool(DeflaterPool)
.for custom InflaterPool settings useGzipHandler.setInflaterPool(InflaterPool)
.useInetAccessHandler.include(String)
instead.useInetAccessHandler.include(String)
instead.useInetAccessHandler.include(String)
instead.useInetAccessHandler.include(String)
instead.no replacement provideduse getParts().isEmpty()no replacement provided.no replacement offered.no replacement offered.useServer.addBeanToAllConnectors(Object)
instead.useAbstractSessionCache.release(String, Session)
insteadAs of Servlet 2.2, this method is replaced bySession.getAttributeNames()
useSessionCache.release(String, Session)
insteadUseServletHandler.getMatchedServlet(String)
insteaduseServletHandler.getMatchedServlet(String)
insteaduseModule.getAfter()
insteaduseStartArgs.getSelectedModules()
insteaduseStartArgs.getJvmArgSources()
instead, as it will return source references with each arg.useJSON.setArrayConverter(Function)
instead.MaxUsage functionalities will be removedMultiplex functionalities will be removedMultiplex functionalities will be removedMaxUsage functionalities will be removedMaxUsage functionalities will be removedUsePool.reserve()
insteadMultiplex functionalities will be removedMaxUsage functionalities will be removedno replacementno replacementuseString(byte[], int, int, Charset)
insteaduseStringUtil.fromHexString(String)
insteaduseStringUtil.toHexString(byte)
insteaduseStringUtil.toHexString(byte[])
insteaduseStringUtil.toHexString(byte[], int, int)
insteaduseUrlEncoded.decodeTo(String, MultiMap, Charset)
insteaduseWebSocketConnection.getLocalSocketAddress()
insteaduseWebSocketConnection.getRemoteSocketAddress()
instead
-
Enum ConstantDescriptionUse SPECIAL_CHARS_IN_QUOTESno replacement because was mistakenly considered a violation
PathSpec.from(String)
instead