List<String> additionalLeafPaths = new ArrayList<String>();
for (Method m : methods) {
// --------- Register Rest Methods --------- //
WebGet webGet = m.getAnnotation(WebGet.class);
if (webGet != null){
restRegistry.registerWebRest(c, m, paramDefBuilder.buildParamDefs(m, true), HttpMethod.GET, webGet.value());
}
WebPost webPost = m.getAnnotation(WebPost.class);
if (webPost != null){
restRegistry.registerWebRest(c, m, paramDefBuilder.buildParamDefs(m, true), HttpMethod.POST, webPost.value());