org.browsermob.core.har.HarPage 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
The newest version!
package org.browsermob.core.har;
import org.browsermob.core.json.ISO8601DateFormatter;
import org.codehaus.jackson.map.annotate.JsonSerialize;
import java.util.Date;
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
public class HarPage {
private String id;
private Date startedDateTime;
private String title = "";
private HarPageTimings pageTimings = new HarPageTimings();
public HarPage() {
}
public HarPage(String id) {
this.id = id;
startedDateTime = new Date();
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@JsonSerialize(using = ISO8601DateFormatter.class)
public Date getStartedDateTime() {
return startedDateTime;
}
public void setStartedDateTime(Date startedDateTime) {
this.startedDateTime = startedDateTime;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public HarPageTimings getPageTimings() {
return pageTimings;
}
public void setPageTimings(HarPageTimings pageTimings) {
this.pageTimings = pageTimings;
}
}