private Predicate<Session> isForRequest(final HttpRequest dumpedRequest) {
return new Predicate<Session>() {
@Override
public boolean apply(Session session) {
HttpRequest request = session.getRequest();
return new HttpRequestFailoverMatcher(request).match(dumpedRequest);
}
};
}