> + *
> + * @author Epi Vou
> + */
> +@Singleton
> +public class BindConsoleToJsonPayload extends BindToJsonPayload {
> +
> + @Inject
> + public BindConsoleToJsonPayload(Json jsonBinder) {
> + super(jsonBinder);
> + }
> +
> + @Override
> + public <R extends HttpRequest> R bindToRequest(R request, Map<String,
> Object> postParams) {
> + String action = null;
> +
> + Console.Type type = (Console.Type) postParams.get("type");
I think in this case the custom MapBinder might be the solution, unfortunately.
Which is very sad!
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/339/files#r13028650