be.maximvdw.placeholderapi.internal.utils.HtmlResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of MVdWPlaceholderAPI Show documentation
Show all versions of MVdWPlaceholderAPI Show documentation
MVdW Placeholder API is an API that allows you to register placeholders to all MVdW Placeholder plugins at once.
The newest version!
package be.maximvdw.placeholderapi.internal.utils;
/**
* HtmlResponse
*
* HTML Utilities
*
* @project NMFC API
* @version 07-2014
* @author Maxim Van de Wynckel (Maximvdw)
* @site http://www.mvdw-software.be/
*/
public class HtmlResponse {
private String source = "";
private int code = 0;
private String[] cookies = new String[0];
public HtmlResponse(String source, int code, String[] cookies) {
this.source = source;
this.code = code;
this.cookies = cookies;
}
public String getSource() {
return source;
}
public int getCode() {
return code;
}
public String[] getCookies() {
return cookies;
}
}