package io.undertow.servlet.api;
import java.util.Set;
import javax.servlet.SessionTrackingMode;
public class ServletSessionConfig {
public static final String DEFAULT_SESSION_ID = "JSESSIONID";
private Set<SessionTrackingMode> sessionTrackingModes;
private String name = DEFAULT_SESSION_ID;
private String path;
private String domain;
private boolean secure;
private boolean httpOnly;
private int maxAge;
private String ;
public String getName() {
return name;
}
public ServletSessionConfig setName(final String name) {
this.name = name;
return this;
}
public String getDomain() {
return domain;
}
public ServletSessionConfig setDomain(final String domain) {
this.domain = domain;
return this;
}
public String getPath() {
return path;
}
public ServletSessionConfig setPath(final String path) {
this.path = path;
return this;
}
public String () {
return comment;
}
public ServletSessionConfig (final String comment) {
this.comment = comment;
return this;
}
public boolean isHttpOnly() {
return httpOnly;
}
public ServletSessionConfig setHttpOnly(final boolean httpOnly) {
this.httpOnly = httpOnly;
return this;
}
public boolean isSecure() {
return secure;
}
public ServletSessionConfig setSecure(final boolean secure) {
this.secure = secure;
return this;
}
public int getMaxAge() {
return maxAge;
}
public ServletSessionConfig setMaxAge(final int maxAge) {
this.maxAge = maxAge;
return this;
}
public Set<SessionTrackingMode> getSessionTrackingModes() {
return sessionTrackingModes;
}
public ServletSessionConfig setSessionTrackingModes(final Set<SessionTrackingMode> sessionTrackingModes) {
this.sessionTrackingModes = sessionTrackingModes;
return this;
}
}