Package org.openhab.core.io.http
Interface HttpContextFactoryService
public interface HttpContextFactoryService
Create
ServletContextHelper instances when registering servlets, resources or filters.- Author:
- Henning Treu - Initial contribution
-
Method Summary
Modifier and TypeMethodDescriptionorg.osgi.service.servlet.context.ServletContextHelpercreateDefaultHttpContext(org.osgi.framework.Bundle bundle) Creates aServletContextHelperaccording to the OSGi whiteboard specification.
-
Method Details
-
createDefaultHttpContext
org.osgi.service.servlet.context.ServletContextHelper createDefaultHttpContext(org.osgi.framework.Bundle bundle) Creates aServletContextHelperaccording to the OSGi whiteboard specification.- Parameters:
bundle- the bundle which will be used by thisServletContextHelperto resolve resources.- Returns:
- the
ServletContextHelperfor the given bundle.
-