default String toSetCookieHeader(boolean strict) {
        return ServerCookieEncoder.encode(strict, this);
    }
Encodes this {@link Cookie} into a single {@code "Set-Cookie"} header value.

@param strict whether to validate that the cookie name and value are in the valid scope
              defined in RFC 6265.
@return a single {@code "Set-Cookie"} header value.
core/src/main/java/com/linecorp/armeria/common/Cookie.java