logger.debug("add header => name[" + header.key() + "] value[" + header.value() + "]");
httpMethod.addHeader(header.key(), header.value());
}
}
Validation validation = method.getAnnotation(Validation.class);
if (validation != null) {
logger.debug("found @Validation");
for (Validator v : validation.value()) {
if (params.containsKey(v.field())) {
logger.debug("validate field[" + v.field() + "]");
boolean isPass = IValidator.ValidatorUtils.validate(v.validator(), params.get(v.field()));
if (!isPass) {
throw new PlurkException(