Mercurial > dive4elements > framework
changeset 37:3f03aee55c2f
Switched from Get to Post communication.
artifacts/trunk@96 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Wed, 16 Sep 2009 12:43:03 +0000 |
parents | f7d2cd59a0d5 |
children | 93edc04f3a10 |
files | Changelog artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactOutResource.java |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Changelog Wed Sep 16 07:53:26 2009 +0000 +++ b/Changelog Wed Sep 16 12:43:03 2009 +0000 @@ -1,3 +1,8 @@ +2009-09-16 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/artifactdatabase/rest/ArtifactOutResource.java (represent) Edited: + Switched from Get to Post communication. + 2009-09-16 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java (feed) Edited:
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactOutResource.java Wed Sep 16 07:53:26 2009 +0000 +++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactOutResource.java Wed Sep 16 12:43:03 2009 +0000 @@ -3,6 +3,7 @@ import org.apache.log4j.Logger; import org.restlet.resource.Get; +import org.restlet.resource.Post; import org.restlet.resource.ServerResource; import org.restlet.data.Request; @@ -40,7 +41,7 @@ private static Logger logger = Logger.getLogger(ArtifactOutResource.class); - @Get + @Post public Representation represent() { Request request = getRequest();