Class OpenHABServlet

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

    @NonNullByDefault
    public abstract class OpenHABServlet
    extends BaseOpenHABServlet
    Base class for HTTP servlets which share certain HttpContext instance.
    Author:
    Łukasz Dywicki - Initial contribution
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      OpenHABServlet​(org.osgi.service.http.HttpService httpService, org.osgi.service.http.HttpContext httpContext)  
    • Field Detail

      • httpContext

        protected final org.osgi.service.http.HttpContext httpContext
        Http context.
    • Constructor Detail

      • OpenHABServlet

        public OpenHABServlet​(org.osgi.service.http.HttpService httpService,
                              org.osgi.service.http.HttpContext httpContext)
    • Method Detail

      • activate

        protected void activate​(String alias)