MultivaluedMap<String, String> map = new BodyMultivaluedMap();
Class<?> referenceClazz = request.getClass();
List<Field> fields = ClassUtil.getAnnotatedFields(referenceClazz, Body.class);
for (Field field : fields) {
Body body = field.getAnnotation(Body.class);
String parameter = body.value();
// in case the value() is null or empty
if (parameter == null || (parameter != null && parameter.isEmpty())) {
parameter = field.getName();
}