class QueryParameterResolver implements ParameterResolver<QueryParam> {

    @Override
    public Object resolve(org.everrest.core.Parameter parameter, ApplicationContext context) throws Exception {
        String param = this.queryParam.value();
        TypeProducer typeProducer = typeProducerFactory.createTypeProducer(parameter.getParameterClass(), parameter.getGenericType());
        return typeProducer.createValue(param, context.getQueryParameters(!parameter.isEncoded()), parameter.getDefaultValue());
    }

      QueryParameterResolver(QueryParam queryParam, TypeProducerFactory typeProducerFactory);

}