- Type Parameters:
REQUEST - HttpServletRequest class (or a wrapper)
RESPONSE - HttpServletResponse class (or a wrapper)
public interface ServletAccessor<REQUEST,RESPONSE>
This interface is used to access methods of ServletContext, HttpServletRequest and
HttpServletResponse classes in shared code that is used for both jakarta.servlet and
javax.servlet versions of those classes. A wrapper class with extra information attached may be
used as well in cases where the class itself does not provide some field (such as response status
for Servlet API 2.2).