2018-07-19 19:30:14 +08:00
|
|
|
package com.nis.domain.restful;
|
|
|
|
|
|
2018-12-21 12:04:10 +08:00
|
|
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
2018-07-19 19:30:14 +08:00
|
|
|
import com.nis.domain.LogEntity;
|
|
|
|
|
import com.wordnik.swagger.annotations.ApiModelProperty;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @ClassName:PxyHttpLog
|
|
|
|
|
* @Description:TODO(这里用一句话描述这个类的作用)
|
|
|
|
|
* @author (zdx)
|
|
|
|
|
* @date 2018年7月19日 下午5:22:30
|
|
|
|
|
* @version V1.0
|
|
|
|
|
*/
|
|
|
|
|
public class PxyHttpLog extends LogEntity<PxyHttpLog> {
|
|
|
|
|
|
|
|
|
|
private static final long serialVersionUID = 6553069367645925554L;
|
|
|
|
|
@ApiModelProperty(value="url地址", required=true)
|
|
|
|
|
protected String url;
|
|
|
|
|
@ApiModelProperty(value="请求行", required=true)
|
|
|
|
|
protected String reqLine;
|
|
|
|
|
@ApiModelProperty(value="应答行", required=true)
|
|
|
|
|
protected String resLine;
|
|
|
|
|
@ApiModelProperty(value="Cookie值", required=true)
|
|
|
|
|
protected String cookie;
|
|
|
|
|
@ApiModelProperty(value="Referer值", required=true)
|
|
|
|
|
protected String referer;
|
|
|
|
|
@ApiModelProperty(value="UA值", required=true)
|
|
|
|
|
protected String userAgent;
|
|
|
|
|
@ApiModelProperty(value="Content-Length值", required=true)
|
|
|
|
|
protected String contentLen;
|
|
|
|
|
@ApiModelProperty(value="Content-Type值", required=true)
|
|
|
|
|
protected String contentType;
|
|
|
|
|
@ApiModelProperty(value="set-Cookie值", required=true)
|
|
|
|
|
protected String setCookie;
|
|
|
|
|
@ApiModelProperty(value="原始请求头", required=true)
|
|
|
|
|
protected String reqHeader;
|
|
|
|
|
@ApiModelProperty(value="原始应答头", required=true)
|
|
|
|
|
protected String respHeader;
|
|
|
|
|
@ApiModelProperty(value="原始请求体", required=true)
|
|
|
|
|
protected String reqBody;
|
|
|
|
|
@ApiModelProperty(value="原始应答体", required=true)
|
|
|
|
|
protected String respBody;
|
2018-10-15 16:39:40 +08:00
|
|
|
@ApiModelProperty(value="域名", required=true)
|
2018-10-16 12:00:45 +08:00
|
|
|
protected String website;
|
2018-10-15 16:39:40 +08:00
|
|
|
|
2018-12-21 12:04:10 +08:00
|
|
|
protected String searchUrl; //url查询条件a
|
|
|
|
|
protected String searchWebsite; //website查询条件
|
2018-07-19 19:30:14 +08:00
|
|
|
public String getUrl() {
|
|
|
|
|
return url;
|
|
|
|
|
}
|
|
|
|
|
public void setUrl(String url) {
|
|
|
|
|
this.url = url;
|
|
|
|
|
}
|
|
|
|
|
public String getReqLine() {
|
|
|
|
|
return reqLine;
|
|
|
|
|
}
|
|
|
|
|
public void setReqLine(String reqLine) {
|
|
|
|
|
this.reqLine = reqLine;
|
|
|
|
|
}
|
|
|
|
|
public String getResLine() {
|
|
|
|
|
return resLine;
|
|
|
|
|
}
|
|
|
|
|
public void setResLine(String resLine) {
|
|
|
|
|
this.resLine = resLine;
|
|
|
|
|
}
|
|
|
|
|
public String getCookie() {
|
|
|
|
|
return cookie;
|
|
|
|
|
}
|
|
|
|
|
public void setCookie(String cookie) {
|
|
|
|
|
this.cookie = cookie;
|
|
|
|
|
}
|
|
|
|
|
public String getReferer() {
|
|
|
|
|
return referer;
|
|
|
|
|
}
|
|
|
|
|
public void setReferer(String referer) {
|
|
|
|
|
this.referer = referer;
|
|
|
|
|
}
|
|
|
|
|
public String getUserAgent() {
|
|
|
|
|
return userAgent;
|
|
|
|
|
}
|
|
|
|
|
public void setUserAgent(String userAgent) {
|
|
|
|
|
this.userAgent = userAgent;
|
|
|
|
|
}
|
|
|
|
|
public String getContentLen() {
|
|
|
|
|
return contentLen;
|
|
|
|
|
}
|
|
|
|
|
public void setContentLen(String contentLen) {
|
|
|
|
|
this.contentLen = contentLen;
|
|
|
|
|
}
|
|
|
|
|
public String getContentType() {
|
|
|
|
|
return contentType;
|
|
|
|
|
}
|
|
|
|
|
public void setContentType(String contentType) {
|
|
|
|
|
this.contentType = contentType;
|
|
|
|
|
}
|
|
|
|
|
public String getSetCookie() {
|
|
|
|
|
return setCookie;
|
|
|
|
|
}
|
|
|
|
|
public void setSetCookie(String setCookie) {
|
|
|
|
|
this.setCookie = setCookie;
|
|
|
|
|
}
|
|
|
|
|
public String getReqHeader() {
|
|
|
|
|
return reqHeader;
|
|
|
|
|
}
|
|
|
|
|
public void setReqHeader(String reqHeader) {
|
|
|
|
|
this.reqHeader = reqHeader;
|
|
|
|
|
}
|
|
|
|
|
public String getRespHeader() {
|
|
|
|
|
return respHeader;
|
|
|
|
|
}
|
|
|
|
|
public void setRespHeader(String respHeader) {
|
|
|
|
|
this.respHeader = respHeader;
|
|
|
|
|
}
|
|
|
|
|
public String getReqBody() {
|
|
|
|
|
return reqBody;
|
|
|
|
|
}
|
|
|
|
|
public void setReqBody(String reqBody) {
|
|
|
|
|
this.reqBody = reqBody;
|
|
|
|
|
}
|
|
|
|
|
public String getRespBody() {
|
|
|
|
|
return respBody;
|
|
|
|
|
}
|
|
|
|
|
public void setRespBody(String respBody) {
|
|
|
|
|
this.respBody = respBody;
|
|
|
|
|
}
|
2018-10-16 12:00:45 +08:00
|
|
|
public String getWebsite() {
|
|
|
|
|
return website;
|
2018-10-15 16:39:40 +08:00
|
|
|
}
|
|
|
|
|
|
2018-10-16 12:00:45 +08:00
|
|
|
public void setWebsite(String website) {
|
|
|
|
|
this.website = website;
|
2018-10-15 16:39:40 +08:00
|
|
|
}
|
2018-12-21 12:04:10 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @return the searchUrl
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
@JsonIgnore
|
|
|
|
|
public String getSearchUrl() {
|
|
|
|
|
return searchUrl;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @param searchUrl the searchUrl to set
|
|
|
|
|
*/
|
|
|
|
|
public void setSearchUrl(String searchUrl) {
|
|
|
|
|
this.searchUrl = searchUrl;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@JsonIgnore
|
|
|
|
|
public String getSearchWebsite() {
|
|
|
|
|
return searchWebsite;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setSearchWebsite(String searchWebsite) {
|
|
|
|
|
this.searchWebsite = searchWebsite;
|
|
|
|
|
}
|
2018-07-19 19:30:14 +08:00
|
|
|
}
|