Part of the solution resides in refactoring this line:
https://github.com/aerogear/aerogear-controller/blob/master/src/main/java/org/jboss/aerogear/controller/util/ParameterExtractor.java#L110
Now the Optional instance will always contains a String instance

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira