package myzd.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created by Chen Baichuan on 18/07/2017.
 */

@AllArgsConstructor
@NoArgsConstructor
@Data
public class HttpRequestDomain {
  private String requestId;
  private String remoteAddr;
  private String requestUrl;
  private String requestUri;
  private String requestMethod;
  private String requestTime;
  private String parameter;
  private String responseTime;
  private String responseBody;
  private long timestamp;
  private String sessionId;

  public String getRequestId() {
    return requestId;
  }

  public void setRequestId(String requestId) {
    this.requestId = requestId;
  }

  public String getRemoteAddr() {
    return remoteAddr;
  }

  public void setRemoteAddr(String remoteAddr) {
    this.remoteAddr = remoteAddr;
  }

  public String getRequestMethod() {
    return requestMethod;
  }

  public String getRequestUrl() {
    return requestUrl;
  }

  public void setRequestUrl(String requestUrl) {
    this.requestUrl = requestUrl;
  }

  public String getRequestUri() {
    return requestUri;
  }

  public void setRequestUri(String requestUri) {
    this.requestUri = requestUri;
  }

  public void setRequestMethod(String requestMethod) {
    this.requestMethod = requestMethod;
  }

  public String getRequestTime() {
    return requestTime;
  }

  public void setRequestTime(String requestTime) {
    this.requestTime = requestTime;
  }

  public String getResponseTime() {
    return responseTime;
  }

  public void setResponseTime(String responseTime) {
    this.responseTime = responseTime;
  }

  public String getParameter() {
    return parameter;
  }

  public void setParameter(String parameter) {
    this.parameter = parameter;
  }

  public String getResponseBody() {
    return responseBody;
  }

  public void setResponseBody(String responseBody) {
    this.responseBody = responseBody;
  }

  public String getSessionId() {
    return sessionId;
  }

  public void setSessionId(String sessionId) {
    this.sessionId = sessionId;
  }

  public long getTimestamp() {
    return timestamp;
  }

  public void setTimestamp(long timestamp) {
    this.timestamp = timestamp;
  }
}

package myzd.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created by Chen Baichuan on 18/07/2017.
 */

@AllArgsConstructor
@NoArgsConstructor
@Data
public class HttpRequestDomain {
  private String requestId;
  private String remoteAddr;
  private String requestUrl;
  private String requestUri;
  private String requestMethod;
  private String requestTime;
  private String parameter;
  private String responseTime;
  private String responseBody;
  private long timestamp;
  private String sessionId;

//  public String getRequestId() {
//    return requestId;
//  }
//
//  public void setRequestId(String requestId) {
//    this.requestId = requestId;
//  }
//
//  public String getRemoteAddr() {
//    return remoteAddr;
//  }
//
//  public void setRemoteAddr(String remoteAddr) {
//    this.remoteAddr = remoteAddr;
//  }
//
//  public String getRequestMethod() {
//    return requestMethod;
//  }
//
//  public String getRequestUrl() {
//    return requestUrl;
//  }
//
//  public void setRequestUrl(String requestUrl) {
//    this.requestUrl = requestUrl;
//  }
//
//  public String getRequestUri() {
//    return requestUri;
//  }
//
//  public void setRequestUri(String requestUri) {
//    this.requestUri = requestUri;
//  }
//
//  public void setRequestMethod(String requestMethod) {
//    this.requestMethod = requestMethod;
//  }
//
//  public String getRequestTime() {
//    return requestTime;
//  }
//
//  public void setRequestTime(String requestTime) {
//    this.requestTime = requestTime;
//  }
//
//  public String getResponseTime() {
//    return responseTime;
//  }
//
//  public void setResponseTime(String responseTime) {
//    this.responseTime = responseTime;
//  }
//
//  public String getParameter() {
//    return parameter;
//  }
//
//  public void setParameter(String parameter) {
//    this.parameter = parameter;
//  }
//
//  public String getResponseBody() {
//    return responseBody;
//  }
//
//  public void setResponseBody(String responseBody) {
//    this.responseBody = responseBody;
//  }
//
//  public String getSessionId() {
//    return sessionId;
//  }
//
//  public void setSessionId(String sessionId) {
//    this.sessionId = sessionId;
//  }
//
//  public long getTimestamp() {
//    return timestamp;
//  }
//
//  public void setTimestamp(long timestamp) {
//    this.timestamp = timestamp;
//  }
}

修改httpRequestDomain的get,set方法