Package | Description |
---|---|
org.osgi.service.http |
Modifier and Type | Method | Description |
---|---|---|
HttpContext |
HttpService.createDefaultHttpContext() |
Creates a default
HttpContext for registering servlets or
resources with the HttpService, a new HttpContext object is
created each time this method is called. |
Modifier and Type | Method | Description |
---|---|---|
void |
HttpService.registerResources(java.lang.String alias,
java.lang.String name,
HttpContext context) |
Registers resources into the URI namespace.
|
void |
HttpService.registerServlet(java.lang.String alias,
javax.servlet.Servlet servlet,
java.util.Dictionary initparams,
HttpContext context) |
Registers a servlet into the URI namespace.
|