public RestHandlerBuilder addResource(Object... resources) {
        Mutils.notNull("resources", resources);
        this.resources.addAll(asList(resources));
        return this;
    }
public RestHandlerBuilder addResource ( Object ... resources ) { Mutils . notNull ( "resources" , resources ) ; this . resources . addAll ( asList ( resources ) ) ; return this ; }
Adds one or more rest resources to this handler

@param resources One or more instances of classes that are decorated with {@link javax.ws.rs.Path} annotations.
@return This builder