content: package org.littleshoot.proxy;
  
  public class ResponseInfo {
      private int statusCode;
      private String body;
  
      public ResponseInfo(int statusCode, String body) {
          super();
          this.statusCode = statusCode;
          this.body = body;
      }
  
      public int getStatusCode() {
          return statusCode;
      }
  
      public String getBody() {
          return body;
      }
  
      @Override
      public int hashCode() {
          final int prime = 31;
          int result = 1;
          result = prime * result + ((body == null) ? 0 : body.hashCode());
          result = prime * result + statusCode;
          return result;
      }
  
      @Override
      public boolean equals(Object obj) {
          if (this == obj)
              return true;
          if (obj == null)
              return false;
          if (getClass() != obj.getClass())
              return false;
          ResponseInfo other = (ResponseInfo) obj;
          if (body == null) {
              if (other.body != null)
                  return false;
          } else if (!body.equals(other.body))
              return false;
          if (statusCode != other.statusCode)
              return false;
          return true;
      }
  
      @Override
      public String toString() {
          return "ResponseInfo [statusCode=" + statusCode + ", body=" + body
                  + "]";
      }
  
  }
  