Package org.springframework.web.bind.annotation

Examples of org.springframework.web.bind.annotation.RequestHeader.defaultValue()


        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.hasRequestParamAnnotation = false;
        this.hasRequestHeaderAnnotation = true;
        break;
      }
View Full Code Here


        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.hasRequestParamAnnotation = false;
        this.hasRequestHeaderAnnotation = true;
        break;
      }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.