|
||||||||||
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.ErrorPageWebElement
public class ErrorPageWebElement
Registers/unregisters ErrorPageMapping
with WebContainer
.
Constructor Summary | |
---|---|
ErrorPageWebElement(ErrorPageMapping errorPageMapping)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getHttpContextId()
|
void |
register(org.osgi.service.http.HttpService httpService,
org.osgi.service.http.HttpContext httpContext)
registers error page |
java.lang.String |
toString()
|
void |
unregister(org.osgi.service.http.HttpService httpService,
org.osgi.service.http.HttpContext httpContext)
unregisters error page |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ErrorPageWebElement(ErrorPageMapping errorPageMapping)
errorPageMapping
- error page 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
httpService
- httpContext
-
java.lang.Exception
public void unregister(org.osgi.service.http.HttpService httpService, org.osgi.service.http.HttpContext httpContext)
unregister
in interface WebElement
httpService
- httpContext
- 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 |