Deprecated API
Contents
-
Deprecated InterfacesInterfaceDescriptionUnused. This interface will be removed in Tomcat 12 onwards
-
Deprecated ClassesClassDescriptionUnused. Use
AprStatusinstead. This class will be removed in Tomcat 12 onwards.This Filter will be removed in Tomcat 12 onwards. UseRemoteCIDRFilterinstead.Non scalable design, and not documented. Will be removed in Tomcat 12.This Valve will be removed in Tomcat 12 onwards. UseRemoteCIDRValveinstead.Unused. Will be removed in Tomcat 12 onwards.UsePStmtKey.This abstract class will be removed in Tomcat 12 onwards
-
Deprecated FieldsFieldDescriptionThis option will be removed without replacement in Tomcat 12 onwards where it will effectively be hard coded to
true.Replaced bySSLHostConfig.DEFAULT_TLS_CIPHERS_12Replaced bySSLSupport.SECURE_PROTOCOL_KEY. This constant will be removed in Tomcat 12.
-
Deprecated MethodsMethodDescriptionThis method will be removed in Tomcat 12.0.x onwards. Use
SavedRequest.getOriginalMaxInactiveIntervalOptional()This method will be removed from Tomcat 12 onwards.This method will be removed from Tomcat 12 onwards.Will be removed in Tomcat 12 onwards.This method will be removed in Tomcat 12. Implementors are expected to implement this method without delegating the implementation to one of the otheraddServletMapping*methods as that may trigger infinite loops. Once this method has been removed from the interface, implementors may wish to move their implementation of this method toContext.addServletMapping(String, String, boolean)and remove their implementation of this method.This is a transitional setting that will be removed in Tomcat 12 where it will be hard-coded totrueThis is a transitional setting that will be removed in Tomcat 12 where it will be hard-coded totrueThe implementation of this method will be replaced with the implementation ofRemoteIpFilter.getInternalProxiesAsString()in Tomcat 12 onwards with the return type changing toStringThis method will be renamed togetInternalProxies()as of Tomcat 12The implementation of this method will be replaced with the implementation ofRemoteIpFilter.getTrustedProxiesAsString()in Tomcat 12 onwards with the return type changing toStringThis method will be renamed togetInternalProxies()as of Tomcat 12Unused. This method will be removed in Tomcat 12.Unused. Will be removed in Tomcat 12. UseHostManagerServlet.getConfigBase(String, PrintWriter, StringManager)UseConstantTime.equals(byte[], byte[]). This method will be removed in Tomcat 12.UseConstantTime.equals(String, String, boolean). This method will be removed in Tomcat 12.Will be removed in Tomcat 12. UseDefaultServlet.copyNoThrow(InputStream, ServletOutputStream)Will be removed in Tomcat 12. UseDefaultServlet.copyNoThrow(InputStream, ServletOutputStream, long, long)Will be removed in Tomcat 12. UseDefaultServlet.copyNoThrow(Reader, PrintWriter)Will be made private in Tomcat 12Unused. Will be removed in Tomcat 12. UseAbstractAccessLogValve.AccessLogElement.addElement(CharArrayWriter, Request, Response, long)Unused. Will be removed in Tomcat 12 onwards. Use#getLock(String)instead.Unused. Will be removed in Tomcat 12 onwards. Use#getLock(String)instead.Unused. Will be removed in Tomcat 12 onwards. Use#getLock(String)instead.Unused. Will be removed in Tomcat 12 onwards. Use#getLock(String)instead.Will be removed in Tomcat 12. UseHPackHuffman.decode(ByteBuffer, int, StringBuilder, boolean)Unused. This method will be removed in Tomcat 12 onwards.Unused. This method will be removed in Tomcat 12.Unused. This method will be removed in Tomcat 12.Unused. This method will be removed in Tomcat 12.Unused. Will be removed in Tomcat 12 onwards. UseRequest.markStartTime().Unused. Will be removed in Tomcat 12.Unused. Will be removed in Tomcat 12.Unused. Will be removed in Tomcat 12.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Exposing passwords via JMX is an Information Exposure issue.Exposing passwords via JMX is an Information Exposure issue.org.apache.tomcat.dbcp.dbcp2.datasources.PerUserPoolDataSource.setPerUserMaxWaitMillis(String, Long) Use setAsciiStream(), setCharacterStream() or setNCharacterStream()UsePooledObject.getActiveTime()which offers the best precision.UsePooledObject.getCreateInstant()which offers the best precision.UsePooledObject.getIdleTime()which offers the best precision.UsePooledObject.getLastBorrowInstant()which offers the best precision.UsePooledObject.getLastReturnInstant()which offers the best precision.UsePooledObject.getLastUsedInstant()which offers the best precision.UseTrackedUse.getLastUsedInstant()which offers the best precision.usePooledConnection.shouldForceReconnect(String, String)method kept since it was public, to avoid changing interface.Unused. This method will be removed in Tomcat 12 onwards.Unused. This method will be removed in Tomcat 12.Unused. This method will be removed in Tomcat 12.UseByteChunk.subtract()instead. This method cannot distinguish between EOF (-1) and the legitimate byte value 0xFF because it returnsbyte.Unused. Will be removed in Tomcat 12. UseUDecoder.convert(ByteChunk, EncodedSolidusHandling, EncodedSolidusHandling)This method will be removed in Tomcat 12This method will be removed in Tomcat 12 onwardsThis method will be removed in Tomcat 12Will be removed in Tomcat 12 onwardsWill be removed in Tomcat 12 onwardsWill be removed in Tomcat 12 onwardsWill be removed in Tomcat 12 onwardsThis method will be removed in Tomcat 12 where the field will be effectively hard-coded totrueThis method will be removed in Tomcat 12 where it will effectively be hard-coded totrueUnused. Will be remove in Tomcat 12. UseAuthenticator.getAuthorization(String, String, String, String, String, String)Unused. Will be removed from Tomcat 12 onwards
-
Deprecated ConstructorsConstructorDescriptionWill be removed in Tomcat 12 onwards. Use
ResolverImpl(Request, Log)Will be private in the next major version.Constructor will be private in the next major release.Unused. Will be removed in Tomcat 12 onwards. UseB2CConverter(Charset)This constructor will be removed in Tomcat 12This constructor will be removed in Tomcat 12This constructor will be removed in Tomcat 12