|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.admin.resources.controller.PropertyDescriptorResource
@Path(value="") @RolesAllowed(value="view") public class PropertyDescriptorResource
Provides access to properties used by the application.
Constructor Summary | |
---|---|
PropertyDescriptorResource() |
Method Summary | |
---|---|
javax.ws.rs.core.Response |
getAsDotXml(String propertyKey) Returns the property descriptor for a given property key. |
javax.ws.rs.core.Response |
getAsHtml(String propertyKey) Returns the property descriptor for a given property key as HTML. |
javax.ws.rs.core.Response |
getAsXml(String propertyKey) Returns the property descriptor for a given property key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyDescriptorResource()
Method Detail |
---|
@GET @Path(value="/descriptors/{key}.xml") @Produces(value="*/*") public javax.ws.rs.core.Response getAsDotXml(@PathParam(value="key") String propertyKey) throws IOException
propertyKey
- the key to the requested property descriptor.
IOException
- on any problem generating the XML representation.
@GET @Path(value="/descriptors/{key}") @Produces(value={"application/xml","text/xml"}) public javax.ws.rs.core.Response getAsXml(@PathParam(value="key") String propertyKey) throws IOException
propertyKey
- the key to the requested property descriptor.
IOException
- on any problem generating the XML representation.
@GET @Path(value="/descriptors/{key}") @Produces(value="text/html") public javax.ws.rs.core.Response getAsHtml(@PathParam(value="key") String propertyKey) throws IOException
propertyKey
- the key to the requested property descriptor.
IOException
- on any problem generating the XML representation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |