Class OpenHABBundleServlet

  • All Implemented Interfaces:
    Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    @NonNullByDefault
    public abstract class OpenHABBundleServlet
    extends BaseOpenHABServlet
    Base class for servlets which host resources using framework bundles.
    Author:
    Ɓukasz Dywicki - Initial contribution
    See Also:
    Serialized Form
    • Constructor Detail

      • OpenHABBundleServlet

        public OpenHABBundleServlet​(org.osgi.service.http.HttpService httpService,
                                    HttpContextFactoryService httpContextFactoryService)
    • Method Detail

      • activate

        protected void activate​(String alias,
                                org.osgi.framework.Bundle bundle)
      • activate

        protected void activate​(String alias,
                                org.osgi.framework.BundleContext bundleContext)
      • createHttpContext

        protected final org.osgi.service.http.HttpContext createHttpContext​(org.osgi.framework.Bundle bundle)