src/main/java/com/mastfrog/webapi/WebCallBuilder.java
public <T, R extends Decorator<T>> WebCallBuilder withDecorator(Class<T> type, Class<R> dec) {
        addRequiredType(type);
        decorators.add(type, dec);
        return this;
    }
/**
     * Add a decorator which will somehow modify an HTTP request based on some
     * object passed into the call context.
     *
     * @param <T> The object type
     * @param <R> The decorator type
     * @param type The object type
     * @param dec The decorator type
     * @return this
     */
Add a decorator which will somehow modify an HTTP request based on some
object passed into the call context.


Add a decorator which will somehow modify an HTTP request based on some object passed into the call context .
public <T, R extends Decorator<T>> WebCallBuilder withDecorator(Class<T> type, Class<R> dec) {
        addRequiredType(type);
        decorators.add(type, dec);
        return this;
    }
public < T , R extends Decorator < T > > WebCallBuilder withDecorator ( Class < T > type , Class < R > dec ) { addRequiredType ( type ) ; decorators . add ( type , dec ) ; return this ; }
Add a decorator which will somehow modify an HTTP request based on some
 object passed into the call context.
Add a decorator which will somehow modify an HTTP request based on some object passed into the call context .