changeset 262:f4b359aa9127

Added produces annotation to Ort service.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 17 Jul 2013 09:40:35 +0200
parents 07c4186cbfab
children 2098db2e8fbd
files src/main/java/de/intevation/lada/rest/OrtService.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/rest/OrtService.java	Tue Jul 16 11:18:05 2013 +0200
+++ b/src/main/java/de/intevation/lada/rest/OrtService.java	Wed Jul 17 09:40:35 2013 +0200
@@ -143,6 +143,7 @@
      * @return Response object.
      */
     @DELETE
+    @Produces("text/json")
     @Path("/{ortId}/{probeId}")
     public Response delete(
         @PathParam("ortId") String ortId,
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)