接口的使用
org.springframework.web.servlet.function.ServerRequest.Headers
使用ServerRequest.Headers的程序包 程序包 说明 org.springframework.web.servlet.function Provides the types that make up Spring's functional web framework for Servlet environments.org.springframework.web.servlet.function中ServerRequest.Headers的使用
返回ServerRequest.Headers的org.springframework.web.servlet.function中的方法 修饰符和类型 方法 说明 ServerRequest.Headers
ServerRequest. headers()
Get the headers of this request.类型变量类型为ServerRequest.Headers的org.springframework.web.servlet.function中的方法参数 修饰符和类型 方法 说明 static RequestPredicate
RequestPredicates. headers(Predicate<ServerRequest.Headers> headersPredicate)
Return aRequestPredicate
that tests the request's headers against the given headers predicate.