| | |
| | | package org.yeshi.utils.statistic.http;
|
| | |
|
| | | import java.util.Map;
|
| | |
|
| | | /**
|
| | | * http请求信息
|
| | | * |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | public class HttpRequestInfo {
|
| | | private String url;
|
| | | private String method;
|
| | | private String protocal;
|
| | | private int stateCode;
|
| | | private int time;
|
| | | private Map<String, Object> params;
|
| | |
|
| | | public String getUrl() {
|
| | | return url;
|
| | | }
|
| | |
|
| | | public void setUrl(String url) {
|
| | | this.url = url;
|
| | | }
|
| | |
|
| | | public String getMethod() {
|
| | | return method;
|
| | | }
|
| | |
|
| | | public void setMethod(String method) {
|
| | | this.method = method;
|
| | | }
|
| | |
|
| | | public String getProtocal() {
|
| | | return protocal;
|
| | | }
|
| | |
|
| | | public void setProtocal(String protocal) {
|
| | | this.protocal = protocal;
|
| | | }
|
| | |
|
| | | public int getStateCode() {
|
| | | return stateCode;
|
| | | }
|
| | |
|
| | | public void setStateCode(int stateCode) {
|
| | | this.stateCode = stateCode;
|
| | | }
|
| | |
|
| | | public int getTime() {
|
| | | return time;
|
| | | }
|
| | |
|
| | | public void setTime(int time) {
|
| | | this.time = time;
|
| | | }
|
| | |
|
| | | public Map<String, Object> getParams() {
|
| | | return params;
|
| | | }
|
| | |
|
| | | public void setParams(Map<String, Object> params) {
|
| | | this.params = params;
|
| | | }
|
| | |
|
| | | }
|
| | | package org.yeshi.utils.statistic.http; |
| | | |
| | | import java.util.Date; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * http请求信息 |
| | | * |
| | | * @author Administrator |
| | | * |
| | | */ |
| | | public class HttpRequestInfo { |
| | | private String url; |
| | | private String method; |
| | | private String protocal; |
| | | private int stateCode; |
| | | private int time; |
| | | private Map<String, Object> params; |
| | | private Date date; |
| | | private String ip; |
| | | |
| | | public String getIp() { |
| | | return ip; |
| | | } |
| | | |
| | | public void setIp(String ip) { |
| | | this.ip = ip; |
| | | } |
| | | |
| | | public Date getDate() { |
| | | return date; |
| | | } |
| | | |
| | | public void setDate(Date date) { |
| | | this.date = date; |
| | | } |
| | | |
| | | public String getUrl() { |
| | | return url; |
| | | } |
| | | |
| | | public void setUrl(String url) { |
| | | this.url = url; |
| | | } |
| | | |
| | | public String getMethod() { |
| | | return method; |
| | | } |
| | | |
| | | public void setMethod(String method) { |
| | | this.method = method; |
| | | } |
| | | |
| | | public String getProtocal() { |
| | | return protocal; |
| | | } |
| | | |
| | | public void setProtocal(String protocal) { |
| | | this.protocal = protocal; |
| | | } |
| | | |
| | | public int getStateCode() { |
| | | return stateCode; |
| | | } |
| | | |
| | | public void setStateCode(int stateCode) { |
| | | this.stateCode = stateCode; |
| | | } |
| | | |
| | | public int getTime() { |
| | | return time; |
| | | } |
| | | |
| | | public void setTime(int time) { |
| | | this.time = time; |
| | | } |
| | | |
| | | public Map<String, Object> getParams() { |
| | | return params; |
| | | } |
| | | |
| | | public void setParams(Map<String, Object> params) { |
| | | this.params = params; |
| | | } |
| | | |
| | | } |