org.apache.felix.http.jetty
Class HttpServiceImpl
java.lang.Object
org.apache.felix.http.jetty.HttpServiceImpl
- All Implemented Interfaces:
- HttpService
public class HttpServiceImpl
- extends Object
- implements HttpService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpServiceImpl
public HttpServiceImpl(Bundle bundle,
org.mortbay.jetty.Server server,
OsgiServletHandler serverServletHandler)
initializeStatics
public static void initializeStatics()
- Initializes static variables.
createDefaultHttpContext
public HttpContext createDefaultHttpContext()
- Specified by:
createDefaultHttpContext
in interface HttpService
registerServlet
public void registerServlet(String alias,
Servlet servlet,
Dictionary params,
HttpContext osgiHttpContext)
throws ServletException,
NamespaceException
- Specified by:
registerServlet
in interface HttpService
- Throws:
ServletException
NamespaceException
registerResources
public void registerResources(String alias,
String name,
HttpContext osgiHttpContext)
throws NamespaceException
- Specified by:
registerResources
in interface HttpService
- Throws:
NamespaceException
unregister
public void unregister(String alias)
- Specified by:
unregister
in interface HttpService
unregisterAll
protected void unregisterAll()
doUnregister
protected void doUnregister(String alias,
boolean forced)
addAlias
protected void addAlias(String alias,
Object obj)
throws NamespaceException
- Throws:
NamespaceException
removeAlias
protected ServletContextGroup removeAlias(String alias)
updateAlias
protected void updateAlias(String alias,
Object obj)
aliasValid
protected boolean aliasValid(String alias)
nameValid
protected boolean nameValid(String name)
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.