Class HttpServiceImpl
- java.lang.Object
-
- org.adempiere.eclipse.equinox.http.servlet.HttpServiceImpl
-
- All Implemented Interfaces:
org.eclipse.equinox.http.servlet.ExtendedHttpService
,org.osgi.service.http.HttpService
public class HttpServiceImpl extends Object implements org.osgi.service.http.HttpService, org.eclipse.equinox.http.servlet.ExtendedHttpService
-
-
Constructor Summary
Constructors Constructor Description HttpServiceImpl(org.osgi.framework.Bundle bundle, ProxyServlet proxy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.osgi.service.http.HttpContext
createDefaultHttpContext()
void
registerFilter(String alias, javax.servlet.Filter filter, Dictionary<String,String> initparams, org.osgi.service.http.HttpContext context)
void
registerResources(String alias, String name, org.osgi.service.http.HttpContext context)
void
registerServlet(String alias, javax.servlet.Servlet servlet, Dictionary initparams, org.osgi.service.http.HttpContext context)
void
unregister(String alias)
void
unregisterFilter(javax.servlet.Filter filter)
-
-
-
Constructor Detail
-
HttpServiceImpl
public HttpServiceImpl(org.osgi.framework.Bundle bundle, ProxyServlet proxy)
-
-
Method Detail
-
registerServlet
public void registerServlet(String alias, javax.servlet.Servlet servlet, Dictionary initparams, org.osgi.service.http.HttpContext context) throws javax.servlet.ServletException, org.osgi.service.http.NamespaceException
- Specified by:
registerServlet
in interfaceorg.osgi.service.http.HttpService
- Throws:
javax.servlet.ServletException
org.osgi.service.http.NamespaceException
- See Also:
HttpService.registerServlet(String, Servlet, Dictionary, HttpContext)
-
registerResources
public void registerResources(String alias, String name, org.osgi.service.http.HttpContext context) throws org.osgi.service.http.NamespaceException
- Specified by:
registerResources
in interfaceorg.osgi.service.http.HttpService
- Throws:
org.osgi.service.http.NamespaceException
- See Also:
HttpService.registerResources(String, String, HttpContext)
-
unregister
public void unregister(String alias)
- Specified by:
unregister
in interfaceorg.osgi.service.http.HttpService
- See Also:
HttpService.unregister(String)
-
createDefaultHttpContext
public org.osgi.service.http.HttpContext createDefaultHttpContext()
- Specified by:
createDefaultHttpContext
in interfaceorg.osgi.service.http.HttpService
- See Also:
HttpService.createDefaultHttpContext()
-
registerFilter
public void registerFilter(String alias, javax.servlet.Filter filter, Dictionary<String,String> initparams, org.osgi.service.http.HttpContext context) throws javax.servlet.ServletException
- Specified by:
registerFilter
in interfaceorg.eclipse.equinox.http.servlet.ExtendedHttpService
- Throws:
javax.servlet.ServletException
-
unregisterFilter
public void unregisterFilter(javax.servlet.Filter filter)
- Specified by:
unregisterFilter
in interfaceorg.eclipse.equinox.http.servlet.ExtendedHttpService
-
-