Skip navigation links
Apache Tomcat® 9.0.94
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Interfaces
  • Classes
  • Exceptions
  • Fields
  • Methods
  • Constructors
  • Enum Constants
  • Deprecated Interfaces
    Interface
    Description
    org.apache.tomcat.jni.BIOCallback
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.PasswordCallback
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.PoolCallback
    The scope of the APR/Native Library will be reduced in Tomcat 10.1.x / Tomcat Native 2.x onwards to only include those components required to provide OpenSSL integration with the NIO and NIO2 connectors.
    org.apache.tomcat.jni.ProcErrorCallback
    The scope of the APR/Native Library will be reduced in Tomcat 10.1.x / Tomcat Native 2.x onwards to only include those components required to provide OpenSSL integration with the NIO and NIO2 connectors.
  • Deprecated Classes
    Class
    Description
    org.apache.catalina.filters.WebdavFixFilter
    This will be removed in Tomcat 11 onwards. This filter is no longer required. The WebDAV client in Windows 10 / Windows Server 2012 onwards works correctly without this filter.
    org.apache.catalina.manager.util.BaseSessionComparator
    Unused. Will be removed in Tomcat 10.1.x
    org.apache.catalina.realm.JDBCRealm
    Will be removed in Tomcat 10 onwards. Use the DataSourceRealm instead.
    org.apache.catalina.servlets.Constants
    org.apache.catalina.session.JDBCStore
    Removed in Tomcat 10 and replaced by DataSourceStore with removal of legacy JDBC code
    org.apache.catalina.startup.SetAllPropertiesRule
    This will be removed in Tomcat 10
    org.apache.catalina.startup.SetContextPropertiesRule
    This will be removed in Tomcat 10
    org.apache.catalina.tribes.transport.bio.BioReceiver
    This will be removed in Tomcat 10
    org.apache.catalina.tribes.transport.bio.BioReplicationTask
    This will be removed in Tomcat 10
    org.apache.catalina.tribes.transport.bio.BioSender
    This will be removed in Tomcat 10
    org.apache.catalina.tribes.transport.bio.MultipointBioSender
    This will be removed in Tomcat 10
    org.apache.catalina.tribes.transport.bio.PooledMultiSender
    This will be removed in Tomcat 10
    org.apache.catalina.users.MemoryGroup
    Use GenericGroup instead.
    org.apache.catalina.users.MemoryRole
    Use GenericRole instead.
    org.apache.catalina.users.MemoryUser
    Use GenericUser instead.
    org.apache.catalina.util.ConcurrentDateFormat
    Unused. This will be removed in Tomcat 10. Use ConcurrentDateFormat
    org.apache.coyote.ajp.AjpAprProtocol
    The APR/Native Connector will be removed in Tomcat 10.1.x onwards.
    org.apache.coyote.ContainerThreadMarker
    Unused. Will be removed in Tomcat 10.1.x
    org.apache.coyote.http11.Http11AprProtocol
    The APR/Native Connector will be removed in Tomcat 10.1.x onwards.
    org.apache.jasper.el.ELResolverImpl
    org.apache.jasper.el.ExpressionEvaluatorImpl
    org.apache.jasper.el.ExpressionImpl
    org.apache.jasper.el.FunctionMapperImpl
    org.apache.jasper.el.VariableResolverImpl
    org.apache.tomcat.dbcp.dbcp2.cpdsadapter.PStmtKeyCPDS
    Use PStmtKey.
    org.apache.tomcat.jni.Address
    The scope of the APR/Native Library will be reduced in Tomcat 10.1.x / Tomcat Native 2.x onwards to only include those components required to provide OpenSSL integration with the NIO and NIO2 connectors.
    org.apache.tomcat.jni.Directory
    The scope of the APR/Native Library will be reduced in Tomcat 10.1.x / Tomcat Native 2.x onwards to only include those components required to provide OpenSSL integration with the NIO and NIO2 connectors.
    org.apache.tomcat.jni.File
    The scope of the APR/Native Library will be reduced in Tomcat 10.1.x / Tomcat Native 2.x onwards to only include those components required to provide OpenSSL integration with the NIO and NIO2 connectors.
    org.apache.tomcat.jni.FileInfo
    The scope of the APR/Native Library will be reduced in Tomcat 10.1.x / Tomcat Native 2.x onwards to only include those components required to provide OpenSSL integration with the NIO and NIO2 connectors.
    org.apache.tomcat.jni.Global
    The scope of the APR/Native Library will be reduced in Tomcat 10.1.x / Tomcat Native 2.x onwards to only include those components required to provide OpenSSL integration with the NIO and NIO2 connectors.
    org.apache.tomcat.jni.Local
    The scope of the APR/Native Library will be reduced in Tomcat 10.1.x / Tomcat Native 2.x onwards to only include those components required to provide OpenSSL integration with the NIO and NIO2 connectors.
    org.apache.tomcat.jni.Lock
    The scope of the APR/Native Library will be reduced in Tomcat 10.1.x / Tomcat Native 2.x onwards to only include those components required to provide OpenSSL integration with the NIO and NIO2 connectors.
    org.apache.tomcat.jni.Mmap
    The scope of the APR/Native Library will be reduced in Tomcat 10.1.x / Tomcat Native 2.x onwards to only include those components required to provide OpenSSL integration with the NIO and NIO2 connectors.
    org.apache.tomcat.jni.Multicast
    The scope of the APR/Native Library will be reduced in Tomcat 10.1.x / Tomcat Native 2.x onwards to only include those components required to provide OpenSSL integration with the NIO and NIO2 connectors.
    org.apache.tomcat.jni.OS
    The scope of the APR/Native Library will be reduced in Tomcat 10.1.x / Tomcat Native 2.x onwards to only include those components required to provide OpenSSL integration with the NIO and NIO2 connectors.
    org.apache.tomcat.jni.Poll
    The scope of the APR/Native Library will be reduced in Tomcat 10.1.x / Tomcat Native 2.x onwards to only include those components required to provide OpenSSL integration with the NIO and NIO2 connectors.
    org.apache.tomcat.jni.Proc
    The scope of the APR/Native Library will be reduced in Tomcat 10.1.x / Tomcat Native 2.x onwards to only include those components required to provide OpenSSL integration with the NIO and NIO2 connectors.
    org.apache.tomcat.jni.Procattr
    The scope of the APR/Native Library will be reduced in Tomcat 10.1.x / Tomcat Native 2.x onwards to only include those components required to provide OpenSSL integration with the NIO and NIO2 connectors.
    org.apache.tomcat.jni.Registry
    The scope of the APR/Native Library will be reduced in Tomcat 10.1.x / Tomcat Native 2.x onwards to only include those components required to provide OpenSSL integration with the NIO and NIO2 connectors.
    org.apache.tomcat.jni.Shm
    The scope of the APR/Native Library will be reduced in Tomcat 10.1.x / Tomcat Native 2.x onwards to only include those components required to provide OpenSSL integration with the NIO and NIO2 connectors.
    org.apache.tomcat.jni.Sockaddr
    The scope of the APR/Native Library will be reduced in Tomcat 10.1.x / Tomcat Native 2.x onwards to only include those components required to provide OpenSSL integration with the NIO and NIO2 connectors.
    org.apache.tomcat.jni.Socket
    The scope of the APR/Native Library will be reduced in Tomcat 10.1.x / Tomcat Native 2.x onwards to only include those components required to provide OpenSSL integration with the NIO and NIO2 connectors.
    org.apache.tomcat.jni.SSLSocket
    The scope of the APR/Native Library will be reduced in Tomcat 10.1.x / Tomcat Native 2.x onwards to only include those components required to provide OpenSSL integration with the NIO and NIO2 connectors.
    org.apache.tomcat.jni.Status
    The scope of the APR/Native Library will be reduced in Tomcat 10.1.x / Tomcat Native 2.x onwards to only include those components required to provide OpenSSL integration with the NIO and NIO2 connectors.
    org.apache.tomcat.jni.Stdlib
    The scope of the APR/Native Library will be reduced in Tomcat 10.1.x / Tomcat Native 2.x onwards to only include those components required to provide OpenSSL integration with the NIO and NIO2 connectors.
    org.apache.tomcat.jni.Thread
    The scope of the APR/Native Library will be reduced in Tomcat 10.1.x / Tomcat Native 2.x onwards to only include those components required to provide OpenSSL integration with the NIO and NIO2 connectors.
    org.apache.tomcat.jni.Time
    The scope of the APR/Native Library will be reduced in Tomcat 10.1.x / Tomcat Native 2.x onwards to only include those components required to provide OpenSSL integration with the NIO and NIO2 connectors.
    org.apache.tomcat.jni.User
    The scope of the APR/Native Library will be reduced in Tomcat 10.1.x / Tomcat Native 2.x onwards to only include those components required to provide OpenSSL integration with the NIO and NIO2 connectors.
    org.apache.tomcat.util.codec.binary.Base64
    Unused. This class will be removed in Tomcat 11 onwards.
    org.apache.tomcat.util.codec.binary.BaseNCodec
    Unused. This class will be removed in Tomcat 11 onwards.
    org.apache.tomcat.util.codec.binary.StringUtils
    Unused. This class will be removed in Tomcat 11 onwards.
    org.apache.tomcat.util.compat.TLS
    Unused. This will be removed in Tomcat 10.
    org.apache.tomcat.util.digester.Digester.EnvironmentPropertySource
    Use EnvironmentPropertySource This will be removed in Tomcat 10 onwards.
    org.apache.tomcat.util.http.parser.Vary
    Use TokenList.
    org.apache.tomcat.util.net.AprEndpoint
    The APR/Native Connector will be removed in Tomcat 10.1.x onwards.
    org.apache.tomcat.util.net.AprSSLSupport
    The APR/Native Connector will be removed in Tomcat 10.1.x onwards.
    org.apache.tomcat.util.net.ContainerThreadMarker
    Unused. Will be removed in Tomcat 10.1.x
    org.apache.tomcat.util.security.MD5Encoder
    Unused. Use HexUtils instead. Will be removed in Tomcat 11.
  • Deprecated Exceptions
    Exceptions
    Description
    org.apache.tomcat.jni.Error
    Unused. Will be removed in Tomcat 10.1
  • Deprecated Fields
    Field
    Description
    org.apache.catalina.authenticator.Constants.FORM_PRINCIPAL_NOTE
    Unused. Will be removed in Tomcat 10.
    org.apache.catalina.connector.Request.formats
    Unused. This will be removed in Tomcat 10
    org.apache.catalina.connector.Request.GMT_ZONE
    Unused. This will be removed in Tomcat 10.
    org.apache.catalina.connector.Response.format
    Unused. This will be removed in Tomcat 10
    org.apache.catalina.core.Constants.Package
    org.apache.catalina.core.StandardWrapper.instancePool
    This will be removed in Tomcat 10.1 onwards.
    org.apache.catalina.core.StandardWrapper.maxInstances
    This will be removed in Tomcat 10.1 onwards.
    org.apache.catalina.core.StandardWrapper.nInstances
    This will be removed in Tomcat 10.1 onwards.
    org.apache.catalina.core.StandardWrapper.singleThreadModel
    This will be removed in Tomcat 10.1 onwards.
    org.apache.catalina.filters.CorsFilter.REQUEST_HEADER_VARY
    Unused. Will be removed in Tomcat 10
    org.apache.catalina.Globals.SSI_FLAG_ATTR
    Unused. This is no longer used as the CGIO servlet now has generic handling for when it is used as an include. This will be removed in Tomcat 10
    org.apache.catalina.ha.deploy.FileMessageFactory.creationTime
    Unused. This will be removed in Tomcat 11.
    org.apache.catalina.manager.StatusManagerServlet.protocolHandlers
    Unused. Will be removed in Tomcat 10.1.x
    org.apache.catalina.mapper.MappingData.contextPath
    Unused. This will be removed in Tomcat 10.
    org.apache.catalina.session.ManagerBase.duplicates
    This will be removed in Tomcat 11
    org.apache.catalina.session.ManagerBase.sessionCounter
    This will be removed in Tomcat 11
    org.apache.catalina.session.StandardSession.sessionContext
    org.apache.catalina.startup.HostConfig.serviced
    Unused. Will be removed in Tomcat 10.1.x onwards. Replaced by the private servicedSet field.
    org.apache.catalina.tribes.membership.MemberImpl.DO_DNS_LOOKUPS
    This will be removed without replacement in Tomact 10 onwards
    org.apache.catalina.util.LifecycleMBeanBase.mserver
    org.apache.coyote.http11.Constants.CLOSE_BYTES
    Unused. Will be removed in Tomcat 10.
    org.apache.coyote.http11.Constants.KEEPALIVE
    Unused. Will be removed in Tomcat 10.
    org.apache.coyote.http11.Constants.KEEPALIVE_BYTES
    Unused. Will be removed in Tomcat 10.
    org.apache.coyote.http2.Constants.DEFAULT_WEIGHT
    Unused. Will be removed in Tomcat 11 onwards.
    org.apache.jasper.Constants.IE_PLUGIN_URL
    org.apache.jasper.Constants.NS_PLUGIN_URL
    Will be removed in Tomcat 10.1 onwards
    org.apache.jasper.JspC.DEFAULT_IE_CLASS_ID
    org.apache.tomcat.dbcp.dbcp2.Utils.DISCONNECTION_SQL_CODES
    Use Utils.getDisconnectionSqlCodes().
    org.apache.tomcat.dbcp.dbcp2.Utils.IS_SECURITY_ENABLED
    No replacement.
    org.apache.tomcat.dbcp.pool2.impl.BaseObjectPoolConfig.DEFAULT_EVICTOR_SHUTDOWN_TIMEOUT_MILLIS
    Use BaseObjectPoolConfig.DEFAULT_EVICTOR_SHUTDOWN_TIMEOUT.
    org.apache.tomcat.dbcp.pool2.impl.BaseObjectPoolConfig.DEFAULT_MAX_WAIT_MILLIS
    Use BaseObjectPoolConfig.DEFAULT_MAX_WAIT.
    org.apache.tomcat.dbcp.pool2.impl.BaseObjectPoolConfig.DEFAULT_MIN_EVICTABLE_IDLE_TIME
    Use BaseObjectPoolConfig.DEFAULT_MIN_EVICTABLE_IDLE_DURATION.
    org.apache.tomcat.dbcp.pool2.impl.BaseObjectPoolConfig.DEFAULT_MIN_EVICTABLE_IDLE_TIME_MILLIS
    Use BaseObjectPoolConfig.DEFAULT_MIN_EVICTABLE_IDLE_TIME.
    org.apache.tomcat.dbcp.pool2.impl.BaseObjectPoolConfig.DEFAULT_SOFT_MIN_EVICTABLE_IDLE_TIME
    Use BaseObjectPoolConfig.DEFAULT_SOFT_MIN_EVICTABLE_IDLE_DURATION.
    org.apache.tomcat.dbcp.pool2.impl.BaseObjectPoolConfig.DEFAULT_SOFT_MIN_EVICTABLE_IDLE_TIME_MILLIS
    Use BaseObjectPoolConfig.DEFAULT_SOFT_MIN_EVICTABLE_IDLE_TIME.
    org.apache.tomcat.dbcp.pool2.impl.BaseObjectPoolConfig.DEFAULT_TIME_BETWEEN_EVICTION_RUNS
    Use BaseObjectPoolConfig.DEFAULT_DURATION_BETWEEN_EVICTION_RUNS.
    org.apache.tomcat.dbcp.pool2.impl.BaseObjectPoolConfig.DEFAULT_TIME_BETWEEN_EVICTION_RUNS_MILLIS
    Use BaseObjectPoolConfig.DEFAULT_TIME_BETWEEN_EVICTION_RUNS.
    org.apache.tomcat.jni.Library.APR_CHARSET_EBCDIC
    org.apache.tomcat.jni.Library.APR_FILES_AS_SOCKETS
    org.apache.tomcat.jni.Library.APR_HAS_DSO
    org.apache.tomcat.jni.Library.APR_HAS_FORK
    org.apache.tomcat.jni.Library.APR_HAS_LARGE_FILES
    org.apache.tomcat.jni.Library.APR_HAS_MMAP
    org.apache.tomcat.jni.Library.APR_HAS_OS_UUID
    org.apache.tomcat.jni.Library.APR_HAS_OTHER_CHILD
    org.apache.tomcat.jni.Library.APR_HAS_PROC_INVOKED
    org.apache.tomcat.jni.Library.APR_HAS_RANDOM
    org.apache.tomcat.jni.Library.APR_HAS_SENDFILE
    org.apache.tomcat.jni.Library.APR_HAS_SHARED_MEMORY
    org.apache.tomcat.jni.Library.APR_HAS_SO_ACCEPTFILTER
    org.apache.tomcat.jni.Library.APR_HAS_THREADS
    org.apache.tomcat.jni.Library.APR_HAS_UNICODE_FS
    org.apache.tomcat.jni.Library.APR_HAS_USER
    org.apache.tomcat.jni.Library.APR_HAS_XTHREAD_FILES
    org.apache.tomcat.jni.Library.APR_HAVE_IPV6
    org.apache.tomcat.jni.Library.APR_HAVE_UNIX
    org.apache.tomcat.jni.Library.APR_IS_BIGENDIAN
    org.apache.tomcat.jni.Library.APR_MAX_IOVEC_SIZE
    org.apache.tomcat.jni.Library.APR_MAX_SECS_TO_LINGER
    org.apache.tomcat.jni.Library.APR_MMAP_LIMIT
    org.apache.tomcat.jni.Library.APR_MMAP_THRESHOLD
    org.apache.tomcat.jni.Library.APR_O_NONBLOCK_INHERITED
    org.apache.tomcat.jni.Library.APR_PATH_MAX
    org.apache.tomcat.jni.Library.APR_POLLSET_WAKEABLE
    org.apache.tomcat.jni.Library.APR_SIZEOF_VOIDP
    org.apache.tomcat.jni.Library.APR_TCP_NODELAY_INHERITED
    org.apache.tomcat.jni.Library.APRMAXHOSTLEN
    org.apache.tomcat.jni.OS.IS_NETWARE
    Hard-coded to false since there has not been a supported Netware platform for many years. This will be removed in Tomcat 10 onwards
    org.apache.tomcat.jni.SSL.SSL_OP_PKCS1_CHECK_1
    Unsupported in the current version of OpenSSL
    org.apache.tomcat.jni.SSL.SSL_OP_PKCS1_CHECK_2
    Unsupported in the current version of OpenSSL
    org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH
    org.apache.tomcat.util.http.FastHttpDateFormat.RFC1123_DATE
    Unused. This will be removed in Tomcat 10.
    org.apache.tomcat.util.net.AbstractEndpoint.acceptorThreadCount
    This attribute is hard-coded to 1 and is no longer configurable. It will be removed in Tomcat 10.1.
    org.apache.tomcat.websocket.Constants.STRICT_SPEC_COMPLIANCE
    This is no longer required in Jakarta EE 10 onwards and will be removed in Tomcat 10.1.
    org.apache.tomcat.websocket.server.Constants.ENFORCE_NO_ADD_AFTER_HANDSHAKE_CONTEXT_INIT_PARAM
    This is no longer required in Jakarta EE 10 onwards and will be removed in Tomcat 10.1.
  • Deprecated Methods
    Method
    Description
    org.apache.catalina.authenticator.BasicAuthenticator.getTrimCredentials()
    Will be removed in Tomcat 11 onwards.
    org.apache.catalina.authenticator.BasicAuthenticator.setTrimCredentials(boolean)
    Will be removed in Tomcat 11 onwards.
    org.apache.catalina.authenticator.DigestAuthenticator.DigestInfo.validate(Request)
    org.apache.catalina.authenticator.DigestAuthenticator.removeQuotes(String)
    This will be removed in Tomcat 11 onwards. Unused.
    org.apache.catalina.authenticator.DigestAuthenticator.removeQuotes(String, boolean)
    This will be removed in Tomcat 11 onwards. Unused.
    org.apache.catalina.connector.Connector.getAttribute(String)
    Use Connector.getProperty(String). This will be removed in Tomcat 10 onwards.
    org.apache.catalina.connector.Connector.setAttribute(String, Object)
    Use Connector.setProperty(String, String). This will be removed in Tomcat 10 onwards.
    org.apache.catalina.connector.CoyoteAdapter.checkNormalize(MessageBytes)
    This code will be removed in Apache Tomcat 10 onwards
    org.apache.catalina.connector.Request.getRealPath(String)
    org.apache.catalina.connector.Request.isRequestedSessionIdFromUrl()
    org.apache.catalina.connector.Request.readPostBody(byte[], int)
    Unused. Will be removed in Tomcat 11.0.x onwards. Use Request.readPostBodyFully(byte[], int)
    org.apache.catalina.connector.Response.encodeRedirectUrl(String)
    org.apache.catalina.connector.Response.encodeUrl(String)
    As of Version 2.1 of the Java Servlet API, use encodeURL() instead.
    org.apache.catalina.connector.Response.sendAcknowledgement()
    Unused. Will be removed in Tomcat 10. Use Response.sendAcknowledgement(ContinueResponseTiming).
    org.apache.catalina.connector.Response.setError()
    This method will be changed to return void in Tomcat 11 onwards
    org.apache.catalina.connector.Response.setStatus(int, String)
    As of Version 2.1 of the Java Servlet API, this method has been deprecated due to the ambiguous meaning of the message parameter.
    org.apache.catalina.Context.findErrorPage(String)
    Unused. Will be removed in Tomcat 10. Use Context.findErrorPage(Throwable) instead.
    org.apache.catalina.Context.findStatusPage(int)
    Unused. Will be removed in Tomcat 10. Use Context.findErrorPage(int) instead.
    org.apache.catalina.Context.findStatusPages()
    Unused. Will be removed in Tomcat 10. Use Context.findErrorPages() instead.
    org.apache.catalina.Context.getUseBloomFilterForArchives()
    This method will be removed in Tomcat 11 onwards. Use WebResourceRoot.getArchiveIndexStrategy()
    org.apache.catalina.Context.isParallelAnnotationScanning()
    This method will be removed in Tomcat 11 onwards
    org.apache.catalina.Context.setUseBloomFilterForArchives(boolean)
    This method will be removed in Tomcat 11 onwards Use WebResourceRoot.setArchiveIndexStrategy(String)
    org.apache.catalina.core.ApplicationContext.getServlet(String)
    org.apache.catalina.core.ApplicationContext.getServletNames()
    org.apache.catalina.core.ApplicationContext.getServlets()
    org.apache.catalina.core.ApplicationContext.log(Exception, String)
    org.apache.catalina.core.ApplicationContextFacade.getServlet(String)
    As of Java Servlet API 2.1, with no direct replacement.
    org.apache.catalina.core.ApplicationContextFacade.getServletNames()
    As of Java Servlet API 2.1, with no direct replacement.
    org.apache.catalina.core.ApplicationContextFacade.getServlets()
    As of Java Servlet API 2.1, with no direct replacement.
    org.apache.catalina.core.ApplicationContextFacade.log(Exception, String)
    As of Java Servlet API 2.1, use log(String, Throwable) instead
    org.apache.catalina.core.NamingContextListener.containerEvent(ContainerEvent)
    The ContainerListener interface and implementing methods will be removed from this class for Tomcat 10 onwards.
    org.apache.catalina.core.StandardContext.addMessageDestinationRef(MessageDestinationRef)
    This will be removed in Tomcat 10. Use StandardContext.getNamingResources() instead
    org.apache.catalina.core.StandardContext.findErrorPage(String)
    org.apache.catalina.core.StandardContext.findMessageDestinationRef(String)
    This will be removed in Tomcat 10. Use StandardContext.getNamingResources() instead
    org.apache.catalina.core.StandardContext.findMessageDestinationRefs()
    This will be removed in Tomcat 10. Use StandardContext.getNamingResources() instead
    org.apache.catalina.core.StandardContext.findStatusPage(int)
    org.apache.catalina.core.StandardContext.findStatusPages()
    org.apache.catalina.core.StandardContext.getJavaVMs()
    Unused. Will be removed in Tomcat 10.1.
    org.apache.catalina.core.StandardContext.getUseBloomFilterForArchives()
    org.apache.catalina.core.StandardContext.removeMessageDestinationRef(String)
    This will be removed in Tomcat 10. Use StandardContext.getNamingResources() instead
    org.apache.catalina.core.StandardContext.setJavaVMs(String[])
    Unused. Will be removed in Tomcat 10.1.
    org.apache.catalina.core.StandardContext.setUseBloomFilterForArchives(boolean)
    org.apache.catalina.core.StandardThreadExecutor.execute(Runnable, long, TimeUnit)
    org.apache.catalina.core.StandardWrapper.getMaxInstances()
    This will be removed in Tomcat 10.1 onwards.
    org.apache.catalina.core.StandardWrapper.isSingleThreadModel()
    org.apache.catalina.core.StandardWrapper.setMaxInstances(int)
    This will be removed in Tomcat 10.1 onwards.
    org.apache.catalina.Executor.execute(Runnable, long, TimeUnit)
    Unused. Will be removed in Tomcat 10.1.x onwards.
    org.apache.catalina.filters.CorsFilter.isValidOrigin(String)
    This will be removed in Tomcat 10 Use RequestUtil.isValidOrigin(String)
    org.apache.catalina.filters.CsrfPreventionFilter.CsrfResponseWrapper.encodeRedirectUrl(String)
    org.apache.catalina.filters.CsrfPreventionFilter.CsrfResponseWrapper.encodeUrl(String)
    org.apache.catalina.filters.CsrfPreventionFilterBase.generateNonce()
    Use CsrfPreventionFilterBase.generateNonce(HttpServletRequest) instead. This method will be removed in Apache Tomcat 10.1.x onwards.
    org.apache.catalina.filters.ExpiresFilter.commaDelimitedListToStringArray(String)
    Unused. Will be removed in Tomcat 11.
    org.apache.catalina.filters.ExpiresFilter.getExpirationDate(ExpiresFilter.XHttpServletResponse)
    Will be removed in Tomcat 10. Use ExpiresFilter.getExpirationDate(HttpServletRequest, XHttpServletResponse)
    org.apache.catalina.filters.HttpHeaderSecurityFilter.isXssProtectionEnabled()
    org.apache.catalina.filters.HttpHeaderSecurityFilter.setXssProtectionEnabled(boolean)
    org.apache.catalina.filters.RemoteIpFilter.commaDelimitedListToStringArray(String)
    Unused. Will be removed in Tomcat 11 onwards.
    org.apache.catalina.filters.RemoteIpFilter.listToCommaDelimitedString(List<String>)
    Unused. Will be removed in Tomcat 11 onwards
    org.apache.catalina.ha.deploy.FarmWarDeployer.addServiced(String)
    Unused. Will be removed in Tomcat 10.1.x onwards. Use FarmWarDeployer.tryAddServiced(java.lang.String)
    org.apache.catalina.ha.deploy.FarmWarDeployer.isServiced(String)
    Unused. Will be removed in Tomcat 10.1.x onwards.
    org.apache.catalina.ha.deploy.FileMessageFactory.main(String[])
    This method will be removed in Tomcat 10.0.x
    org.apache.catalina.ha.session.DeltaManager.changeSessionId(Session, boolean)
    Will be removed in Tomcat 10
    org.apache.catalina.ha.session.DeltaManager.deserializeDeltaRequest(DeltaSession, byte[])
    Unused. This will be removed in Tomcat 10. Calling this method may result in a deadlock. See: https://bz.apache.org/bugzilla/show_bug.cgi?id=62841
    org.apache.catalina.ha.session.DeltaManager.getCounterNoStateTransfered()
    Use DeltaManager.getCounterNoStateTransferred(). Will be removed in Tomcat 10 onwards.
    org.apache.catalina.ha.session.DeltaManager.getNewDeltaSession()
    Unused. This will be removed in Tomcat 10.
    org.apache.catalina.ha.session.DeltaManager.getStateTransfered()
    Use DeltaManager.getStateTransferred(). Will be removed in Tomcat 10 onwards.
    org.apache.catalina.ha.session.DeltaManager.serializeDeltaRequest(DeltaSession, DeltaRequest)
    Unused. This will be removed in Tomcat 10. Calling this method may result in a deadlock. See: https://bz.apache.org/bugzilla/show_bug.cgi?id=62841
    org.apache.catalina.ha.session.DeltaManager.setStateTransfered(boolean)
    Use DeltaManager.setStateTransferred(boolean). Will be removed in Tomcat 10 onwards.
    org.apache.catalina.ha.session.DeltaSession.getDeltaRequest()
    Unused. This method will be removed in Tomcat 12.
    org.apache.catalina.Loader.getReloadable()
    Use Context.getReloadable(). This method will be removed in Tomcat 10.
    org.apache.catalina.Loader.setReloadable(boolean)
    Use Context.setReloadable(boolean). This method will be removed in Tomcat 10.
    org.apache.catalina.loader.WebappClassLoaderBase.getResources()
    This will be removed in Tomcat 10.1.x onwards
    org.apache.catalina.Manager.changeSessionId(Session)
    Use Manager.rotateSessionId(Session). Will be removed in Tomcat 10
    org.apache.catalina.manager.ManagerServlet.addServiced(String)
    Unused. Will be removed in Tomcat 10.1.x onwards. Use ManagerServlet.tryAddServiced(java.lang.String)
    org.apache.catalina.manager.ManagerServlet.isServiced(String)
    Unused. Will be removed in Tomcat 10.1.x onwards.
    org.apache.catalina.manager.ManagerServlet.printResources(PrintWriter, String, Context, String, Class<?>, StringManager)
    Use ManagerServlet.printResources(PrintWriter, String, javax.naming.Context, String, StringManager) This method will be removed in Tomcat 10.x onwards
    org.apache.catalina.Manager.setSessionCounter(long)
    This will be removed in Tomcat 11
    org.apache.catalina.mbeans.ContextMBean.findErrorPage(String)
    Unused. Will be removed in Tomcat 10. Use ContextMBean.findErrorPage(Throwable) instead.
    org.apache.catalina.mbeans.MBeanFactory.createJDBCRealm(String, String, String, String, String)
    This method will be removed in Tomcat 10. Use a DataSourceRealm instead.
    org.apache.catalina.Realm.authenticate(String, String, String, String, String, String, String, String)
    Unused. Use Realm.authenticate(String, String, String, String, String, String, String, String, String). Will be removed in Tomcat 11.
    org.apache.catalina.Realm.getRoles(Principal)
    This will be removed in Tomcat 10.
    org.apache.catalina.realm.JNDIRealm.doRFC2254Encoding(String)
    Will be removed in Tomcat 10.1.x onwards
    org.apache.catalina.realm.RealmBase.authenticate(String, String, String, String, String, String, String, String)
    org.apache.catalina.realm.RealmBase.getDigest(String, String)
    Unused. Use RealmBase.getDigest(String, String, String). Will be removed in Tomcat 11.
    org.apache.catalina.realm.RealmBase.getPrincipal(String, GSSCredential)
    This will be removed in Tomcat 10 onwards. Use RealmBase.getPrincipal(GSSName, GSSCredential) instead.
    org.apache.catalina.servlets.DefaultServlet.render(String, WebResource, String)
    Use DefaultServlet.render(HttpServletRequest, String, WebResource, String) instead
    org.apache.catalina.servlets.DefaultServlet.renderHtml(String, WebResource, String)
    Unused. Will be removed in Tomcat 10
    org.apache.catalina.servlets.DefaultServlet.renderXml(String, WebResource, Source, String)
    Unused. Will be removed in Tomcat 10
    org.apache.catalina.session.ManagerBase.getDuplicates()
    This will be removed in Tomcat 11
    org.apache.catalina.session.ManagerBase.getPersistAuthenticationNotes()
    Will be removed in Tomcat 10.1.x where it is effectively hard-coded to true
    org.apache.catalina.session.ManagerBase.setDuplicates(int)
    This will be removed in Tomcat 11
    org.apache.catalina.session.ManagerBase.setPersistAuthenticationNotes(boolean)
    Will be removed in Tomcat 10.1.x where it is effectively hard-coded to true
    org.apache.catalina.session.StandardSession.getSessionContext()
    As of Version 2.1, this method is deprecated and has no replacement. It will be removed in a future version of the Java Servlet API.
    org.apache.catalina.session.StandardSession.getValue(String)
    org.apache.catalina.session.StandardSession.getValueNames()
    org.apache.catalina.session.StandardSession.putValue(String, Object)
    org.apache.catalina.session.StandardSession.removeValue(String)
    org.apache.catalina.session.StandardSessionFacade.getSessionContext()
    As of Version 2.1, this method is deprecated and has no replacement.
    org.apache.catalina.session.StandardSessionFacade.getValue(String)
    As of Version 2.2, this method is replaced by StandardSessionFacade.getAttribute(java.lang.String).
    org.apache.catalina.session.StandardSessionFacade.getValueNames()
    As of Version 2.2, this method is replaced by StandardSessionFacade.getAttributeNames()
    org.apache.catalina.session.StandardSessionFacade.putValue(String, Object)
    As of Version 2.2, this method is replaced by StandardSessionFacade.setAttribute(java.lang.String, java.lang.Object)
    org.apache.catalina.session.StandardSessionFacade.removeValue(String)
    As of Version 2.2, this method is replaced by StandardSessionFacade.removeAttribute(java.lang.String)
    org.apache.catalina.startup.Catalina.initDirs()
    unused. Will be removed in Tomcat 10 onwards.
    org.apache.catalina.startup.HostConfig.addServiced(String)
    Unused. This method will be removed in Tomcat 10.1.x onwards. Use HostConfig.tryAddServiced(java.lang.String) instead.
    org.apache.catalina.startup.HostConfig.isServiced(String)
    Unused. This method will be removed in Tomcat 10.1.x onwards. Use HostConfig.tryAddServiced(java.lang.String) instead.
    org.apache.catalina.tribes.transport.AbstractRxTask.isDoRun()
    Will be removed in Tomcat 10
    org.apache.catalina.tribes.transport.AbstractRxTask.setDoRun(boolean)
    Will be removed in Tomcat 10
    org.apache.catalina.users.MemoryUserDatabase.isWriteable()
    Use MemoryUserDatabase.isWritable(). This method will be removed in Tomcat 10.1.x onwards.
    org.apache.catalina.valves.RemoteIpValve.commaDelimitedListToStringArray(String)
    Unused. Will be removed in Tomcat 11.
    org.apache.catalina.valves.RemoteIpValve.listToCommaDelimitedString(List<String>)
    Unused. This will be removed in Tomcat 10.1.x onwards. Use StringUtils.join(java.util.Collection) instead
    org.apache.coyote.AbstractProcessor.ack()
    Unused. This will be removed in Tomcat 10 onwards. Use AbstractProcessor.ack(ContinueResponseTiming).
    org.apache.coyote.AbstractProtocol.getAcceptorThreadCount()
    Will be removed in Tomcat 10.
    org.apache.coyote.AbstractProtocol.setAcceptorThreadCount(int)
    Will be removed in Tomcat 10.
    org.apache.coyote.ajp.AbstractAjpProtocol.getRequiredSecret()
    Replaced by AbstractAjpProtocol.getSecret(). Will be removed in Tomcat 11 onwards
    org.apache.coyote.ajp.AbstractAjpProtocol.setRequiredSecret(String)
    Replaced by AbstractAjpProtocol.setSecret(String). Will be removed in Tomcat 11 onwards
    org.apache.coyote.CompressionConfig.getNoCompressionStrongETag()
    Will be removed in Tomcat 10 where it will be hard-coded to true
    org.apache.coyote.CompressionConfig.setNoCompressionStrongETag(boolean)
    Will be removed in Tomcat 10 where it will be hard-coded to true
    org.apache.coyote.http11.AbstractHttp11Protocol.getAlgorithm()
    org.apache.coyote.http11.AbstractHttp11Protocol.getAllowHostHeaderMismatch()
    This will removed in Tomcat 11 onwards where allowHostHeaderMismatch will be hard-coded to false.
    org.apache.coyote.http11.AbstractHttp11Protocol.getCiphers()
    org.apache.coyote.http11.AbstractHttp11Protocol.getClientAuth()
    org.apache.coyote.http11.AbstractHttp11Protocol.getCrlFile()
    org.apache.coyote.http11.AbstractHttp11Protocol.getKeyAlias()
    org.apache.coyote.http11.AbstractHttp11Protocol.getKeyPass()
    org.apache.coyote.http11.AbstractHttp11Protocol.getKeyPassFile()
    org.apache.coyote.http11.AbstractHttp11Protocol.getKeystoreFile()
    org.apache.coyote.http11.AbstractHttp11Protocol.getKeystorePass()
    org.apache.coyote.http11.AbstractHttp11Protocol.getKeystorePassFile()
    org.apache.coyote.http11.AbstractHttp11Protocol.getKeystoreProvider()
    org.apache.coyote.http11.AbstractHttp11Protocol.getKeystoreType()
    org.apache.coyote.http11.AbstractHttp11Protocol.getNoCompressionStrongETag()
    org.apache.coyote.http11.AbstractHttp11Protocol.getRejectIllegalHeader()
    This will removed in Tomcat 11 onwards where allowHostHeaderMismatch will be hard-coded to true.
    org.apache.coyote.http11.AbstractHttp11Protocol.getRejectIllegalHeaderName()
    Now an alias for AbstractHttp11Protocol.getRejectIllegalHeader(). Will be removed in Tomcat 10 onwards.
    org.apache.coyote.http11.AbstractHttp11Protocol.getSessionCacheSize()
    org.apache.coyote.http11.AbstractHttp11Protocol.getSessionTimeout()
    org.apache.coyote.http11.AbstractHttp11Protocol.getSSLCACertificateFile()
    org.apache.coyote.http11.AbstractHttp11Protocol.getSSLCACertificatePath()
    org.apache.coyote.http11.AbstractHttp11Protocol.getSSLCARevocationFile()
    org.apache.coyote.http11.AbstractHttp11Protocol.getSSLCARevocationPath()
    org.apache.coyote.http11.AbstractHttp11Protocol.getSSLCertificateChainFile()
    org.apache.coyote.http11.AbstractHttp11Protocol.getSSLCertificateFile()
    org.apache.coyote.http11.AbstractHttp11Protocol.getSSLCertificateKeyFile()
    org.apache.coyote.http11.AbstractHttp11Protocol.getSSLCipherSuite()
    org.apache.coyote.http11.AbstractHttp11Protocol.getSSLDisableCompression()
    org.apache.coyote.http11.AbstractHttp11Protocol.getSSLDisableSessionTickets()
    org.apache.coyote.http11.AbstractHttp11Protocol.getSslEnabledProtocols()
    org.apache.coyote.http11.AbstractHttp11Protocol.getSSLHonorCipherOrder()
    org.apache.coyote.http11.AbstractHttp11Protocol.getSSLPassword()
    org.apache.coyote.http11.AbstractHttp11Protocol.getSSLPasswordFile()
    org.apache.coyote.http11.AbstractHttp11Protocol.getSslProtocol()
    org.apache.coyote.http11.AbstractHttp11Protocol.getSSLProtocol()
    org.apache.coyote.http11.AbstractHttp11Protocol.getSSLVerifyClient()
    org.apache.coyote.http11.AbstractHttp11Protocol.getSSLVerifyDepth()
    org.apache.coyote.http11.AbstractHttp11Protocol.getTrustManagerClassName()
    org.apache.coyote.http11.AbstractHttp11Protocol.getTrustMaxCertLength()
    org.apache.coyote.http11.AbstractHttp11Protocol.getTruststoreAlgorithm()
    org.apache.coyote.http11.AbstractHttp11Protocol.getTruststoreFile()
    org.apache.coyote.http11.AbstractHttp11Protocol.getTruststorePass()
    org.apache.coyote.http11.AbstractHttp11Protocol.getTruststoreProvider()
    org.apache.coyote.http11.AbstractHttp11Protocol.getTruststoreType()
    org.apache.coyote.http11.AbstractHttp11Protocol.getUseServerCipherSuitesOrder()
    org.apache.coyote.http11.AbstractHttp11Protocol.setAlgorithm(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setAllowHostHeaderMismatch(boolean)
    This will removed in Tomcat 11 onwards where allowHostHeaderMismatch will be hard-coded to false.
    org.apache.coyote.http11.AbstractHttp11Protocol.setCiphers(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setClientAuth(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setCrlFile(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setKeyAlias(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setKeyPass(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setKeyPassFile(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setKeystoreFile(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setKeystorePass(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setKeystorePassFile(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setKeystoreProvider(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setKeystoreType(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setNoCompressionStrongETag(boolean)
    org.apache.coyote.http11.AbstractHttp11Protocol.setRejectIllegalHeader(boolean)
    This will removed in Tomcat 11 onwards where allowHostHeaderMismatch will be hard-coded to true.
    org.apache.coyote.http11.AbstractHttp11Protocol.setRejectIllegalHeaderName(boolean)
    Now an alias for AbstractHttp11Protocol.setRejectIllegalHeader(boolean). Will be removed in Tomcat 10 onwards.
    org.apache.coyote.http11.AbstractHttp11Protocol.setSessionCacheSize(int)
    org.apache.coyote.http11.AbstractHttp11Protocol.setSessionTimeout(int)
    org.apache.coyote.http11.AbstractHttp11Protocol.setSSLCACertificateFile(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setSSLCACertificatePath(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setSSLCARevocationFile(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setSSLCARevocationPath(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setSSLCertificateChainFile(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setSSLCertificateFile(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setSSLCertificateKeyFile(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setSSLCipherSuite(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setSSLDisableCompression(boolean)
    org.apache.coyote.http11.AbstractHttp11Protocol.setSSLDisableSessionTickets(boolean)
    org.apache.coyote.http11.AbstractHttp11Protocol.setSslEnabledProtocols(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setSSLHonorCipherOrder(boolean)
    org.apache.coyote.http11.AbstractHttp11Protocol.setSSLPassword(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setSSLPasswordFile(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setSslProtocol(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setSSLProtocol(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setSSLVerifyClient(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setSSLVerifyDepth(int)
    org.apache.coyote.http11.AbstractHttp11Protocol.setTrustManagerClassName(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setTrustMaxCertLength(int)
    org.apache.coyote.http11.AbstractHttp11Protocol.setTruststoreAlgorithm(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setTruststoreFile(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setTruststorePass(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setTruststoreProvider(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setTruststoreType(String)
    org.apache.coyote.http11.AbstractHttp11Protocol.setUseServerCipherSuitesOrder(boolean)
    org.apache.coyote.http11.Http11NioProtocol.getPollerThreadCount()
    This getter will be removed in Tomcat 10.
    org.apache.coyote.http11.Http11NioProtocol.setPollerThreadCount(int)
    This setter will be removed in Tomcat 10.
    org.apache.coyote.http11.Http11OutputBuffer.sendStatus()
    Unused. Will be removed in Tomcat 11. Use Http11OutputBuffer.sendStatus(int).
    org.apache.coyote.http2.Http2Protocol.getNoCompressionStrongETag()
    org.apache.coyote.http2.Http2Protocol.setNoCompressionStrongETag(boolean)
    org.apache.coyote.ProtocolHandler.isAprRequired()
    This method will be removed in Tomcat 10.1.x onwards
    org.apache.coyote.Response.sendHeaders()
    Unused. Will be removed in Tomcat 11 onwards. Use Response.commit().
    org.apache.coyote.Response.setError()
    This method will be changed to return void in Tomcat 11 onwards
    org.apache.coyote.UpgradeProtocol.setHttp11Protocol(AbstractProtocol<?>)
    This will be removed in Tomcat 10. Use UpgradeProtocol.setHttp11Protocol(AbstractHttp11Protocol) instead
    org.apache.jasper.EmbeddedServletOptions.getIeClassId()
    org.apache.jasper.JspC.getIeClassId()
    org.apache.jasper.JspC.scanFiles(File)
    This will be removed in Tomcat 10. Use JspC.scanFiles()
    org.apache.jasper.JspC.setIeClassId(String)
    Will be removed in Tomcat 10.1
    org.apache.jasper.JspC.setWebXmlFragment(String)
    Will be removed in Tomcat 10. Use JspC.setWebXmlInclude(String)
    org.apache.jasper.Options.getIeClassId()
    Will be removed in Tomcat 10.1.x
    org.apache.jasper.runtime.JspContextWrapper.getExpressionEvaluator()
    org.apache.jasper.runtime.JspContextWrapper.getVariableResolver()
    org.apache.jasper.runtime.JspContextWrapper.resolveVariable(String)
    org.apache.jasper.runtime.PageContextImpl.getExpressionEvaluator()
    org.apache.jasper.runtime.PageContextImpl.getVariableResolver()
    org.apache.jasper.servlet.JspCServletContext.getServlet(String)
    This method has been deprecated with no replacement
    org.apache.jasper.servlet.JspCServletContext.getServletNames()
    org.apache.jasper.servlet.JspCServletContext.getServlets()
    org.apache.jasper.servlet.JspCServletContext.log(Exception, String)
    org.apache.tomcat.dbcp.dbcp2.AbandonedTrace.getLastUsed()
    org.apache.tomcat.dbcp.dbcp2.AbandonedTrace.setLastUsed(long)
    Use AbandonedTrace.setLastUsed(Instant)
    org.apache.tomcat.dbcp.dbcp2.BasicDataSource.getDefaultQueryTimeout()
    Use BasicDataSource.getDefaultQueryTimeoutDuration().
    org.apache.tomcat.dbcp.dbcp2.BasicDataSource.getEnableAutoCommitOnReturn()
    Use BasicDataSource.getAutoCommitOnReturn().
    org.apache.tomcat.dbcp.dbcp2.BasicDataSource.getMaxConnLifetimeMillis()
    Use BasicDataSource.getMaxConnDuration().
    org.apache.tomcat.dbcp.dbcp2.BasicDataSource.getMaxWaitMillis()
    Use BasicDataSource.getMaxWaitDuration().
    org.apache.tomcat.dbcp.dbcp2.BasicDataSource.getMinEvictableIdleTimeMillis()
    Use BasicDataSource.getMinEvictableIdleDuration().
    org.apache.tomcat.dbcp.dbcp2.BasicDataSource.getPassword()
    Exposing passwords via JMX is an Information Exposure issue.
    org.apache.tomcat.dbcp.dbcp2.BasicDataSource.getRemoveAbandonedTimeout()
    Use BasicDataSource.getRemoveAbandonedTimeoutDuration().
    org.apache.tomcat.dbcp.dbcp2.BasicDataSource.getSoftMinEvictableIdleTimeMillis()
    Use BasicDataSource.getSoftMinEvictableIdleDuration().
    org.apache.tomcat.dbcp.dbcp2.BasicDataSource.getTimeBetweenEvictionRunsMillis()
    Use BasicDataSource.getDurationBetweenEvictionRuns().
    org.apache.tomcat.dbcp.dbcp2.BasicDataSource.getUsername()
    Replaced with DataSourceMXBean.getUserName()
    org.apache.tomcat.dbcp.dbcp2.BasicDataSource.getValidationQueryTimeout()
    Use BasicDataSource.getValidationQueryTimeoutDuration().
    org.apache.tomcat.dbcp.dbcp2.BasicDataSource.setDefaultQueryTimeout(Integer)
    Use BasicDataSource.setDefaultQueryTimeout(Duration).
    org.apache.tomcat.dbcp.dbcp2.BasicDataSource.setEnableAutoCommitOnReturn(boolean)
    Use BasicDataSource.setAutoCommitOnReturn(boolean).
    org.apache.tomcat.dbcp.dbcp2.BasicDataSource.setMaxConnLifetimeMillis(long)
    Use BasicDataSource.setMaxConn(Duration).
    org.apache.tomcat.dbcp.dbcp2.BasicDataSource.setMaxWaitMillis(long)
    BasicDataSource.setMaxWait(Duration).
    org.apache.tomcat.dbcp.dbcp2.BasicDataSource.setMinEvictableIdleTimeMillis(long)
    Use BasicDataSource.setMinEvictableIdle(Duration).
    org.apache.tomcat.dbcp.dbcp2.BasicDataSource.setRemoveAbandonedTimeout(int)
    Use BasicDataSource.setRemoveAbandonedTimeout(Duration).
    org.apache.tomcat.dbcp.dbcp2.BasicDataSource.setSoftMinEvictableIdleTimeMillis(long)
    Use BasicDataSource.setSoftMinEvictableIdle(Duration).
    org.apache.tomcat.dbcp.dbcp2.BasicDataSource.setTimeBetweenEvictionRunsMillis(long)
    Use BasicDataSource.setDurationBetweenEvictionRuns(Duration).
    org.apache.tomcat.dbcp.dbcp2.BasicDataSource.setValidationQueryTimeout(int)
    Use BasicDataSource.setValidationQueryTimeout(Duration).
    org.apache.tomcat.dbcp.dbcp2.BasicDataSourceMXBean.getPassword()
    Exposing passwords via JMX is an Information Exposure issue.
    org.apache.tomcat.dbcp.dbcp2.cpdsadapter.DriverAdapterCPDS.getMinEvictableIdleTimeMillis()
    USe DriverAdapterCPDS.getMinEvictableIdleDuration().
    org.apache.tomcat.dbcp.dbcp2.cpdsadapter.DriverAdapterCPDS.getTimeBetweenEvictionRunsMillis()
    Use DriverAdapterCPDS.getDurationBetweenEvictionRuns().
    org.apache.tomcat.dbcp.dbcp2.cpdsadapter.DriverAdapterCPDS.setMinEvictableIdleTimeMillis(int)
    Use DriverAdapterCPDS.setMinEvictableIdleDuration(Duration).
    org.apache.tomcat.dbcp.dbcp2.cpdsadapter.DriverAdapterCPDS.setTimeBetweenEvictionRunsMillis(long)
    Use DriverAdapterCPDS.setDurationBetweenEvictionRuns(Duration).
    org.apache.tomcat.dbcp.dbcp2.DataSourceMXBean.getUsername()
    Use DataSourceMXBean.getUserName().
    org.apache.tomcat.dbcp.dbcp2.datasources.InstanceKeyDataSource.getDefaultMaxWaitMillis()
    Use InstanceKeyDataSource.getDefaultMaxWait().
    org.apache.tomcat.dbcp.dbcp2.datasources.InstanceKeyDataSource.getDefaultMinEvictableIdleTimeMillis()
    Use InstanceKeyDataSource.getDefaultMinEvictableIdleDuration().
    org.apache.tomcat.dbcp.dbcp2.datasources.InstanceKeyDataSource.getDefaultSoftMinEvictableIdleTimeMillis()
    Use InstanceKeyDataSource.getDefaultSoftMinEvictableIdleDuration().
    org.apache.tomcat.dbcp.dbcp2.datasources.InstanceKeyDataSource.getDefaultTimeBetweenEvictionRunsMillis()
    Use InstanceKeyDataSource.getDefaultDurationBetweenEvictionRuns().
    org.apache.tomcat.dbcp.dbcp2.datasources.InstanceKeyDataSource.getLoginTimeout()
    Use InstanceKeyDataSource.getLoginTimeoutDuration().
    org.apache.tomcat.dbcp.dbcp2.datasources.InstanceKeyDataSource.getMaxConnLifetime()
    Use InstanceKeyDataSource.getMaxConnDuration().
    org.apache.tomcat.dbcp.dbcp2.datasources.InstanceKeyDataSource.getMaxConnLifetimeMillis()
    Use InstanceKeyDataSource.getMaxConnLifetime().
    org.apache.tomcat.dbcp.dbcp2.datasources.InstanceKeyDataSource.getValidationQueryTimeout()
    Use InstanceKeyDataSource.getValidationQueryTimeoutDuration().
    org.apache.tomcat.dbcp.dbcp2.datasources.InstanceKeyDataSource.setDefaultMaxWaitMillis(long)
    Use InstanceKeyDataSource.setDefaultMaxWait(Duration).
    org.apache.tomcat.dbcp.dbcp2.datasources.InstanceKeyDataSource.setDefaultMinEvictableIdleTimeMillis(long)
    Use InstanceKeyDataSource.setDefaultMinEvictableIdle(Duration).
    org.apache.tomcat.dbcp.dbcp2.datasources.InstanceKeyDataSource.setDefaultSoftMinEvictableIdleTimeMillis(long)
    Use InstanceKeyDataSource.setDefaultSoftMinEvictableIdle(Duration).
    org.apache.tomcat.dbcp.dbcp2.datasources.InstanceKeyDataSource.setDefaultTimeBetweenEvictionRunsMillis(long)
    Use InstanceKeyDataSource.setDefaultDurationBetweenEvictionRuns(Duration).
    org.apache.tomcat.dbcp.dbcp2.datasources.InstanceKeyDataSource.setLoginTimeout(int)
    Use InstanceKeyDataSource.setLoginTimeout(Duration).
    org.apache.tomcat.dbcp.dbcp2.datasources.InstanceKeyDataSource.setMaxConnLifetimeMillis(long)
    Use InstanceKeyDataSource.setMaxConnLifetime(Duration).
    org.apache.tomcat.dbcp.dbcp2.datasources.InstanceKeyDataSource.setValidationQueryTimeout(int)
    Use InstanceKeyDataSource.setValidationQueryTimeout(Duration).
    org.apache.tomcat.dbcp.dbcp2.datasources.PerUserPoolDataSource.getPerUserMaxWaitMillis(String)
    Use PerUserPoolDataSource.getPerUserMaxWaitDuration(java.lang.String).
    org.apache.tomcat.dbcp.dbcp2.datasources.PerUserPoolDataSource.getPerUserMinEvictableIdleTimeMillis(String)
    Use PerUserPoolDataSource.getPerUserMinEvictableIdleDuration(String).
    org.apache.tomcat.dbcp.dbcp2.datasources.PerUserPoolDataSource.getPerUserSoftMinEvictableIdleTimeMillis(String)
    Use PerUserPoolDataSource.getPerUserSoftMinEvictableIdleDuration(String).
    org.apache.tomcat.dbcp.dbcp2.datasources.PerUserPoolDataSource.getPerUserTimeBetweenEvictionRunsMillis(String)
    Use PerUserPoolDataSource.getPerUserDurationBetweenEvictionRuns(String).
    org.apache.tomcat.dbcp.dbcp2.datasources.PerUserPoolDataSource.setPerUserMaxWaitMillis(String, Long)
    Use PerUserPoolDataSource.setPerUserMaxWait(String, Duration).
    org.apache.tomcat.dbcp.dbcp2.datasources.PerUserPoolDataSource.setPerUserMinEvictableIdleTimeMillis(String, Long)
    Use PerUserPoolDataSource.setPerUserMinEvictableIdle(String, Duration).
    org.apache.tomcat.dbcp.dbcp2.datasources.PerUserPoolDataSource.setPerUserSoftMinEvictableIdleTimeMillis(String, Long)
    Use PerUserPoolDataSource.setPerUserSoftMinEvictableIdle(String, Duration).
    org.apache.tomcat.dbcp.dbcp2.datasources.PerUserPoolDataSource.setPerUserTimeBetweenEvictionRunsMillis(String, Long)
    Use PerUserPoolDataSource.setPerUserDurationBetweenEvictionRuns(String, Duration).
    org.apache.tomcat.dbcp.dbcp2.DelegatingCallableStatement.getBigDecimal(int, int)
    Use DelegatingCallableStatement.getBigDecimal(int) or DelegatingCallableStatement.getBigDecimal(String)
    org.apache.tomcat.dbcp.dbcp2.DelegatingConnection.getDefaultQueryTimeout()
    Use DelegatingConnection.getDefaultQueryTimeoutDuration().
    org.apache.tomcat.dbcp.dbcp2.DelegatingConnection.isValid(int)
    Use DelegatingConnection.isValid(Duration).
    org.apache.tomcat.dbcp.dbcp2.DelegatingConnection.setDefaultQueryTimeout(Integer)
    Use DelegatingConnection.setDefaultQueryTimeout(Duration).
    org.apache.tomcat.dbcp.dbcp2.DelegatingPreparedStatement.setUnicodeStream(int, InputStream, int)
    Use setAsciiStream(), setCharacterStream() or setNCharacterStream()
    org.apache.tomcat.dbcp.dbcp2.DelegatingResultSet.getBigDecimal(int, int)
    Use DelegatingResultSet.getBigDecimal(int)
    org.apache.tomcat.dbcp.dbcp2.DelegatingResultSet.getBigDecimal(String, int)
    Use DelegatingResultSet.getBigDecimal(String)
    org.apache.tomcat.dbcp.dbcp2.DelegatingResultSet.getUnicodeStream(int)
    Use DelegatingResultSet.getCharacterStream(int)
    org.apache.tomcat.dbcp.dbcp2.DelegatingResultSet.getUnicodeStream(String)
    Use DelegatingResultSet.getCharacterStream(String)
    org.apache.tomcat.dbcp.dbcp2.managed.DataSourceXAConnectionFactory.getUsername()
    Use DataSourceXAConnectionFactory.getUserName().
    org.apache.tomcat.dbcp.dbcp2.PoolableConnection.validate(String, int)
    Use PoolableConnection.validate(String, Duration).
    org.apache.tomcat.dbcp.dbcp2.PoolableConnectionFactory.getDefaultQueryTimeout()
    Use PoolableConnectionFactory.getDefaultQueryTimeoutDuration().
    org.apache.tomcat.dbcp.dbcp2.PoolableConnectionFactory.getDefaultQueryTimeoutSeconds()
    Use PoolableConnectionFactory.getDefaultQueryTimeoutDuration().
    org.apache.tomcat.dbcp.dbcp2.PoolableConnectionFactory.getValidationQueryTimeoutSeconds()
    Use PoolableConnectionFactory.getValidationQueryTimeoutDuration().
    org.apache.tomcat.dbcp.dbcp2.PoolableConnectionFactory.isEnableAutoCommitOnReturn()
    Use PoolableConnectionFactory.isAutoCommitOnReturn().
    org.apache.tomcat.dbcp.dbcp2.PoolableConnectionFactory.setDefaultQueryTimeout(Integer)
    Use PoolableConnectionFactory.setDefaultQueryTimeout(Duration).
    org.apache.tomcat.dbcp.dbcp2.PoolableConnectionFactory.setEnableAutoCommitOnReturn(boolean)
    Use PoolableConnectionFactory.setAutoCommitOnReturn(boolean).
    org.apache.tomcat.dbcp.dbcp2.PoolableConnectionFactory.setMaxConnLifetimeMillis(long)
    Use PoolableConnectionFactory.setMaxConn(Duration).
    org.apache.tomcat.dbcp.dbcp2.PoolableConnectionFactory.setMaxOpenPrepatedStatements(int)
    Use PoolableConnectionFactory.setMaxOpenPreparedStatements(int).
    org.apache.tomcat.dbcp.dbcp2.PoolableConnectionFactory.setValidationQueryTimeout(int)
    PoolableConnectionFactory.setValidationQueryTimeout(Duration).
    org.apache.tomcat.dbcp.dbcp2.Utils.closeQuietly(Connection)
    Use Utils.closeQuietly(AutoCloseable).
    org.apache.tomcat.dbcp.dbcp2.Utils.closeQuietly(ResultSet)
    Use Utils.closeQuietly(AutoCloseable).
    org.apache.tomcat.dbcp.dbcp2.Utils.closeQuietly(Statement)
    Use Utils.closeQuietly(AutoCloseable).
    org.apache.tomcat.dbcp.pool2.impl.AbandonedConfig.getRemoveAbandonedTimeout()
    Use AbandonedConfig.getRemoveAbandonedTimeoutDuration().
    org.apache.tomcat.dbcp.pool2.impl.AbandonedConfig.setRemoveAbandonedTimeout(int)
    Use AbandonedConfig.setRemoveAbandonedTimeout(Duration).
    org.apache.tomcat.dbcp.pool2.impl.BaseGenericObjectPool.getEvictorShutdownTimeout()
    Use BaseGenericObjectPool.getEvictorShutdownTimeoutDuration().
    org.apache.tomcat.dbcp.pool2.impl.BaseGenericObjectPool.getEvictorShutdownTimeoutMillis()
    Use BaseGenericObjectPool.getEvictorShutdownTimeoutDuration().
    org.apache.tomcat.dbcp.pool2.impl.BaseGenericObjectPool.getMaxBorrowWaitTimeMillis()
    Use BaseGenericObjectPool.getMaxBorrowWaitDuration().
    org.apache.tomcat.dbcp.pool2.impl.BaseGenericObjectPool.getMaxWaitMillis()
    Use BaseGenericObjectPool.getMaxWaitDuration().
    org.apache.tomcat.dbcp.pool2.impl.BaseGenericObjectPool.getMeanActiveTimeMillis()
    Use BaseGenericObjectPool.getMeanActiveDuration().
    org.apache.tomcat.dbcp.pool2.impl.BaseGenericObjectPool.getMeanBorrowWaitTimeMillis()
    Use BaseGenericObjectPool.getMeanBorrowWaitDuration().
    org.apache.tomcat.dbcp.pool2.impl.BaseGenericObjectPool.getMeanIdleTimeMillis()
    Use BaseGenericObjectPool.getMeanIdleDuration().
    org.apache.tomcat.dbcp.pool2.impl.BaseGenericObjectPool.getMinEvictableIdleTime()
    Use BaseGenericObjectPool.getMinEvictableIdleDuration().
    org.apache.tomcat.dbcp.pool2.impl.BaseGenericObjectPool.getMinEvictableIdleTimeMillis()
    Use BaseGenericObjectPool.getMinEvictableIdleDuration().
    org.apache.tomcat.dbcp.pool2.impl.BaseGenericObjectPool.getRemoveAbandonedTimeout()
    Use BaseGenericObjectPool.getRemoveAbandonedTimeoutDuration().
    org.apache.tomcat.dbcp.pool2.impl.BaseGenericObjectPool.getSoftMinEvictableIdleTime()
    Use BaseGenericObjectPool.getSoftMinEvictableIdleDuration().
    org.apache.tomcat.dbcp.pool2.impl.BaseGenericObjectPool.getSoftMinEvictableIdleTimeMillis()
    Use BaseGenericObjectPool.getSoftMinEvictableIdleTime().
    org.apache.tomcat.dbcp.pool2.impl.BaseGenericObjectPool.getTimeBetweenEvictionRuns()
    BaseGenericObjectPool.getDurationBetweenEvictionRuns().
    org.apache.tomcat.dbcp.pool2.impl.BaseGenericObjectPool.getTimeBetweenEvictionRunsMillis()
    Use BaseGenericObjectPool.getDurationBetweenEvictionRuns().
    org.apache.tomcat.dbcp.pool2.impl.BaseGenericObjectPool.setEvictorShutdownTimeoutMillis(long)
    Use BaseGenericObjectPool.setEvictorShutdownTimeout(Duration).
    org.apache.tomcat.dbcp.pool2.impl.BaseGenericObjectPool.setMaxWaitMillis(long)
    Use BaseGenericObjectPool.setMaxWait(java.time.Duration).
    org.apache.tomcat.dbcp.pool2.impl.BaseGenericObjectPool.setMinEvictableIdle(Duration)
    Use BaseGenericObjectPool.setMinEvictableIdleDuration(Duration).
    org.apache.tomcat.dbcp.pool2.impl.BaseGenericObjectPool.setMinEvictableIdleTime(Duration)
    Use BaseGenericObjectPool.setMinEvictableIdleDuration(Duration).
    org.apache.tomcat.dbcp.pool2.impl.BaseGenericObjectPool.setMinEvictableIdleTimeMillis(long)
    Use BaseGenericObjectPool.setMinEvictableIdleTime(Duration).
    org.apache.tomcat.dbcp.pool2.impl.BaseGenericObjectPool.setSoftMinEvictableIdle(Duration)
    Use BaseGenericObjectPool.setSoftMinEvictableIdleDuration(Duration).
    org.apache.tomcat.dbcp.pool2.impl.BaseGenericObjectPool.setSoftMinEvictableIdleTime(Duration)
    Use BaseGenericObjectPool.setSoftMinEvictableIdleDuration(Duration).
    org.apache.tomcat.dbcp.pool2.impl.BaseGenericObjectPool.setSoftMinEvictableIdleTimeMillis(long)
    Use BaseGenericObjectPool.setSoftMinEvictableIdleDuration(Duration).
    org.apache.tomcat.dbcp.pool2.impl.BaseGenericObjectPool.setTimeBetweenEvictionRuns(Duration)
    Use BaseGenericObjectPool.setDurationBetweenEvictionRuns(Duration).
    org.apache.tomcat.dbcp.pool2.impl.BaseGenericObjectPool.setTimeBetweenEvictionRunsMillis(long)
    Use BaseGenericObjectPool.setDurationBetweenEvictionRuns(Duration).
    org.apache.tomcat.dbcp.pool2.impl.BaseObjectPoolConfig.getEvictorShutdownTimeout()
    Use BaseObjectPoolConfig.getEvictorShutdownTimeoutDuration().
    org.apache.tomcat.dbcp.pool2.impl.BaseObjectPoolConfig.getEvictorShutdownTimeoutMillis()
    Use BaseObjectPoolConfig.getEvictorShutdownTimeout().
    org.apache.tomcat.dbcp.pool2.impl.BaseObjectPoolConfig.getMaxWaitMillis()
    Use BaseObjectPoolConfig.getMaxWaitDuration().
    org.apache.tomcat.dbcp.pool2.impl.BaseObjectPoolConfig.getMinEvictableIdleTime()
    Use BaseObjectPoolConfig.getMinEvictableIdleDuration().
    org.apache.tomcat.dbcp.pool2.impl.BaseObjectPoolConfig.getMinEvictableIdleTimeMillis()
    Use BaseObjectPoolConfig.getMinEvictableIdleTime().
    org.apache.tomcat.dbcp.pool2.impl.BaseObjectPoolConfig.getSoftMinEvictableIdleTime()
    Use BaseObjectPoolConfig.getSoftMinEvictableIdleDuration().
    org.apache.tomcat.dbcp.pool2.impl.BaseObjectPoolConfig.getSoftMinEvictableIdleTimeMillis()
    Use BaseObjectPoolConfig.getSoftMinEvictableIdleDuration().
    org.apache.tomcat.dbcp.pool2.impl.BaseObjectPoolConfig.getTimeBetweenEvictionRuns()
    Use BaseObjectPoolConfig.getDurationBetweenEvictionRuns().
    org.apache.tomcat.dbcp.pool2.impl.BaseObjectPoolConfig.getTimeBetweenEvictionRunsMillis()
    Use BaseObjectPoolConfig.getDurationBetweenEvictionRuns().
    org.apache.tomcat.dbcp.pool2.impl.BaseObjectPoolConfig.setEvictorShutdownTimeoutMillis(long)
    Use BaseObjectPoolConfig.setEvictorShutdownTimeout(Duration).
    org.apache.tomcat.dbcp.pool2.impl.BaseObjectPoolConfig.setEvictorShutdownTimeoutMillis(Duration)
    Use BaseObjectPoolConfig.setEvictorShutdownTimeout(Duration).
    org.apache.tomcat.dbcp.pool2.impl.BaseObjectPoolConfig.setMaxWaitMillis(long)
    Use BaseObjectPoolConfig.setMaxWait(Duration).
    org.apache.tomcat.dbcp.pool2.impl.BaseObjectPoolConfig.setMinEvictableIdleTime(Duration)
    Use BaseObjectPoolConfig.setMinEvictableIdleDuration(Duration).
    org.apache.tomcat.dbcp.pool2.impl.BaseObjectPoolConfig.setMinEvictableIdleTimeMillis(long)
    Use BaseObjectPoolConfig.setMinEvictableIdleDuration(Duration).
    org.apache.tomcat.dbcp.pool2.impl.BaseObjectPoolConfig.setSoftMinEvictableIdleTime(Duration)
    Use BaseObjectPoolConfig.setSoftMinEvictableIdleDuration(Duration).
    org.apache.tomcat.dbcp.pool2.impl.BaseObjectPoolConfig.setSoftMinEvictableIdleTimeMillis(long)
    Use BaseObjectPoolConfig.setSoftMinEvictableIdleDuration(Duration).
    org.apache.tomcat.dbcp.pool2.impl.BaseObjectPoolConfig.setTimeBetweenEvictionRunsMillis(long)
    Use BaseObjectPoolConfig.setTimeBetweenEvictionRuns(Duration).
    org.apache.tomcat.dbcp.pool2.impl.CallStackUtils.newCallStack(String, boolean)
    use CallStackUtils.newCallStack(String, boolean, boolean)
    org.apache.tomcat.dbcp.pool2.impl.EvictionConfig.getIdleEvictTime()
    Use EvictionConfig.getIdleEvictDuration().
    org.apache.tomcat.dbcp.pool2.impl.EvictionConfig.getIdleEvictTimeDuration()
    Use EvictionConfig.getIdleEvictDuration().
    org.apache.tomcat.dbcp.pool2.impl.EvictionConfig.getIdleSoftEvictTime()
    Use EvictionConfig.getIdleSoftEvictDuration().
    org.apache.tomcat.dbcp.pool2.impl.EvictionConfig.getIdleSoftEvictTimeDuration()
    Use EvictionConfig.getIdleSoftEvictDuration().
    org.apache.tomcat.dbcp.pool2.PooledObject.getActiveTime()
    Use PooledObject.getActiveDuration().
    org.apache.tomcat.dbcp.pool2.PooledObject.getActiveTimeMillis()
    Use PooledObject.getActiveTime() which offers the best precision.
    org.apache.tomcat.dbcp.pool2.PooledObject.getCreateTime()
    Use PooledObject.getCreateInstant() which offers the best precision.
    org.apache.tomcat.dbcp.pool2.PooledObject.getIdleTime()
    Use PooledObject.getIdleDuration().
    org.apache.tomcat.dbcp.pool2.PooledObject.getIdleTimeMillis()
    Use PooledObject.getIdleTime() which offers the best precision.
    org.apache.tomcat.dbcp.pool2.PooledObject.getLastBorrowTime()
    Use PooledObject.getLastBorrowInstant() which offers the best precision.
    org.apache.tomcat.dbcp.pool2.PooledObject.getLastReturnTime()
    Use PooledObject.getLastReturnInstant() which offers the best precision.
    org.apache.tomcat.dbcp.pool2.PooledObject.getLastUsedTime()
    Use PooledObject.getLastUsedInstant() which offers the best precision.
    org.apache.tomcat.dbcp.pool2.PoolUtils.prefill(KeyedObjectPool<K, V>, Collection<K>, int)
    Use KeyedObjectPool.addObjects(Collection, int).
    org.apache.tomcat.dbcp.pool2.PoolUtils.prefill(KeyedObjectPool<K, V>, K, int)
    Use KeyedObjectPool.addObjects(Object, int).
    org.apache.tomcat.dbcp.pool2.PoolUtils.prefill(ObjectPool<T>, int)
    Use ObjectPool.addObjects(int).
    org.apache.tomcat.dbcp.pool2.TrackedUse.getLastUsed()
    Use TrackedUse.getLastUsedInstant() which offers the best precision.
    org.apache.tomcat.jdbc.pool.PooledConnection.checkUser(String, String)
    use PooledConnection.shouldForceReconnect(String, String) method kept since it was public, to avoid changing interface.
    org.apache.tomcat.jni.Buffer.calloc(int, int)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.Buffer.create(long, int)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.Buffer.free(ByteBuffer)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.Buffer.malloc(int)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.Buffer.palloc(long, int)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.Buffer.pcalloc(long, int)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.Buffer.size(ByteBuffer)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.Library.globalPool()
    org.apache.tomcat.jni.Library.load(String)
    Unused. Will be removed in Tomcat 10.1.x
    org.apache.tomcat.jni.Library.loadLibrary(String)
    Unused. Will be removed in Tomcat 10.1.x
    org.apache.tomcat.jni.Pool.alloc(long, int)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.Pool.calloc(long, int)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.Pool.cleanupForExec()
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.Pool.cleanupKill(long, long)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.Pool.cleanupRegister(long, Object)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.Pool.clear(long)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.Pool.dataGet(long, String)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.Pool.dataSet(long, String, Object)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.Pool.isAncestor(long, long)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.Pool.noteSubprocess(long, long, int)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.Pool.parentGet(long)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.SSL.closeBIO(long)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.SSL.getError(long, int)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.SSL.getLastError()
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.SSL.getNextProtoNegotiated(long)
    Unused. Will be removed in Tomcat 10.1.x
    org.apache.tomcat.jni.SSL.hasOp(int)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.SSL.newBIO(long, BIOCallback)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.SSL.randLoad(String)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.SSL.randMake(String, int, boolean)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.SSL.randSave(String)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.SSL.setBIO(long, long, long)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.SSL.setPassword(String)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.SSL.setPasswordCallback(PasswordCallback)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.SSL.setShutdown(long, int)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.SSLContext.registerDefault(Long, SSLContext.SNICallBack)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.SSLContext.setALPN(long, byte[], int)
    org.apache.tomcat.jni.SSLContext.setBIO(long, long, int)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.SSLContext.setContextId(long, String)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.SSLContext.setNextProtos(long, String)
    use SSLContext.setNpnProtos(long, String[], int)
    org.apache.tomcat.jni.SSLContext.setNpnProtos(long, String[], int)
    Unused. Will be removed in Tomcat 10.1.x
    org.apache.tomcat.jni.SSLContext.setQuietShutdown(long, boolean)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.SSLContext.setRandom(long, String)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.SSLContext.setShutdownType(long, int)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.SSLContext.setTmpDH(long, String)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.SSLContext.setTmpECDHByCurveName(long, String)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.jni.SSLContext.unregisterDefault(Long)
    Unused. Will be removed in Tomcat 10.1
    org.apache.tomcat.util.buf.AbstractChunk.getOffset()
    Unused. This method will be removed in Tomcat 12.
    org.apache.tomcat.util.buf.AbstractChunk.setOffset(int)
    Unused. This method will be removed in Tomcat 12.
    org.apache.tomcat.util.buf.ByteChunk.substract()
    org.apache.tomcat.util.buf.ByteChunk.substract(byte[], int, int)
    org.apache.tomcat.util.buf.ByteChunk.substract(ByteBuffer)
    Use ByteChunk.subtract(ByteBuffer). This method will be removed in Tomcat 10
    org.apache.tomcat.util.buf.ByteChunk.substractB()
    org.apache.tomcat.util.buf.ByteChunk.toStringInternal()
    Unused. This method will be removed in Tomcat 11 onwards.
    org.apache.tomcat.util.buf.CharChunk.setOptimizedWrite(boolean)
    Unused code. This is now a NO-OP and will be removed without replacement in Tomcat 10.
    org.apache.tomcat.util.buf.CharChunk.substract()
    org.apache.tomcat.util.buf.CharChunk.substract(char[], int, int)
    org.apache.tomcat.util.buf.StringCache.find(ByteChunk)
    Unused. Will be removed in Tomcat 11. Use StringCache.find(ByteChunk, CodingErrorAction, CodingErrorAction)
    org.apache.tomcat.util.buf.UDecoder.convert(String, boolean)
    Unused. Will be removed in Tomcat 10
    org.apache.tomcat.util.buf.UDecoder.convert(CharChunk, boolean)
    Unused. Will be removed in Tomcat 10
    org.apache.tomcat.util.buf.UDecoder.convert(MessageBytes, boolean)
    Unused. Will be removed in Tomcat 10
    org.apache.tomcat.util.buf.UDecoder.URLDecode(String)
    Unused. This will be removed in Tomcat 10 onwards
    org.apache.tomcat.util.descriptor.web.WebXml.setDuplicated(boolean)
    org.apache.tomcat.util.file.ConfigFileLoader.getInputStream(String)
    org.apache.tomcat.util.file.ConfigFileLoader.getURI(String)
    org.apache.tomcat.util.http.CookieProcessor.generateHeader(Cookie)
    This method has been replaced with CookieProcessor.generateHeader(Cookie, HttpServletRequest) and will be removed from Tomcat 10 onwards.
    org.apache.tomcat.util.http.FastHttpDateFormat.formatDate(long, DateFormat)
    Unused. This will be removed in Tomcat 10
    org.apache.tomcat.util.http.FastHttpDateFormat.parseDate(String, DateFormat[])
    Unused. This will be removed in Tomcat 10 Use FastHttpDateFormat.parseDate(String)
    org.apache.tomcat.util.http.MimeHeaders.clear()
    org.apache.tomcat.util.http.parser.Cookie.parseCookie(byte[], int, int, ServerCookies)
    Unused. This method will be removed in Tomcat 11 onwards.
    org.apache.tomcat.util.IntrospectionUtils.replaceProperties(String, Hashtable<Object, Object>, IntrospectionUtils.PropertySource[])
    Use IntrospectionUtils.replaceProperties(String, Hashtable, PropertySource[], ClassLoader)
    org.apache.tomcat.util.net.AbstractEndpoint.getAcceptorThreadCount()
    This attribute is hard-coded to 1 and is no longer configurable. This getter will be removed in Tomcat 10.
    org.apache.tomcat.util.net.AbstractEndpoint.Handler.getOpenSockets()
    Unused, will be removed in Tomcat 10, replaced by AbstractEndpoint.getConnections
    org.apache.tomcat.util.net.AbstractEndpoint.setAcceptorThreadCount(int)
    This attribute is hard-coded to 1 and is no longer configurable. This setter will be removed in Tomcat 10.
    org.apache.tomcat.util.net.Acceptor.stop()
    This method will be removed in Tomcat 10.1.x onwards. Use Acceptor.stop(int) instead.
    org.apache.tomcat.util.net.Acceptor.stop(int)
    Unused. Will be remove in Tomcat 11 onwards.
    org.apache.tomcat.util.net.jsse.JSSEImplementation.getSSLSupport(SSLSession)
    org.apache.tomcat.util.net.NioEndpoint.getPollerThreadCount()
    Will be removed in Tomcat 10.
    org.apache.tomcat.util.net.NioEndpoint.setPollerThreadCount(int)
    Will be removed in Tomcat 10.
    org.apache.tomcat.util.net.openssl.OpenSSLImplementation.getSSLSupport(SSLSession)
    org.apache.tomcat.util.net.openssl.OpenSSLUtil.chooseKeyManager(KeyManager[])
    org.apache.tomcat.util.net.SocketWrapperBase.awaitReadComplete(long, TimeUnit)
    org.apache.tomcat.util.net.SocketWrapperBase.awaitWriteComplete(long, TimeUnit)
    org.apache.tomcat.util.net.SocketWrapperBase.getSslSupport(String)
    Will be removed in Tomcat 10.1.x onwards
    org.apache.tomcat.util.net.SocketWrapperBase.isSecure()
    Unused. Will be removed in Tomcat 10.
    org.apache.tomcat.util.net.SocketWrapperBase.isUpgraded()
    Unused. Will be removed in Tomcat 10.
    org.apache.tomcat.util.net.SocketWrapperBase.setSecure(boolean)
    Unused. Will be removed in Tomcat 10.
    org.apache.tomcat.util.net.SocketWrapperBase.setUpgraded(boolean)
    Unused. Will be removed in Tomcat 10.
    org.apache.tomcat.util.net.SSLHostConfig.getCertificateKeyAlias()
    Obtain the prefered Certificate and call this method, there.
    org.apache.tomcat.util.net.SSLHostConfig.getCertificateKeyPassword()
    Obtain the prefered Certificate and call this method, there.
    org.apache.tomcat.util.net.SSLHostConfig.getCertificateKeyPasswordFile()
    Obtain the prefered Certificate and call this method, there.
    org.apache.tomcat.util.net.SSLHostConfig.getCertificateKeystoreFile()
    Obtain the prefered Certificate and call this method, there.
    org.apache.tomcat.util.net.SSLHostConfig.getCertificateKeystorePassword()
    Obtain the prefered Certificate and call this method, there.
    org.apache.tomcat.util.net.SSLHostConfig.getCertificateKeystorePasswordFile()
    Obtain the prefered Certificate and call this method, there.
    org.apache.tomcat.util.net.SSLHostConfig.getCertificateKeystoreProvider()
    Obtain the prefered Certificate and call this method, there.
    org.apache.tomcat.util.net.SSLHostConfig.getCertificateKeystoreType()
    Obtain the prefered Certificate and call this method, there.
    org.apache.tomcat.util.net.SSLHostConfig.setCertificateKeyAlias(String)
    Obtain the prefered Certificate and call this method, there.
    org.apache.tomcat.util.net.SSLHostConfig.setCertificateKeyPassword(String)
    Obtain the prefered Certificate and call this method, there.
    org.apache.tomcat.util.net.SSLHostConfig.setCertificateKeyPasswordFile(String)
    Obtain the prefered Certificate and call this method, there.
    org.apache.tomcat.util.net.SSLHostConfig.setCertificateKeystoreFile(String)
    Obtain the prefered Certificate and call this method, there.
    org.apache.tomcat.util.net.SSLHostConfig.setCertificateKeystorePassword(String)
    Obtain the prefered Certificate and call this method, there.
    org.apache.tomcat.util.net.SSLHostConfig.setCertificateKeystorePasswordFile(String)
    Obtain the prefered Certificate and call this method, there.
    org.apache.tomcat.util.net.SSLHostConfig.setCertificateKeystoreProvider(String)
    Obtain the prefered Certificate and call this method, there.
    org.apache.tomcat.util.net.SSLHostConfig.setCertificateKeystoreType(String)
    Obtain the prefered Certificate and call this method, there.
    org.apache.tomcat.util.net.SSLImplementation.getSSLSupport(SSLSession)
    This will be removed in Tomcat 10.1.x onwards. Use SSLImplementation.getSSLSupport(SSLSession, Map).
    org.apache.tomcat.util.threads.TaskQueue.force(Runnable, long, TimeUnit)
    Unused. Will be removed in Tomcat 10.1.x.
    org.apache.tomcat.util.threads.ThreadPoolExecutor.execute(Runnable, long, TimeUnit)
    This will be removed in Tomcat 10.1.x onwards
    org.apache.tomcat.websocket.Authenticator.getAuthorization(String, String, Map<String, Object>)
    Use Authenticator.getAuthorization(String, String, String, String, String). Will be removed in Tomcat 10.1.x
    org.apache.tomcat.websocket.Authenticator.parseWWWAuthenticateHeader(String)
    Use Authenticator.parseAuthenticateHeader(String). Will be removed in Tomcat 10.1.x onwards
    org.apache.tomcat.websocket.server.WsServerContainer.doUpgrade(HttpServletRequest, HttpServletResponse, ServerEndpointConfig, Map<String, String>)
    This method will be removed in Apache Tomcat 10.1 onwards. It has been replaced by WsServerContainer.upgradeHttpToWebSocket(Object, Object, ServerEndpointConfig, Map)
    org.apache.tomcat.websocket.server.WsServerContainer.isEnforceNoAddAfterHandshake()
    org.apache.tomcat.websocket.server.WsServerContainer.setEnforceNoAddAfterHandshake(boolean)
    org.apache.tomcat.websocket.Util.getDecoders(List<Class<? extends Decoder>>)
    Will be removed in Tomcat 10.1.x. Use Util.getDecoders(List, InstanceManager)
  • Deprecated Constructors
    Constructor
    Description
    org.apache.catalina.authenticator.BasicAuthenticator.BasicCredentials(ByteChunk, Charset, boolean)
    Will be removed in Tomcat 11 onwards
    org.apache.catalina.loader.WebappLoader(ClassLoader)
    Use Container.setParentClassLoader(ClassLoader) to specify the required class loader. This method will be removed in Tomcat 10 onwards.
    org.apache.tomcat.dbcp.dbcp2.PStmtKey(String)
    Use PStmtKey(String, String, String).
    org.apache.tomcat.dbcp.dbcp2.PStmtKey(String, int, int)
    Use PStmtKey(String, String, String, int, int).
    org.apache.tomcat.dbcp.dbcp2.PStmtKey(String, String)
    Use PStmtKey(String, String, String).
    org.apache.tomcat.dbcp.dbcp2.PStmtKey(String, String, int)
    Use PStmtKey(String, String, String, int).
    org.apache.tomcat.dbcp.dbcp2.PStmtKey(String, String, int[])
    Use PStmtKey(String, String, String, int[]).
    org.apache.tomcat.dbcp.dbcp2.PStmtKey(String, String, int, int)
    Use PStmtKey(String, String, String, int, int).
    org.apache.tomcat.dbcp.dbcp2.PStmtKey(String, String, int, int, int)
    Use PStmtKey(String, String, String, int, int, int).
    org.apache.tomcat.dbcp.dbcp2.PStmtKey(String, String, int, int, int, PoolingConnection.StatementType)
    Use PStmtKey(String, String, String, int, int, int, PoolingConnection.StatementType)
    org.apache.tomcat.dbcp.dbcp2.PStmtKey(String, String, int, int, PoolingConnection.StatementType)
    Use PStmtKey(String, String, String, int, int, PoolingConnection.StatementType).
    org.apache.tomcat.dbcp.dbcp2.PStmtKey(String, String, String[])
    Use PStmtKey(String, String, String, String[]).
    org.apache.tomcat.dbcp.dbcp2.PStmtKey(String, String, PoolingConnection.StatementType)
    Use PStmtKey(String, String, String, PoolingConnection.StatementType).
    org.apache.tomcat.dbcp.dbcp2.PStmtKey(String, String, PoolingConnection.StatementType, Integer)
    Use PStmtKey(String, String, String, PoolingConnection.StatementType, Integer)
    org.apache.tomcat.dbcp.pool2.impl.EvictionConfig(long, long, int)
    Use EvictionConfig(Duration, Duration, int).
    org.apache.tomcat.util.net.jsse.JSSESupport(SSLSession)
    This will be removed in Tomcat 10.1.x onwards Use JSSESupport(SSLSession, Map)
    org.apache.tomcat.util.security.PrivilegedGetTccl()
    org.apache.tomcat.util.security.PrivilegedSetTccl(ClassLoader)
    org.apache.tomcat.websocket.pojo.PojoEndpointClient(Object, List<Class<? extends Decoder>>)
    org.apache.tomcat.websocket.pojo.PojoMethodMapping(Class<?>, List<Class<? extends Decoder>>, String)
    Will be removed in Tomcat 10.1.x Use (@link PojoMethodMapping(Class, List, String, InstanceManager)
    org.apache.tomcat.websocket.WsSession(Endpoint, WsRemoteEndpointImplBase, WsWebSocketContainer, URI, Map<String, List<String>>, String, Principal, String, List<Extension>, String, Map<String, String>, boolean, EndpointConfig)
    Unused. This will be removed in Tomcat 10.1
  • Deprecated Enum Constants
    Enum Constant
    Description
    org.apache.tomcat.util.http.Parameters.FailReason.REQUEST_BODY_INCOMPLETE
    Unused. Will be removed in Tomcat 11.0.x onwards

Copyright © 2000-2024 Apache Software Foundation.
Apache Tomcat, Tomcat, Apache, the Apache Tomcat logo and the Apache logo are either registered trademarks or trademarks of the Apache Software Foundation.