
com.seleniumtests.util.har.Response Maven / Gradle / Ivy
The newest version!
package com.seleniumtests.util.har;
import java.util.List;
public class Response {
private int status;
private String statusText;
private String httpVersion;
private List headers;
private List cookies;
private Content content;
private String redirectURL;
private int headersSize;
private int bodySize;
public Response(int status, String statusText, String httpVersion, List headers, List cookies, Content content, String redirectURL, int headersSize, int bodySize) {
this.status = status;
this.statusText = statusText;
this.httpVersion = httpVersion;
this.headers = headers;
this.cookies = cookies;
this.content = content;
this.redirectURL = redirectURL;
this.headersSize = headersSize;
this.bodySize = bodySize;
}
public int getStatus() {
return status;
}
public String getStatusText() {
return statusText;
}
public String getHttpVersion() {
return httpVersion;
}
public List getHeaders() {
return headers;
}
public List getCookies() {
return cookies;
}
public Content getContent() {
return content;
}
public String getRedirectURL() {
return redirectURL;
}
public int getHeadersSize() {
return headersSize;
}
public int getBodySize() {
return bodySize;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy