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