Class ProxyServlet.Transparent

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable
Enclosing class:
ProxyServlet

public static class ProxyServlet.Transparent extends ProxyServlet

Convenience extension of ProxyServlet that offers transparent proxy functionalities.

See Also:
  • Constructor Details

    • Transparent

      public Transparent()
  • Method Details

    • init

      public void init(jakarta.servlet.ServletConfig config) throws jakarta.servlet.ServletException
      Specified by:
      init in interface jakarta.servlet.Servlet
      Overrides:
      init in class jakarta.servlet.GenericServlet
      Throws:
      jakarta.servlet.ServletException
    • rewriteTarget

      protected String rewriteTarget(jakarta.servlet.http.HttpServletRequest request)
      Overrides:
      rewriteTarget in class AbstractProxyServlet