org.springframework.web.bind.annotation.CookieValue#name ( )源码实例Demo

下面列出了org.springframework.web.bind.annotation.CookieValue#name ( ) 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

@Override
public String getParameterName(CookieValue annotation) {
  String value = annotation.value();
  if (value.isEmpty()) {
    value = annotation.name();
  }
  return value;
}
 
private CookieValueNamedValueInfo(CookieValue annotation) {
	super(annotation.name(), annotation.required(), annotation.defaultValue());
}
 
private CookieValueNamedValueInfo(CookieValue annotation) {
	super(annotation.name(), annotation.required(), annotation.defaultValue());
}
 
private CookieValueNamedValueInfo(CookieValue annotation) {
	super(annotation.name(), annotation.required(), annotation.defaultValue());
}
 
private CookieValueNamedValueInfo(CookieValue annotation) {
	super(annotation.name(), annotation.required(), annotation.defaultValue());
}
 
private CookieValueNamedValueInfo(CookieValue annotation) {
	super(annotation.name(), annotation.required(), annotation.defaultValue());
}
 
private CookieValueNamedValueInfo(CookieValue annotation) {
	super(annotation.name(), annotation.required(), annotation.defaultValue());
}