|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ops4j.pax.web.extender.whiteboard.internal.element.ServletWebElement
public class ServletWebElement
Registers/unregisters ServletMapping
with HttpService
/ WebContainer
.
Constructor Summary | |
---|---|
ServletWebElement(ServletMapping servletMapping)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getHttpContextId()
|
void |
register(org.osgi.service.http.HttpService httpService,
org.osgi.service.http.HttpContext httpContext)
Registers servlet with http service / web container. |
java.lang.String |
toString()
|
void |
unregister(org.osgi.service.http.HttpService httpService,
org.osgi.service.http.HttpContext httpContext)
Unregisters servlet from http service / web container. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ServletWebElement(ServletMapping servletMapping)
servletMapping
- servlet mapping; cannot be nullMethod Detail |
---|
public void register(org.osgi.service.http.HttpService httpService, org.osgi.service.http.HttpContext httpContext) throws java.lang.Exception
register
in interface WebElement
java.lang.Exception
public void unregister(org.osgi.service.http.HttpService httpService, org.osgi.service.http.HttpContext httpContext)
unregister
in interface WebElement
public java.lang.String getHttpContextId()
getHttpContextId
in interface WebElement
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |