Deprecated API
Contents
-
Deprecated InterfacesInterfaceDescriptionConfigure the cluster to use TLS instead. This interceptor will be removed in Tomcat 12.Unused. 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.This class will be removed in Tomcat 12.This class will be removed in Tomcat 12.This class will be removed in Tomcat 12.Configure the cluster to use TLS instead. This interceptor will be removed in Tomcat 12.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.Unused. Will be removed in Tomcat 12 onwardsUnused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.Unused. Will be removed in Tomcat 12 onwards.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 a future version. 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)Unused. Will be removed in Tomcat 12UseReceiverBase.bind(ServerSocket, int, int, boolean). This method will be removed in Tomcat 12.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.The disposable connection facade is always used, so this property no longer has any effect.The statement facade is always used, so this property no longer has any effect.The disposable connection facade is always used, so this property no longer has any effect.The statement facade is always used, so this property no longer has any effect.The disposable connection facade is always used, so this property no longer has any effect.The statement facade is always used, so this property no longer has any effect.The disposable connection facade is always used, so this property no longer has any effect.The statement facade is always used, so this property no longer has any effect.The disposable connection facade is always used, so this property no longer has any effect.The statement facade is always used, so this property no longer has any effect.The disposable connection facade is always used, so this property no longer has any effect. Setting it tofalseused to hand out connection handles that stayed usable, or worse, able to return and drive the connection of a later borrower.The statement facade is always used, so this property no longer has any effect. Setting it tofalseused to leave statement and result set handles usable after the borrow they came from had ended, so a handle kept by the application could go on executing on the session the next borrower held, andStatement.getConnection()returned the driver's own connection, which survives the borrow and bypasses every configured interceptor.usePooledConnection.shouldForceReconnect(String, String)method kept since it was public, to avoid changing interface.The disposable connection facade is always used, so this property no longer has any effect.The statement facade is always used, so this property no longer has any effect.The disposable connection facade is always used, so this property no longer has any effect.The statement facade is always used, so this property no longer has any effect.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 removed in a future release. 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)Unused. Will be removed in Tomcat 12Will 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