Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionuse
PathMappings.getMatched(String)insteaduseCompactPathRulewithRewriteHandlerinstead. Will be removed from ee10 onwards.useCompactPathRulewithRewriteHandlerinstead. Will be removed from ee10 onwards.use anyHttpClientTransportwithClientConnector.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 toAdaptiveExecutionStrategyuseUrlEncoded.decodeTo(String, MultiMap, Charset)instead
-
Deprecated InterfacesInterfaceDescriptionuse
Request.Contentinstead, orContentProvider.toRequestContent(ContentProvider)to convert ContentProvider toRequest.Content.useRequest.Contentinsteadno replacement, useRequest.Contentinstead.
-
Deprecated ClassesClassDescriptionDo not use it, use
CyclicTimeoutsinstead.useAbstractRequestContentinstead.useByteBufferRequestContentinstead.useBytesRequestContentinstead.useAsyncRequestContentinstead.useFormRequestContentinstead.useInputStreamRequestContentinsteaduseMultiPartRequestContentinstead.useOutputStreamRequestContentinsteadusePathRequestContentinstead.useStringRequestContentinstead.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 usingSslClientCertAuthenticatorThis class is no longer required as ERROR dispatch is only done if there is an error page target.useSymlinkAllowedResourceAliasCheckerinstead.useAllowedResourceAliasCheckerinstead.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.UseDetectorConnectionFactorywith aSslConnectionFactoryinstead.useAllowedResourceAliasCheckerinstead.use anyHttpClientTransportwithClientConnector.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.Listenerhas default methods.useorg.eclipse.jetty.server.StateLifeCycleListenerinsteadThis class has been renamed toAdaptiveExecutionStrategy
-
Deprecated FieldsFieldDescriptionequivalent to DEFAULTequivalent to RFC3986
-
Deprecated MethodsMethodDescriptionuse
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.useCompactPathRulewithRewriteHandlerinstead. Will be removed from ee10 onwards.useCompactPathRulewithRewriteHandlerinstead. Will be removed from ee10 onwards.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
-
Deprecated Constructors
-
Deprecated Enum ConstantsEnum ConstantDescriptionUse SPECIAL_CHARS_IN_QUOTESno replacement because was mistakenly considered a violation
PathSpec.from(String)instead