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());
}
WebPut webPut = m.getAnnotation(WebPut.class);
if (webPut != null){
restRegistry.registerWebRest(c, m, paramDefBuilder.buildParamDefs(m, true), HttpMethod.PUT, webPut.value());