org.browsermob.core.har.HarCacheStatus 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 org.browsermob.core.har;
import org.browsermob.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 HarCacheStatus {
private Date expires;
private Date lastAccess;
private String eTag;
private int hitCount;
@JsonSerialize(using = ISO8601DateFormatter.class)
public Date getExpires() {
return expires;
}
public void setExpires(Date expires) {
this.expires = expires;
}
@JsonSerialize(using = ISO8601DateFormatter.class)
public Date getLastAccess() {
return lastAccess;
}
public void setLastAccess(Date lastAccess) {
this.lastAccess = lastAccess;
}
public String geteTag() {
return eTag;
}
public void seteTag(String eTag) {
this.eTag = eTag;
}
public int getHitCount() {
return hitCount;
}
public void setHitCount(int hitCount) {
this.hitCount = hitCount;
}
}