// Path: src/main/java/re/vianneyfaiv/persephone/domain/trace/Trace.java
// public class Trace {
// 
// 	private long timestamp;
// 	private TraceInfo info;
// 
// 	public long getTimestamp() {
// 		return timestamp;
// 	}
// 
// 	public TraceInfo getInfo() {
// 		return info;
// 	}
// 
// 	@Override
// 	public String toString() {
// 		return "Trace [timestamp=" + timestamp + ", info=" + info + "]";
// 	}
// }


import java.time.Duration;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import org.springframework.http.HttpMethod;
import org.springframework.http.HttpStatus;
import org.springframework.util.StringUtils;
import re.vianneyfaiv.persephone.domain.trace.Trace;
package re.vianneyfaiv.persephone.ui.component.grid;




public class TraceGridRow {

	private Date timestamp;
	private HttpMethod method;
	private String path;
	private Optional<Duration> timeTaken;
	private Optional<HttpStatus> responseHttp;
	private Map<String, List<String>> requestHeaders;
	private Map<String, List<String>> responseHeaders;

// Path: src/main/java/re/vianneyfaiv/persephone/domain/trace/Trace.java
// public class Trace {
// 
// 	private long timestamp;
// 	private TraceInfo info;
// 
// 	public long getTimestamp() {
// 		return timestamp;
// 	}
// 
// 	public TraceInfo getInfo() {
// 		return info;
// 	}
// 
// 	@Override
// 	public String toString() {
// 		return "Trace [timestamp=" + timestamp + ", info=" + info + "]";
// 	}
// }


// Path: src/main/java/re/vianneyfaiv/persephone/ui/component/grid/TraceGridRow.java
import java.time.Duration;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import org.springframework.http.HttpMethod;
import org.springframework.http.HttpStatus;
import org.springframework.util.StringUtils;
import re.vianneyfaiv.persephone.domain.trace.Trace;

package re.vianneyfaiv.persephone.ui.component.grid;




public class TraceGridRow {

	private Date timestamp;
	private HttpMethod method;
	private String path;
	private Optional<Duration> timeTaken;
	private Optional<HttpStatus> responseHttp;
	private Map<String, List<String>> requestHeaders;
	private Map<String, List<String>> responseHeaders;

	public TraceGridRow(Trace trace) {