EnumSet<HttpMethod> typeMethods = getHttpMethods(type);
rule.with(methods.isEmpty() ? typeMethods : methods);
if(javaMethod.isAnnotationPresent(Path.class)){
rule.withPriority(javaMethod.getAnnotation(Path.class).priority());
}
if (getUris(javaMethod).length > 0) {
rule.withPriority(Path.DEFAULT);
}