comparison src/main/java/de/intevation/lada/rest/LAFExportService.java @ 366:567ce7697fc7 0.5

Code documentation.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 10 Sep 2013 15:55:54 +0200
parents 1feba681ffee
children 183f8116d9a6
comparison
equal deleted inserted replaced
365:fab80595ed55 366:567ce7697fc7
41 private Authorization authorization; 41 private Authorization authorization;
42 42
43 @Inject 43 @Inject
44 @Named("lafexporter") 44 @Named("lafexporter")
45 private Exporter exporter; 45 private Exporter exporter;
46
46 /** 47 /**
47 * Import LProbe object. 48 * Export LProbe objects.
48 * See
49 * http://howtodoinjava.com/2013/05/21/jax-rs-resteasy-file-upload-httpclient-example/
50 * for more details on the implementation.
51 * 49 *
52 * @param input MulitpartFormDataInput containing the file to upload. 50 * The service takes form url encoded POST data containing probe ids and
51 * exports the LProbe objects filtered by these ids.
52 *
53 * @param proben Form data (url encoded) string with probe ids.
53 * @param header The HTTP header containing authorization information. 54 * @param header The HTTP header containing authorization information.
54 * @return Response object. 55 * @return The LAF file to export.
55 */ 56 */
56 @POST 57 @POST
57 @Path("/laf") 58 @Path("/laf")
58 @Consumes("application/x-www-form-urlencoded") 59 @Consumes("application/x-www-form-urlencoded")
59 @Produces("text/plain") 60 @Produces("text/plain")
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)