|
||||||||||
| 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.ResourceWebElement
public class ResourceWebElement
Registers/unregisters ResourceMapping with HttpService.
| Constructor Summary | |
|---|---|
ResourceWebElement(ResourceMapping resourceMapping)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getHttpContextId()
|
void |
register(org.osgi.service.http.HttpService httpService,
org.osgi.service.http.HttpContext httpContext)
Registers resource with http service. |
java.lang.String |
toString()
|
void |
unregister(org.osgi.service.http.HttpService httpService,
org.osgi.service.http.HttpContext httpContext)
Unregisters resource from http service. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceWebElement(ResourceMapping resourceMapping)
resourceMapping - resource mapping; cannot be null| Method Detail |
|---|
public void register(org.osgi.service.http.HttpService httpService,
org.osgi.service.http.HttpContext httpContext)
throws java.lang.Exception
register in interface WebElementjava.lang.Exceptionpublic java.lang.String getHttpContextId()
getHttpContextId in interface WebElement
public void unregister(org.osgi.service.http.HttpService httpService,
org.osgi.service.http.HttpContext httpContext)
unregister in interface WebElementpublic 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 | |||||||||