public class UndertowHttpService
extends java.lang.Object
implements org.osgi.service.http.HttpService
UndertowHttpServer| Constructor and Description |
|---|
UndertowHttpService(UndertowHttpServer httpServer) |
| Modifier and Type | Method and Description |
|---|---|
org.osgi.service.http.HttpContext |
createDefaultHttpContext() |
void |
registerResources(java.lang.String alias,
java.lang.String name,
org.osgi.service.http.HttpContext context) |
void |
registerServlet(java.lang.String alias,
javax.servlet.Servlet servlet,
java.util.Dictionary initparams,
org.osgi.service.http.HttpContext context) |
void |
unregister(java.lang.String alias) |
public UndertowHttpService(UndertowHttpServer httpServer)
public void registerServlet(java.lang.String alias,
javax.servlet.Servlet servlet,
java.util.Dictionary initparams,
org.osgi.service.http.HttpContext context)
throws javax.servlet.ServletException,
org.osgi.service.http.NamespaceException
registerServlet in interface org.osgi.service.http.HttpServicejavax.servlet.ServletExceptionorg.osgi.service.http.NamespaceExceptionpublic void registerResources(java.lang.String alias,
java.lang.String name,
org.osgi.service.http.HttpContext context)
throws org.osgi.service.http.NamespaceException
registerResources in interface org.osgi.service.http.HttpServiceorg.osgi.service.http.NamespaceExceptionpublic void unregister(java.lang.String alias)
unregister in interface org.osgi.service.http.HttpServicepublic org.osgi.service.http.HttpContext createDefaultHttpContext()
createDefaultHttpContext in interface org.osgi.service.http.HttpServiceCopyright © 2014. All Rights Reserved.