| 8 | * */ |
| 9 | |
| 10 | public class WebInfo { |
| 11 | public String domain = ""; |
| 12 | public String ip = ""; |
| 13 | public String title=""; |
| 14 | public String http_server = ""; |
| 15 | public String http_server_version = ""; |
| 16 | public String language = ""; |
| 17 | public String set_Cookie = ""; |
| 18 | public String X_Powered_By = ""; |
| 19 | //服务器加密的状态 |
| 20 | public Boolean isServerCrypto = false; |
| 21 | public String charset = ""; |
| 22 | |
| 23 | public WebInfo(){} |
| 24 | |
| 25 | public String toString(){ |
| 26 | String str = ""; |
| 27 | str = str + this.domain + "\t"; |
| 28 | str = str + this.ip + "\t"; |
| 29 | str = str + this.title + "\t"; |
| 30 | str = str + this.http_server + "\t"; |
| 31 | str = str + this.http_server_version + "\t"; |
| 32 | str = str + this.language + "\t"; |
| 33 | return str; |
| 34 | } |
| 35 | |
| 36 | public boolean checkComplete() { |
| 37 | return this.title != null && this.title.length() > 0 && this.http_server != null && this.http_server.length() > 0 && this.language != null && this.language.length() > 0; |
| 38 | } |
| 39 | } |
nothing calls this directly
no outgoing calls
no test coverage detected