public CompositeHandler withUpdateHandler ( final UpdateHandler handler ) { if ( handler == null ) { throw new IllegalArgumentException ( ) ; } // end of if // --- return new CompositeHandler ( this . queryDetection , this . queryHandler , handler ) ; }
Returns a new handler based on this one but with given update |handler| appended .