Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionthe growth factor isn't used anymorethe growth factor isn't used anymorethe growth strategy has changed and doesn't use this constant anymore.this 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.useConstantThrowableinsteaduseString(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.useScheduledExecutorSchedulerinstead.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.StateLifeCycleListenerinsteaduseScheduledExecutorSchedulerinstead.
-
Deprecated Exception Classes
-
Deprecated FieldsFieldDescriptionthe growth strategy has changed and doesn't use this constant anymore.Using 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.
-
Deprecated ConstructorsConstructorDescriptionthe growth factor isn't used anymorethe growth factor isn't used anymore