class PathParameterResolver implements ParameterResolver<PathParam> {

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

      PathParameterResolver(PathParam pathParam, TypeProducerFactory typeProducerFactory);

}