Class HttpServiceComponent
java.lang.Object
org.eclipse.ecf.remoteservice.servlet.HttpServiceComponent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidactivate(BundleContext ctxt) protected voidbindHttpService(org.osgi.service.http.HttpService httpService) protected voidstatic HttpServiceComponentCollection<org.osgi.service.http.HttpService><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)
-
Constructor Details
-
HttpServiceComponent
public HttpServiceComponent()
-
-
Method Details
-
getDefault
-
getHttpServices
-
bindHttpService
protected void bindHttpService(org.osgi.service.http.HttpService httpService) -
unbindHttpService
protected void unbindHttpService(org.osgi.service.http.HttpService httpService) -
getContext
-
activate
- Throws:
Exception
-
deactivate
- Throws:
Exception
-
registerServlet
public 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.ServletExceptionorg.osgi.service.http.NamespaceException
-
registerServlet
public 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.ServletExceptionorg.osgi.service.http.NamespaceException
-
unregisterServlet
-
unregisterServlet
-
getService
-