The WebSphere Servlet API was superseded by standard Servlet 3.0 functionality. This rule flags Java code that has references to
the com.ibm.websphere.servlet.filter.ServletChain class because it is not available on Liberty. Applications requiring
this functionality should instead use the javax.servlet.Filter and javax.servlet.FilterChain classes.
An LLM assisted fix is available in the watsonx Code Assistant for Enterprise Java Applications plugin to help with the conversion. With the plugin installed, look up which servlets are mapped to the URL pattern used in your ServletChain and invoke the LLM against those classes. Once the servlets have been converted into filters, you can remove the old servlets from the application, remove the ServletChain from your code and then configure the new filters accordingly in the application's web.xml deployment descriptor.
This rule flags Java code that has references to the following classes and packages because they are not available on Liberty.com.ibm.websphere.servlet.filter.ChainedRequestcom.ibm.websphere.servlet.filter.ChainedResponsecom.ibm.websphere.servlet.filter.ChainerServletFor information about the Java EE Servlet APIs, see the javax.servlet package Java documentation.
For information about the WebSphere Servlet APIs, see the IBM WebSphere Application Server, Release 8.5 API Specification.
Also, see the deprecation note in the com.ibm.websphere.servlet.filter.ServletChain class Java documentation.