public List < ReqUrl > getReqUrls ( ) { String url = this . getClassMappingUrl ( this . getParentClass ( ) ) ; RequestAnnotation requestAnnotation = new RequestAnnotation ( this . getParentMethod ( ) ) ; url += this . getRequestMappingUrl ( requestAnnotation . getValue ( ) ) ; List < ReqUrl > list = new ArrayList <> ( ) ; for ( RequestMethod requestMethod : requestAnnotation . getMethod ( ) ) { list . add ( new ReqUrl ( requestMethod . name ( ) , url ) ) ; } return list ; }
Gets req urls .