-
Deprecated ClassesClassDescriptionThe features provided by this listener are now available in the remote JMX capability included with the JRE. This listener will be removed in Tomcat 10 and may be removed from Tomcat 9.0.x some time after 2020-12-31.Will be removed in Tomcat 10 onwards. Use the DataSourceRealm instead.Removed in Tomcat 10 and replaced by DataSourceStore with removal of legacy JDBC codeThis will be removed in Tomcat 10This will be removed in Tomcat 10This will be removed in Tomcat 10This will be removed in Tomcat 10This will be removed in Tomcat 10This will be removed in Tomcat 10This will be removed in Tomcat 10Unused. This will be removed in Tomcat 10. Use
ConcurrentDateFormatUsePStmtKey.Unused. This will be removed in Tomcat 10.UseEnvironmentPropertySourceThis will be removed in Tomcat 10 onwards.UseTokenList.
-
Deprecated FieldsFieldDescriptionUnused. Will be removed in Tomcat 10.Unused. This will be removed in Tomcat 10Unused. This will be removed in Tomcat 10.Unused. This will be removed in Tomcat 10Unused. Will be removed in Tomcat 10Unused. 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 10Unused. This will be removed in Tomcat 10.This will be removed without replacement in Tomact 10 onwardsUnused. Will be removed in Tomcat 10.Unused. Will be removed in Tomcat 10.Unused. Will be removed in Tomcat 10.Hard-coded to false since there has not been a supported Netware platform for many years. This will be removed in Tomcat 10 onwardsUnsupported in the current version of OpenSSLUnsupported in the current version of OpenSSLUnused. This will be removed in Tomcat 10.
-
Deprecated MethodsMethodDescriptionUse
Connector.getProperty(String). This will be removed in Tomcat 10 onwards.UseConnector.setProperty(String, String). This will be removed in Tomcat 10 onwards.This code will be removed in Apache Tomcat 10 onwardsAs of version 2.1 of the Java Servlet API, useServletContext.getRealPath().As of Version 2.1 of the Java Servlet API, useisRequestedSessionIdFromURL()instead.As of Version 2.1 of the Java Servlet API, useencodeRedirectURL()instead.As of Version 2.1 of the Java Servlet API, useencodeURL()instead.Unused. Will be removed in Tomcat 10. UseResponse.sendAcknowledgement(ContinueResponseTiming).As of Version 2.1 of the Java Servlet API, this method has been deprecated due to the ambiguous meaning of the message parameter.Unused. Will be removed in Tomcat 10. UseContext.findErrorPage(Throwable)instead.Unused. Will be removed in Tomcat 10. UseContext.findErrorPage(int)instead.Unused. Will be removed in Tomcat 10. UseContext.findErrorPages()instead.As of Java Servlet API 2.1, with no direct replacement.As of Java Servlet API 2.1, with no direct replacement.As of Java Servlet API 2.1, with no direct replacement.As of Java Servlet API 2.1, uselog(String, Throwable)insteadTheContainerListenerinterface and implementing methods will be removed from this class for Tomcat 10 onwards.This will be removed in Tomcat 10. UseStandardContext.getNamingResources()insteadThis will be removed in Tomcat 10. UseStandardContext.getNamingResources()insteadThis will be removed in Tomcat 10. UseStandardContext.getNamingResources()insteadThis will be removed in Tomcat 10. UseStandardContext.getNamingResources()insteadThis will be removed in Tomcat 10 UseRequestUtil.isValidOrigin(String)Will be removed in Tomcat 10. UseExpiresFilter.getExpirationDate(HttpServletRequest, XHttpServletResponse)Will be removed in Tomcat 10Unused. 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=62841UseDeltaManager.getCounterNoStateTransferred(). Will be removed in Tomcat 10 onwards.Unused. This will be removed in Tomcat 10.UseDeltaManager.getStateTransferred(). Will be removed in Tomcat 10 onwards.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=62841UseDeltaManager.setStateTransferred(boolean). Will be removed in Tomcat 10 onwards.UseContext.getReloadable(). This method will be removed in Tomcat 10.UseContext.setReloadable(boolean). This method will be removed in Tomcat 10.This will be removed in Tomcat 10.1.x onwardsUseManager.rotateSessionId(Session). Will be removed in Tomcat 10UseManagerServlet.printResources(PrintWriter, String, javax.naming.Context, String, StringManager)This method will be removed in Tomcat 10.x onwardsUnused. Will be removed in Tomcat 10. UseContextMBean.findErrorPage(Throwable)instead.This method will be removed in Tomcat 10. Use a DataSourceRealm instead.This will be removed in Tomcat 10.Will be removed in Tomcat 10.1.x onwardsThis will be removed in Tomcat 10 onwards. UseRealmBase.getPrincipal(GSSName, GSSCredential)instead.Unused. Will be removed in Tomcat 10Unused. Will be removed in Tomcat 10As 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.As of Version 2.2, this method is replaced bygetAttribute()As of Version 2.2, this method is replaced bygetAttributeNames()As of Version 2.2, this method is replaced bysetAttribute()As of Version 2.2, this method is replaced byremoveAttribute()As of Version 2.1, this method is deprecated and has no replacement.As of Version 2.2, this method is replaced byStandardSessionFacade.getAttribute(java.lang.String).As of Version 2.2, this method is replaced byStandardSessionFacade.getAttributeNames()As of Version 2.2, this method is replaced byStandardSessionFacade.setAttribute(java.lang.String, java.lang.Object)As of Version 2.2, this method is replaced byStandardSessionFacade.removeAttribute(java.lang.String)unused. Will be removed in Tomcat 10 onwards.Will be removed in Tomcat 10Will be removed in Tomcat 10Unused. This will be removed in Tomcat 10 onwards. UseAbstractProcessor.ack(ContinueResponseTiming).Will be removed in Tomcat 10.Will be removed in Tomcat 10.Replaced byAbstractAjpProtocol.getSecret(). Will be removed in Tomcat 11 onwardsReplaced byAbstractAjpProtocol.setSecret(String). Will be removed in Tomcat 11 onwardsWill be removed in Tomcat 10 where it will be hard-coded totrueWill be removed in Tomcat 10 where it will be hard-coded totrueNow an alias forAbstractHttp11Protocol.getRejectIllegalHeader(). Will be removed in Tomcat 10 onwards.Now an alias forAbstractHttp11Protocol.setRejectIllegalHeader(boolean). Will be removed in Tomcat 10 onwards.This getter will be removed in Tomcat 10.This setter will be removed in Tomcat 10.This will be removed in Tomcat 10. UseUpgradeProtocol.setHttp11Protocol(AbstractHttp11Protocol)insteadThis will be removed in Tomcat 10. UseJspC.scanFiles()Will be removed in Tomcat 10. UseJspC.setWebXmlInclude(String)This method has been deprecated with no replacementThis method has been deprecated with no replacementThis method has been deprecated with no replacementUse log(String,Throwable) insteadUse setAsciiStream(), setCharacterStream() or setNCharacterStream()usePooledConnection.shouldForceReconnect(String, String)method kept since it was public, to avoid changing interface.UseByteChunk.subtract(ByteBuffer). This method will be removed in Tomcat 10Unused code. This is now a NO-OP and will be removed without replacement in Tomcat 10.Unused. Will be removed in Tomcat 10Unused. Will be removed in Tomcat 10Unused. Will be removed in Tomcat 10Unused. This will be removed in Tomcat 10 onwardsThis method has been replaced withCookieProcessor.generateHeader(Cookie, HttpServletRequest)and will be removed from Tomcat 10 onwards.Unused. This will be removed in Tomcat 10Unused. This will be removed in Tomcat 10 UseFastHttpDateFormat.parseDate(String)Will be removed in Tomcat 10.Unused, will be removed in Tomcat 10, replaced by AbstractEndpoint.getConnectionsWill be removed in Tomcat 10.This method will be removed in Tomcat 10.1.x onwards. UseAcceptor.stop(int)instead.Will be removed in Tomcat 10.Will be removed in Tomcat 10.Unused. Will be removed in Tomcat 10.Unused. Will be removed in Tomcat 10.Unused. Will be removed in Tomcat 10.Unused. Will be removed in Tomcat 10.This will be removed in Tomcat 10.1.x onwards. UseSSLImplementation.getSSLSupport(SSLSession, Map).
-
Deprecated ConstructorsConstructorDescriptionUnused. Will be removed in Tomcat 10. Use 3-arg constructorUse
Container.setParentClassLoader(ClassLoader)to specify the required class loader. This method will be removed in Tomcat 10 onwards.Use @linkPStmtKey(String, String, String, int, int).This will be removed in Tomcat 10.1.x onwards UseJSSESupport(SSLSession, Map)