
net.lightbody.bmp.core.har.HarCookie Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of browsermob-proxy Show documentation
Show all versions of browsermob-proxy Show documentation
A programmatic HTTP/S designed for performance and functional testing
package net.lightbody.bmp.core.har;
import net.lightbody.bmp.core.json.ISO8601DateFormatter;
import org.codehaus.jackson.annotate.JsonWriteNullProperties;
import org.codehaus.jackson.map.annotate.JsonSerialize;
import java.util.Date;
@JsonWriteNullProperties(value=false)
public class HarCookie {
private String name;
private String value;
private String path;
private String domain;
private Date expires;
private Boolean httpOnly;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
public String getPath() {
return path;
}
public void setPath(String path) {
this.path = path;
}
public String getDomain() {
return domain;
}
public void setDomain(String domain) {
this.domain = domain;
}
@JsonSerialize(using = ISO8601DateFormatter.class)
public Date getExpires() {
return expires;
}
public void setExpires(Date expires) {
this.expires = expires;
}
public Boolean getHttpOnly() {
return httpOnly;
}
public void setHttpOnly(Boolean httpOnly) {
this.httpOnly = httpOnly;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy