@PathVariable : 截取URL中的内容转成参数
@RequestParam : 获取HTTP请求的参数
@ModelAttribute :将HTTP中参数映射到Model,参数名和对象中的属性名匹配的就做映射,不匹配的就不管。
@CookieValue : 获取cookie信息
@SessionAttributes :操作session
@RequestHeader : 获取Request中的Header。主要包括
Header Value Host localhost:8080 Accept text/html,application/xhtml+xml,application/xml;q=0.9 Accept-Language fr,en-gb;q=0.7,en;q=0.3 Accept-Encoding gzip,deflate Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive 300