break;
}
if(method == null) throw new RuntimeException("Unknown method " + methodName);
Arguments arguments = method.getAnnotation(Arguments.class);
if(null == arguments) throw new RuntimeException("Method is not visible for ajax call");
if(false && arguments.checkReferer()) {
String ref = request.getHeader("Referer");
if(ref == null) throw new RuntimeException("Invalid referer");
ref = ref.replaceFirst("http://", "").replaceFirst("[\\:/].*$", "");