spring-framework / org.springframework.test.web.servlet.result / CookieResultMatchers / secure

secure

open fun secure(name: String, secure: Boolean): ResultMatcher

Assert whether the cookie must be sent over a secure protocol or not.