类的使用
cn.taketoday.web.handler.condition.HeadersRequestCondition
使用HeadersRequestCondition的程序包
程序包
说明
Common MVC logic for matching incoming requests based on conditions.
Method handler
-
cn.taketoday.web.handler.condition中HeadersRequestCondition的使用
修饰符和类型方法说明HeadersRequestCondition.combine(HeadersRequestCondition other) Returns a new instance with the union of the header expressions from "this" and the "other" instance.HeadersRequestCondition.getMatchingCondition(RequestContext request) Returns "this" instance if the request matches all expressions; ornullotherwise.修饰符和类型方法说明HeadersRequestCondition.combine(HeadersRequestCondition other) Returns a new instance with the union of the header expressions from "this" and the "other" instance.intHeadersRequestCondition.compareTo(HeadersRequestCondition other, RequestContext request) Compare to another condition based on header expressions. -
cn.taketoday.web.handler.method中HeadersRequestCondition的使用
修饰符和类型字段说明private static final HeadersRequestConditionRequestMappingInfo.EMPTY_HEADERSprivate final HeadersRequestConditionRequestMappingInfo.headersConditionprivate HeadersRequestConditionRequestMappingInfo.MutateBuilder.headersCondition修饰符和类型方法说明RequestMappingInfo.getHeadersCondition()Return the "headers" condition of thisRequestMappingInfo; or instance with 0 header expressions (nevernull).修饰符和类型方法说明private static intRequestMappingInfo.calculateHashCode(PathPatternsRequestCondition pathPatterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestConditionHolder custom) 限定符构造器说明(专用程序包)RequestMappingInfo(String name, PathPatternsRequestCondition pathPatternsCondition, RequestMethodsRequestCondition methodsCondition, ParamsRequestCondition paramsCondition, HeadersRequestCondition headersCondition, ConsumesRequestCondition consumesCondition, ProducesRequestCondition producesCondition, RequestConditionHolder customCondition, RequestMappingInfo.BuilderConfiguration options, boolean combine)