use of edu.umass.cs.benchlab.har.HarHeaders in project zaproxy by zaproxy.
the class HarUtils method createHarHeaders.
public static HarHeaders createHarHeaders(HttpHeader httpHeader) {
HarHeaders harHeaders = new HarHeaders();
List<HttpHeaderField> headers = httpHeader.getHeaders();
for (HttpHeaderField headerField : headers) {
harHeaders.addHeader(new HarHeader(headerField.getName(), headerField.getValue()));
}
return harHeaders;
}
Aggregations