Class HttpServiceComponent
- java.lang.Object
- 
- org.eclipse.ecf.remoteservice.servlet.HttpServiceComponent
 
- 
 public abstract class HttpServiceComponent extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description HttpServiceComponent()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidactivate(BundleContext ctxt)protected voidbindHttpService(org.osgi.service.http.HttpService httpService)protected voiddeactivate()BundleContextgetContext()static HttpServiceComponentgetDefault()Collection<org.osgi.service.http.HttpService>getHttpServices()<T> TgetService(Class<T> service)voidregisterServlet(Class service, javax.servlet.Servlet servlet, Dictionary dictionary, org.osgi.service.http.HttpContext httpContext)voidregisterServlet(String path, javax.servlet.Servlet servlet, Dictionary dictionary, org.osgi.service.http.HttpContext httpContext)protected voidunbindHttpService(org.osgi.service.http.HttpService httpService)voidunregisterServlet(Class service)voidunregisterServlet(String path)
 
- 
- 
- 
Method Detail- 
getDefaultpublic static HttpServiceComponent getDefault() 
 - 
getHttpServicespublic Collection<org.osgi.service.http.HttpService> getHttpServices() 
 - 
bindHttpServiceprotected void bindHttpService(org.osgi.service.http.HttpService httpService) 
 - 
unbindHttpServiceprotected void unbindHttpService(org.osgi.service.http.HttpService httpService) 
 - 
getContextpublic BundleContext getContext() 
 - 
activateprotected void activate(BundleContext ctxt) throws Exception - Throws:
- Exception
 
 - 
registerServletpublic void registerServlet(Class service, javax.servlet.Servlet servlet, Dictionary dictionary, org.osgi.service.http.HttpContext httpContext) throws javax.servlet.ServletException, org.osgi.service.http.NamespaceException - Throws:
- javax.servlet.ServletException
- org.osgi.service.http.NamespaceException
 
 - 
registerServletpublic void registerServlet(String path, javax.servlet.Servlet servlet, Dictionary dictionary, org.osgi.service.http.HttpContext httpContext) throws javax.servlet.ServletException, org.osgi.service.http.NamespaceException - Throws:
- javax.servlet.ServletException
- org.osgi.service.http.NamespaceException
 
 - 
unregisterServletpublic void unregisterServlet(String path) 
 - 
unregisterServletpublic void unregisterServlet(Class service) 
 - 
getServicepublic <T> T getService(Class<T> service) 
 
- 
 
-