On Sat, May 31, 2014 at 11:05 PM, Andrea Aime <[email protected]>
wrote:

> Hi,
> in this mail I'm proposing that we extend the parameter and result process
> annotation with a meta key that would allow the specification of extra
> metadata meant to be added in the Param metadata map.
>

Good idea, goal was to have things open ended for experimentation until
"best of breed" metadata (that is appropriate to several contexts) is
figured out.
...

> Now that I think about it, I guess the following would also be possible,
> and
> even more compact:
>
> @DescribeResult(name = "result", description = "Output raster",
>     meta = {"mimeTypes=application/json,text/xml",
> "selection=outputMimeType"}
> RawData execute( ...
>     @DescribeParameter(name = "data", description = "Input features") ,
>                                     meta =
> {"mimeTypes=application/json,text/xml") RawData myInput
>     ...
>     String outputMimeType);
>
> Feedback?
>
> So is meta taking a list of strings, each string parsed as a key value
pair? sounds okay.

Jody
------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to