Package kong.unirest.core
Class EqualsBodyMatcher
- java.lang.Object
-
- kong.unirest.core.EqualsBodyMatcher
-
- All Implemented Interfaces:
BodyMatcher
public class EqualsBodyMatcher extends java.lang.Object implements BodyMatcher
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringexpected
-
Constructor Summary
Constructors Constructor Description EqualsBodyMatcher(java.lang.String body)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MatchStatusmatches(java.util.List<java.lang.String> body)indicates if the Matcher succeeded in matching the body
-
-
-
Method Detail
-
matches
public MatchStatus matches(java.util.List<java.lang.String> body) throws java.lang.AssertionError
Description copied from interface:BodyMatcherindicates if the Matcher succeeded in matching the body- Specified by:
matchesin interfaceBodyMatcher- Parameters:
body- the list of body parts- Returns:
- MatchStatus indicating if the Matcher succeeded in matching the body
- Throws:
java.lang.AssertionError
-
-