com.gitee.nowtd.jtools.net.ResponseData Maven / Gradle / Ivy
package com.gitee.nowtd.jtools.net;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
public class ResponseData {
private Object data;
private Map> headers;
private ArrayList cookie;
public ResponseData(Object data, Map> fields) {
this.data = data;
this.headers = fields;
this.cookie = Cookie.loads(headers.get("Set-Cookie"));
}
public ArrayList getCookie() {
return cookie;
}
public Object getData() {
return data;
}
public Map> getHeaders() {
return headers;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy