public IpInfo(HttpServletRequest request){
  this.address=getClientAddress(request);
  if (!address.equals(request.getRemoteAddr())) {
    this.forwarded=true;
  }
}

public IpInfo ( HttpServletRequest request ) { this . address = getClientAddress ( request ) ; if ( ! address . equals ( request . getRemoteAddr ( ) ) ) { this . forwarded = true ; } }
instantiates a new ip info .
