Class MultipartValuePattern
java.lang.Object
com.github.tomakehurst.wiremock.matching.MultipartValuePattern
- All Implemented Interfaces:
ValueMatcher<Request.Part>
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionMultipartValuePattern
(String name, MultipartValuePattern.MatchingType type, Map<String, MultiValuePattern> headers, List<ContentPattern<?>> body) -
Method Summary
Modifier and TypeMethodDescriptionboolean
List<ContentPattern<?>>
getName()
int
hashCode()
boolean
boolean
match
(Request.Part value)
-
Constructor Details
-
MultipartValuePattern
public MultipartValuePattern(String name, MultipartValuePattern.MatchingType type, Map<String, MultiValuePattern> headers, List<ContentPattern<?>> body)
-
-
Method Details
-
isMatchAny
public boolean isMatchAny() -
isMatchAll
public boolean isMatchAll() -
match
- Specified by:
match
in interfaceValueMatcher<Request.Part>
-
match
-
getName
-
getHeaders
-
getMatchingType
-
getBodyPatterns
-
equals
-
hashCode
public int hashCode()
-