Http Service Resources

org.eclipse.equinox.http.registry.resources

1.0

This extension mimics and borrows the semantics of the OSGi HttpService registerResource method.

<!ELEMENT extension (serviceSelector? , resource+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT resource EMPTY>

<!ATTLIST resource

alias         CDATA #REQUIRED

base-name     CDATA #IMPLIED

httpcontextId CDATA #IMPLIED>


<!ELEMENT serviceSelector EMPTY>

<!ATTLIST serviceSelector

filter CDATA #IMPLIED

class  CDATA #IMPLIED>

The serviceSelector allow filtering of the HttpService instances with which to register resources



The following is an example of the resources extension:
     

<extension id=

"testResource"

point=

"org.eclipse.equinox.http.registry.resources"

>

<resource alias=

"/testresource"

base-name=

"/test"

httpcontextId=

"testintest"

/>

</extension>

This equivalent to the OSGi Http Service's registerResource method.