|
||||||||||
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.PropertyKeysResource
@Path(value="") @RolesAllowed(value="view") public class PropertyKeysResource
Provides access to properties used by the application.
Constructor Summary | |
---|---|
PropertyKeysResource() |
Method Summary | |
---|---|
PropertiesConfiguration |
getAsHtml(String configurationKey) Returns the property keys for a selected configuration. |
String |
getAsText(String configurationKey) Returns the property keys for a selected configuration. |
PropertiesConfiguration |
getAsXml(String configurationKey) Returns the property keys for a selected configuration as SDoc XML. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyKeysResource()
Method Detail |
---|
@GET @Path(value="/configurations/{configuration : .+}/keys") @Produces(value="text/plain") public String getAsText(@PathParam(value="configuration") String configurationKey)
configurationKey
- the configuration key with slashes replaced by pipes.
@GET @Path(value="/configurations/{configuration : .+}/keys") @Produces(value="text/html") public PropertiesConfiguration getAsHtml(@PathParam(value="configuration") String configurationKey)
configurationKey
- the configuration key to fetch property keys from.
@GET @Path(value="/configurations/{configuration : .+}/keys") @Produces(value="text/xml") public PropertiesConfiguration getAsXml(@PathParam(value="configuration") String configurationKey)
configurationKey
- the configuration key to fetch property keys from.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |