spring-framework / org.springframework.web.servlet.mvc.condition / CompositeRequestCondition / combine

combine

open fun combine(other: CompositeRequestCondition): CompositeRequestCondition

If one instance is empty, return the other. If both instances have conditions, combine the individual conditions after ensuring they are of the same type and number.