| Package | Description | 
|---|---|
| org.osgi.service.http | 
 Http Service Package Version 1.2. 
 | 
| Modifier and Type | Method and 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 and Description | 
|---|---|
void | 
HttpService.registerResources(String alias,
                 String name,
                 HttpContext context)
Registers resources into the URI namespace. 
 | 
void | 
HttpService.registerServlet(String alias,
               javax.servlet.Servlet servlet,
               Dictionary initparams,
               HttpContext context)
Registers a servlet into the URI namespace. 
 | 
Copyright © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0