To get value of the @Path parameter:
String path = Hello.class.getAnnotation(Path.class).value();
Similarly, Once you have hold of Method getHtml
Method m = Hello.class.getMethod("getHtml", ..);
String mime = m.getAnnotation(Produces.class).value;