Class ServletRegistration

    • Constructor Detail

      • ServletRegistration

        public ServletRegistration​(javax.servlet.Servlet servlet,
                                   org.osgi.service.http.HttpContext context)
    • Method Detail

      • init

        public void init​(javax.servlet.ServletConfig servletConfig)
                  throws javax.servlet.ServletException
        Throws:
        javax.servlet.ServletException
      • service

        public void service​(javax.servlet.http.HttpServletRequest req,
                            javax.servlet.http.HttpServletResponse resp)
                     throws IOException,
                            javax.servlet.ServletException
        Throws:
        IOException
        javax.servlet.ServletException
      • getServlet

        public javax.servlet.Servlet getServlet()
      • getHttpContext

        public org.osgi.service.http.HttpContext getHttpContext()