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, String filename, MultipartValuePattern.MatchingType type, Map<String, MultiValuePattern> headers, List<ContentPattern<?>> body) -
Method Summary
Modifier and TypeMethodDescriptionbooleanList<ContentPattern<?>>getName()inthashCode()booleanbooleanmatch(Request.Part value)
-
Constructor Details
-
MultipartValuePattern
public MultipartValuePattern(String name, String filename, MultipartValuePattern.MatchingType type, Map<String, MultiValuePattern> headers, List<ContentPattern<?>> body)
-
-
Method Details
-
isMatchAny
public boolean isMatchAny() -
isMatchAll
public boolean isMatchAll() -
match
- Specified by:
matchin interfaceValueMatcher<Request.Part>
-
match
-
getName
-
getFileName
-
getHeaders
-
getMatchingType
-
getBodyPatterns
-
equals
-
hashCode
public int hashCode()
-