src/main/java/com/mastfrog/webapi/WebCallBuilder.java
public <T, R extends Interpolator<T>> WebCallBuilder withInterpolator(Class<T> type, Class<R> dec) {
        addRequiredType(type);
        interpolators.add(type, dec);
        return this;
    }
/**
     * Add an interpolator which will replace some contents of the API call path
     * based on some object type. The actual interpolator instance will be
     * created on-demand.
     *
     * @param <T> The object type
     * @param <R> The interpolator type
     * @param type The object type
     * @param dec The iterpolator type
     * @return This
     */
Add an interpolator which will replace some contents of the API call path
based on some object type. The actual interpolator instance will be
created on-demand.


Add an interpolator which will replace some contents of the API call path based on some object type . The actual interpolator instance will be created on - demand .
public <T, R extends Interpolator<T>> WebCallBuilder withInterpolator(Class<T> type, Class<R> dec) {
        addRequiredType(type);
        interpolators.add(type, dec);
        return this;
    }
public < T , R extends Interpolator < T > > WebCallBuilder withInterpolator ( Class < T > type , Class < R > dec ) { addRequiredType ( type ) ; interpolators . add ( type , dec ) ; return this ; }
Add an interpolator which will replace some contents of the API call path
 based on some object type.
Add an interpolator which will replace some contents of the API call path based on some object type .