constructs a new router converting the methods annotated with get , post , and delete to routes . 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 Route post concode_elem_sep Route find concode_elem_sep Route get concode_elem_sep void addRoutes concode_elem_sep void addRoutes concode_elem_sep void addRoutes concode_elem_sep Route delete concode_elem_sep void accept
Router function ( Controller ... arg0 ) { if ( arg0 == null ) throw new IllegalArgumentException ( ) ; Router loc0 = new Router ( ) ; for ( Controller loc1 : arg0 ) Router . addRoutes ( loc1 . getClass ( ) , loc1 , loc0 ) ; return loc0 ; }