Package org.openhab.core.io.http
Interface HttpContextFactoryService
public interface HttpContextFactoryService
Create 
HttpContext instances when registering servlets, resources or filters using the
 HttpService.registerServlet(java.lang.String, javax.servlet.Servlet, java.util.Dictionary<?, ?>, org.osgi.service.http.HttpContext) and corresponding methods.- Author:
- Henning Treu - Initial contribution
- 
Method SummaryModifier and TypeMethodDescriptionorg.osgi.service.http.HttpContextcreateDefaultHttpContext(org.osgi.framework.Bundle bundle) Creates anHttpContextaccording to the OSGi specification ofHttpService.createDefaultHttpContext().
- 
Method Details- 
createDefaultHttpContextorg.osgi.service.http.HttpContext createDefaultHttpContext(org.osgi.framework.Bundle bundle) Creates anHttpContextaccording to the OSGi specification ofHttpService.createDefaultHttpContext().- Parameters:
- bundle- the bundle which will be used by this- HttpContextto resolve resources.
- Returns:
- the HttpContextfor the given bundle.
 
 
-