Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionthis class is redundant now that
LifeCycle.Listenerhas default methods.useIO.copyDir(Path, Path)instead to avoid foreign target behavior across FileSystems.Using ResourceFactoryInternals.isSupported() instead.useResource.newInputStream()orIOResourcesinstead.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.0useScanner.BulkListener.pathsChanged(Map)insteaduseScanner.BulkListener.pathsChanged(Map)instead.use {#link getCredential} instead.use {#link newCredential} instead.useString(byte[], int, int, Charset)insteaduseQueuedThreadPool.getCurrentReservedThreads()insteadThe term available can be applied to either idle or reserved threads, but not both. UseQueuedThreadPool.getCurrentReservedThreads()orQueuedThreadPool.getIdleThreads()instead.The combination of idle and reserved threads is essentially meaningless.This class has been renamed toAdaptiveExecutionStrategyuseScheduledExecutorSchedulerinstead.useURIUtil.correctURI(URI)instead, will be removed in Jetty 12.1.0useUrlEncoded.decodeTo(String, MultiMap, Charset)instead
-
Deprecated Interfaces
-
Deprecated ClassesClassDescriptionthis class is redundant now that
LifeCycle.Listenerhas default methods.useorg.eclipse.jetty.server.StateLifeCycleListenerinsteadThis class has been renamed toAdaptiveExecutionStrategyuseScheduledExecutorSchedulerinstead.
-
Deprecated FieldsFieldDescriptionUsing ResourceFactoryInternals.isSupported() instead.
-
Deprecated MethodsMethodDescriptionuse
ClassMatcherdirectly.useIO.copyDir(Path, Path)instead to avoid foreign target behavior across FileSystems.useResource.newInputStream()orIOResourcesinstead.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.0useScanner.BulkListener.pathsChanged(Map)insteaduseScanner.BulkListener.pathsChanged(Map)instead.use {#link getCredential} instead.use {#link newCredential} instead.no replacementno replacementuseString(byte[], int, int, Charset)insteaduseQueuedThreadPool.getCurrentReservedThreads()insteadThe term available can be applied to either idle or reserved threads, but not both. UseQueuedThreadPool.getCurrentReservedThreads()orQueuedThreadPool.getIdleThreads()instead.The combination of idle and reserved threads is essentially meaningless.useURIUtil.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.