com.github.dreamhead.moco.cookie.SecureCookieAttribute Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of moco-core Show documentation
Show all versions of moco-core Show documentation
Moco is an easy setup stub framework, mainly focusing on testing and integration.
package com.github.dreamhead.moco.cookie;
import io.netty.handler.codec.http.cookie.Cookie;
public class SecureCookieAttribute extends ActualCookieAttribute {
@Override
public final void visit(final Cookie cookie) {
cookie.setSecure(true);
}
}