.defaultValue()) ? null : requestParam.defaultValue();
this.hasRequestParamAnnotation = true;
break;
}
else if (RequestHeader.class.isInstance(paramAnn)) {
RequestHeader requestHeader = (RequestHeader) paramAnn;
if (StringUtils.hasText(requestHeader.value())) {
this.name = requestHeader.value();
}
this.required = requestHeader.required();
this.defaultValue = ValueConstants.DEFAULT_NONE.equals(requestHeader
.defaultValue()) ? null : requestHeader.defaultValue();
this.hasRequestHeaderAnnotation = true;
break;
}
else if (CookieValue.class.isInstance(paramAnn)) {
CookieValue cookieValue = (CookieValue) paramAnn;