return subtype.substring(idx + 1);
}
public static boolean ignored(Class<?> type, Annotation[] annotations, MediaType mediaType)
{
IgnoreMediaTypes ignore = FindAnnotation.findAnnotation(type, annotations, IgnoreMediaTypes.class);
if (ignore == null) return false;
for (String mime : ignore.value())
{
if (compare(mediaType, mime)) return true;
}
return false;
}