Deprecated API
Contents
-
ElementDescriptionRacy API. Do not use. There is no replacement.Racy API. Do not use. There is no replacement.Racy API. Do not use. There is no replacement.replaced by
AbstractConnectionPool.onRemoved(Connection)
useHttpDestination(HttpClient, Origin)
insteadUseServletContextHandler.ENVIRONMENT
instead.Use org.eclipse.jetty.util.ClassMatcheruseConfiguration.getHiddenClasses()
insteaduseConfiguration.getProtectedClasses()
insteaduseWebAppClassLoading.HIDDEN_CLASSES_ATTRIBUTE
instead.useWebAppClassLoading.PROTECTED_CLASSES_ATTRIBUTE
instead.this method is no longer usedthis method is no longer neededuseComplianceViolation.Listener.onComplianceViolation(Event)
instead. Will be removed in Jetty 12.1.0Useorg.eclipse.jetty.server.CookieCache
useHttpDateTime
insteaduseHttpDateTime.parseToEpoch(String)
insteaduseComplianceViolation.CapturingListener.VIOLATIONS_ATTR_KEY
instead.
(Note: new ATTR captures all Compliance violations, not just HTTP.
Make sure you haveHttpConnectionFactory.setRecordHttpComplianceViolations(true)
.
Also make sure that aComplianceViolation.CapturingListener
has been added as a bean to either theConnector
orServer
for the Attribute to be created.)useQuicServerConnector
insteadreplaced byTransport
replaced byTransport
replaced byTransport
replaced byTransport.TCPUnix
replaced byTransport.isIntrinsicallySecure()
useTransport
insteadno replacementuseContent.Source.asByteBuffer(Source, Promise)
insteadno replacementno replacementinstances of this class can only be created by the implementationfunctionality removed, no replacementreplaced byTransport
useComponents.getExecutor()
insteadDo not override. No longer invoked by Jetty.useHttpConfiguration.getComplianceViolationListeners()
instead to know if there are anyComplianceViolation.Listener
to notify. this method will be removed in Jetty 12.1.0useHttpConfiguration.addComplianceViolationListener(ComplianceViolation.Listener)
instead. this method will be removed in Jetty 12.1.0useHttpConnection(HttpConfiguration, Connector, EndPoint)
instead. Will be removed in Jetty 12.1.0No replacement, no longer used withinHttpConnection
, will be removed in Jetty 12.1.0useAbstractSessionManager.isUsingUriParameters()
instead, will be removed in Jetty 12.1.0useAbstractSessionManager.setUsingUriParameters(boolean)
instead, will be removed in Jetty 12.1.0cache is no longer supported. UseConcurrentPool.StrategyType.THREAD_ID
cache is no longer supported. UseConcurrentPool.StrategyType.THREAD_ID
useIO.copyDir(Path, Path)
instead to avoid foreign target behavior across FileSystems.Using ResourceFactoryInternals.isSupported() instead.useResource.newInputStream()
orIOResources
instead.useResourceFactory.newClassLoaderResource(String, boolean)
instead, will be removed in Jetty 12.1.0useResourceFactory.newClassLoaderResource(String)
orResourceFactory.newClassLoaderResource(String, boolean)
instead, will be removed in Jetty 12.1.0use {#link getCredential} instead.use {#link newCredential} instead.useString(byte[], int, int, Charset)
insteadThis class has been renamed toAdaptiveExecutionStrategy
useScheduledExecutorScheduler
instead.useURIUtil.correctURI(URI)
instead, will be removed in Jetty 12.1.0useUrlEncoded.decodeTo(String, MultiMap, Charset)
instead
-
InterfaceDescriptionfunctionality removed, no replacement
-
ClassDescriptionUse
CompletableResponseListener
insteadNo replacement provided or available. Migrate to jetty-home (and use${jetty.base}
directory).UseCrossOriginHandler
insteaduseQoSHandler
instead.Use org.eclipse.jetty.util.ClassMatcherUseorg.eclipse.jetty.server.CookieCache
useHttpDateTime
insteaduseQuicServerConnector
insteadreplaced byTransport
replaced byTransport
replaced byTransport
UseHandler.Abstract
UseDetectorConnectionFactory
with aSslConnectionFactory
instead.this class is redundant now thatLifeCycle.Listener
has default methods.useorg.eclipse.jetty.server.StateLifeCycleListener
insteadThis class has been renamed toAdaptiveExecutionStrategy
useScheduledExecutorScheduler
instead.
-
FieldDescriptionUse
ServletContextHandler.ENVIRONMENT
instead.useWebAppClassLoading.HIDDEN_CLASSES_ATTRIBUTE
instead.useWebAppClassLoading.PROTECTED_CLASSES_ATTRIBUTE
instead.useComplianceViolation.CapturingListener.VIOLATIONS_ATTR_KEY
instead.
(Note: new ATTR captures all Compliance violations, not just HTTP.
Make sure you haveHttpConnectionFactory.setRecordHttpComplianceViolations(true)
.
Also make sure that aComplianceViolation.CapturingListener
has been added as a bean to either theConnector
orServer
for the Attribute to be created.)Using ResourceFactoryInternals.isSupported() instead.
-
MethodDescriptionRacy API. Do not use. There is no replacement.Racy API. Do not use. There is no replacement.Racy API. Do not use. There is no replacement.replaced by
AbstractConnectionPool.onRemoved(Connection)
useHttpClientTransport.connect(SocketAddress, Map)
instead.User ID no longer supportedPriority no longer supportedSession tracking is no longer supportedSession tracking is no longer supporteduseConfiguration.getHiddenClasses()
insteaduseConfiguration.getProtectedClasses()
insteadthis method is no longer usedthis method is no longer neededuseComplianceViolation.Listener.onComplianceViolation(Event)
instead. Will be removed in Jetty 12.1.0useHttpDateTime.parseToEpoch(String)
insteaduseHttpField.getValueParameters(String, Map)
insteadusePathSpec.matched(String)
insteadusePathSpec.matched(String)
insteaduseServletPathSpec.matched(String)
#MatchedPath.getPathInfo()
instead.useSession.getLocalSocketAddress()
insteaduseSession.getRemoteSocketAddress()
insteadThis API is experimental and may be removed in future releasesreplaced byTransport.TCPUnix
replaced byTransport.isIntrinsicallySecure()
useTransport
insteadno replacementuseContent.Source.asByteBuffer(Source, Promise)
insteadno replacementno replacementuseEndPoint.getLocalSocketAddress()
insteaduseEndPoint.getRemoteSocketAddress()
instead.useComponents.getExecutor()
insteadDo not override. No longer invoked by Jetty.OverrideEventsHandler.onComplete(Request, int, HttpFields, Throwable)
instead.useStatisticsHandler.getRequestTotal()
instead.useHttpConfiguration.getComplianceViolationListeners()
instead to know if there are anyComplianceViolation.Listener
to notify. this method will be removed in Jetty 12.1.0useHttpConfiguration.addComplianceViolationListener(ComplianceViolation.Listener)
instead. this method will be removed in Jetty 12.1.0No replacement, no longer used withinHttpConnection
, will be removed in Jetty 12.1.0useAbstractSessionManager.isUsingUriParameters()
instead, will be removed in Jetty 12.1.0useAbstractSessionManager.setUsingUriParameters(boolean)
instead, will be removed in Jetty 12.1.0useModule.getAfter()
insteaduseJSON.setArrayConverter(Function)
instead.useClassMatcher
directly.useIO.copyDir(Path, Path)
instead to avoid foreign target behavior across FileSystems.useResource.newInputStream()
orIOResources
instead.useResourceFactory.newClassLoaderResource(String, boolean)
instead, will be removed in Jetty 12.1.0useResourceFactory.newClassLoaderResource(String)
orResourceFactory.newClassLoaderResource(String, boolean)
instead, will be removed in Jetty 12.1.0use {#link getCredential} instead.use {#link newCredential} instead.no replacementno replacementuseString(byte[], int, int, Charset)
insteaduseURIUtil.correctURI(URI)
instead, will be removed in Jetty 12.1.0This method is currently resolving relative paths against the current directory, which is a mechanism that should be implemented by aResourceFactory
. All calls to this method need to be reviewed.useUrlEncoded.decodeTo(String, MultiMap, Charset)
insteaduseUrlEncoded.decodeUtf8To(String, int, int, Fields)
instead.useUrlEncoded.decodeUtf8To(String, Fields)
instead.useWebSocketConnection.getLocalSocketAddress()
insteaduseWebSocketConnection.getRemoteSocketAddress()
instead
-
ConstructorDescriptionuse
HttpDestination(HttpClient, Origin)
insteadreplaced byTransport
instances of this class can only be created by the implementationuseHttpConnection(HttpConfiguration, Connector, EndPoint)
instead. Will be removed in Jetty 12.1.0cache is no longer supported. UseConcurrentPool.StrategyType.THREAD_ID
cache is no longer supported. UseConcurrentPool.StrategyType.THREAD_ID
useClientUpgradeRequest()
instead.
-
Enum ConstantDescriptionUse SPECIAL_CHARS_IN_QUOTESno replacement because was mistakenly considered a violation