RestResource restResource = AnnotationUtils.findAnnotation(marshallingServiceClass, RestResource.class);
Class<?> serviceClass = restResource.service();
RestRequestResource restRequestResource = AnnotationUtils.findAnnotation(method, RestRequestResource.class);
boolean export = (restRequestResource != null ? restRequestResource.export() : true);
boolean relative = (restRequestResource != null ? restRequestResource.relative() : true);
if (export) {
Class<?> handlerServiceClass = serviceClass;
String methodName = method.getName();
Class<?>[] paramTypes = method.getParameterTypes();