UiHttpContext¶
-
public class
UiHttpContext
implements HttpContext¶ This is the extension of the Felix
org.osgi.service.http.HttpContext
used by MOTECH. It acts as a decorator for the default context provided by Felix, its only function is to resolve resource names, so that calls to root (/webapp
) map to theindex.html
file from the root directory.
Constructors¶
UiHttpContext¶
-
public
UiHttpContext
(HttpContext context)¶ Constructs the instance by decorating the provided HTTP context.
Parameters: - context – the context to decorate