converts the methods annotated with get , post , and delete to routes and adds them to the specified router . a method subject to becoming a route must be annotated with get , post , or delete . the method return type must be a httphandler . concode_field_sep Map<String,List<Route>> routes concode_field_sep Router add concode_elem_sep Router asRouter concode_elem_sep Router asRouter concode_elem_sep Route post concode_elem_sep Route find concode_elem_sep Route get concode_elem_sep Route delete concode_elem_sep void accept
void function ( Controller arg0 , Router arg1 ) { if ( arg0 == null ) throw new IllegalArgumentException ( ) ; Router . addRoutes ( arg0 . getClass ( ) , arg0 , arg1 ) ; }