class FormParameterResolver implements ParameterResolver<FormParam> {

    @Override
    public Object resolve(org.everrest.core.Parameter parameter, ApplicationContext context) throws Exception {
        String param = this.formParam.value();
        TypeProducer typeProducer = typeProducerFactory.createTypeProducer(parameter.getParameterClass(), parameter.getGenericType());

        MultivaluedMap<String, String> form = readForm(context, !parameter.isEncoded());
        return typeProducer.createValue(param, form, parameter.getDefaultValue());
    }

      FormParameterResolver(FormParam formParam, TypeProducerFactory typeProducerFactory);

}