Java 类org.springframework.boot.autoconfigure.web.ServerProperties.Session.Cookie 实例源码

项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:ServerProperties.java   
private void configureSessionCookie(SessionCookieConfig config) {
    Cookie cookie = this.session.getCookie();
    if (cookie.getName() != null) {
        config.setName(cookie.getName());
    }
    if (cookie.getDomain() != null) {
        config.setDomain(cookie.getDomain());
    }
    if (cookie.getPath() != null) {
        config.setPath(cookie.getPath());
    }
    if (cookie.getComment() != null) {
        config.setComment(cookie.getComment());
    }
    if (cookie.getHttpOnly() != null) {
        config.setHttpOnly(cookie.getHttpOnly());
    }
    if (cookie.getSecure() != null) {
        config.setSecure(cookie.getSecure());
    }
    if (cookie.getMaxAge() != null) {
        config.setMaxAge(cookie.getMaxAge());
    }
}
项目:spring-boot-concourse    文件:ServerProperties.java   
private void configureSessionCookie(SessionCookieConfig config) {
    Cookie cookie = this.session.getCookie();
    if (cookie.getName() != null) {
        config.setName(cookie.getName());
    }
    if (cookie.getDomain() != null) {
        config.setDomain(cookie.getDomain());
    }
    if (cookie.getPath() != null) {
        config.setPath(cookie.getPath());
    }
    if (cookie.getComment() != null) {
        config.setComment(cookie.getComment());
    }
    if (cookie.getHttpOnly() != null) {
        config.setHttpOnly(cookie.getHttpOnly());
    }
    if (cookie.getSecure() != null) {
        config.setSecure(cookie.getSecure());
    }
    if (cookie.getMaxAge() != null) {
        config.setMaxAge(cookie.getMaxAge());
    }
}
项目:contestparser    文件:ServerProperties.java   
private void configureSessionCookie(SessionCookieConfig config) {
    Cookie cookie = this.session.getCookie();
    if (cookie.getName() != null) {
        config.setName(cookie.getName());
    }
    if (cookie.getDomain() != null) {
        config.setDomain(cookie.getDomain());
    }
    if (cookie.getPath() != null) {
        config.setPath(cookie.getPath());
    }
    if (cookie.getComment() != null) {
        config.setComment(cookie.getComment());
    }
    if (cookie.getHttpOnly() != null) {
        config.setHttpOnly(cookie.getHttpOnly());
    }
    if (cookie.getSecure() != null) {
        config.setSecure(cookie.getSecure());
    }
    if (cookie.getMaxAge() != null) {
        config.setMaxAge(cookie.getMaxAge());
    }
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:ServerProperties.java   
public Cookie getCookie() {
    return this.cookie;
}
项目:spring-boot-concourse    文件:ServerProperties.java   
public Cookie getCookie() {
    return this.cookie;
}
项目:contestparser    文件:ServerProperties.java   
public Cookie getCookie() {
    return this.cookie;
}