Class HttpServiceComponent


  • public abstract class HttpServiceComponent
    extends Object
    • Constructor Detail

      • HttpServiceComponent

        public HttpServiceComponent()
    • Method Detail

      • getHttpServices

        public Collection<org.osgi.service.http.HttpService> getHttpServices()
      • bindHttpService

        protected void bindHttpService​(org.osgi.service.http.HttpService httpService)
      • unbindHttpService

        protected void unbindHttpService​(org.osgi.service.http.HttpService httpService)
      • registerServlet

        public void registerServlet​(Class service,
                                    javax.servlet.Servlet servlet,
                                    Dictionary dictionary,
                                    org.osgi.service.http.HttpContext httpContext)
                             throws javax.servlet.ServletException,
                                    org.osgi.service.http.NamespaceException
        Throws:
        javax.servlet.ServletException
        org.osgi.service.http.NamespaceException
      • registerServlet

        public void registerServlet​(String path,
                                    javax.servlet.Servlet servlet,
                                    Dictionary dictionary,
                                    org.osgi.service.http.HttpContext httpContext)
                             throws javax.servlet.ServletException,
                                    org.osgi.service.http.NamespaceException
        Throws:
        javax.servlet.ServletException
        org.osgi.service.http.NamespaceException
      • unregisterServlet

        public void unregisterServlet​(String path)
      • unregisterServlet

        public void unregisterServlet​(Class service)
      • getService

        public <T> T getService​(Class<T> service)