Package org.openhab.core.io.http
Interface WrappingHttpContext
- All Superinterfaces:
- org.osgi.service.http.HttpContext
public interface WrappingHttpContext
extends org.osgi.service.http.HttpContext
Extension of standard 
HttpContext interface which allows creation of "sub contexts".
 These sub contexts are nothing else but custom resource locators which provide new files to host, but should not
 influence overall processing logic of
 HttpContext.handleSecurity(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) and
 HttpContext.getMimeType(String).- Author:
- Ćukasz Dywicki - Initial contribution
- 
Field SummaryFields inherited from interface org.osgi.service.http.HttpContextAUTHENTICATION_TYPE, AUTHORIZATION, REMOTE_USER
- 
Method SummaryModifier and TypeMethodDescriptionorg.osgi.service.http.HttpContextwrap(org.osgi.framework.Bundle bundle) Creates new http context which hosts resources from given bundle.Methods inherited from interface org.osgi.service.http.HttpContextgetMimeType, getResource, handleSecurity
- 
Method Details- 
wraporg.osgi.service.http.HttpContext wrap(org.osgi.framework.Bundle bundle) Creates new http context which hosts resources from given bundle.- Parameters:
- bundle- Bundle with resources.
- Returns:
- New context instance.
 
 
-