public void appendTo(StringBuffer buffer) {
buffer.append("eqRequest[]");
}
public boolean matches(Object obj) {
HttpRequest match = (HttpRequest)obj;
return (match.getMethod().equals(req.getMethod()) &&
match.getUri().equals(req.getUri()) &&
match.getAuthType().equals(req.getAuthType()) &&
match.getPostBodyAsString().equals(req.getPostBodyAsString()) &&
Objects.equal(match.getOAuthArguments(), req.getOAuthArguments()) &&
match.getHeaders().equals(req.getHeaders()));
}