Class AbstractProxyServlet

  • All Implemented Interfaces:
    jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable
    Direct Known Subclasses:
    ProxyServlet

    public abstract class AbstractProxyServlet
    extends jakarta.servlet.http.HttpServlet
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void destroy()  
      protected abstract org.osgi.framework.BundleContext getBundleContext()  
      void init​(jakarta.servlet.ServletConfig config)  
      protected void service​(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res)  
      • Methods inherited from class jakarta.servlet.http.HttpServlet

        doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
      • Methods inherited from class jakarta.servlet.GenericServlet

        getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
    • Constructor Detail

      • AbstractProxyServlet

        public AbstractProxyServlet()
    • Method Detail

      • 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
      • service

        protected void service​(jakarta.servlet.http.HttpServletRequest req,
                               jakarta.servlet.http.HttpServletResponse res)
                        throws jakarta.servlet.ServletException,
                               IOException
        Overrides:
        service in class jakarta.servlet.http.HttpServlet
        Throws:
        jakarta.servlet.ServletException
        IOException
      • destroy

        public void destroy()
        Specified by:
        destroy in interface jakarta.servlet.Servlet
        Overrides:
        destroy in class jakarta.servlet.GenericServlet
      • getBundleContext

        protected abstract org.osgi.framework.BundleContext getBundleContext()
                                                                      throws jakarta.servlet.ServletException
        Throws:
        jakarta.servlet.ServletException