-
- All Implemented Interfaces:
public final class RequestMatchResult
-
-
Field Summary
Fields Modifier and Type Field Description private final List<Mismatch>mismatchesprivate final MethodMismatchmethodprivate final PathMismatchpathprivate final List<QueryMatchResult>queryprivate final CookieMismatchcookieprivate final List<HeaderMatchResult>headersprivate final BodyMatchResultbody
-
Constructor Summary
Constructors Constructor Description RequestMatchResult(MethodMismatch method, PathMismatch path, List<QueryMatchResult> query, CookieMismatch cookie, List<HeaderMatchResult> headers, BodyMatchResult body)
-
Method Summary
Modifier and Type Method Description final List<Mismatch>getMismatches()final MethodMismatchgetMethod()final PathMismatchgetPath()final List<QueryMatchResult>getQuery()final CookieMismatchgetCookie()final List<HeaderMatchResult>getHeaders()final BodyMatchResultgetBody()final BooleanmatchedOk()final BooleanmatchedMethodAndPath()final IntegercalculateScore()-
-
Constructor Detail
-
RequestMatchResult
RequestMatchResult(MethodMismatch method, PathMismatch path, List<QueryMatchResult> query, CookieMismatch cookie, List<HeaderMatchResult> headers, BodyMatchResult body)
-
-
Method Detail
-
getMismatches
final List<Mismatch> getMismatches()
-
getMethod
final MethodMismatch getMethod()
-
getPath
final PathMismatch getPath()
-
getQuery
final List<QueryMatchResult> getQuery()
-
getCookie
final CookieMismatch getCookie()
-
getHeaders
final List<HeaderMatchResult> getHeaders()
-
getBody
final BodyMatchResult getBody()
-
matchedMethodAndPath
final Boolean matchedMethodAndPath()
-
calculateScore
final Integer calculateScore()
-
-
-
-