complete resthandler