Class MessageChannels
java.lang.Object
com.github.tomakehurst.wiremock.message.MessageChannels
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(MessageChannel channel) findByRequestPattern(RequestPattern requestPattern, Map<String, RequestMatcherExtension> customMatchers) findByTypeAndRequestPattern(ChannelType type, RequestPattern requestPattern, Map<String, RequestMatcherExtension> customMatchers) getAll()getAllByType(ChannelType type) getAllOpenByType(ChannelType type) intintopenCountByType(ChannelType type) voidintsendMessageToMatching(RequestPattern requestPattern, MessageDefinition messageDefinition, Map<String, RequestMatcherExtension> customMatchers) sendMessageToMatchingByType(ChannelType type, RequestPattern requestPattern, MessageDefinition messageDefinition, Map<String, RequestMatcherExtension> customMatchers) intsize()intsizeByType(ChannelType type)
-
Constructor Details
-
MessageChannels
-
-
Method Details
-
add
-
remove
-
get
-
getAll
-
getAllByType
-
getAllOpen
-
getAllOpenByType
-
findByRequestPattern
public List<RequestInitiatedMessageChannel> findByRequestPattern(RequestPattern requestPattern, Map<String, RequestMatcherExtension> customMatchers) -
findByTypeAndRequestPattern
public List<RequestInitiatedMessageChannel> findByTypeAndRequestPattern(ChannelType type, RequestPattern requestPattern, Map<String, RequestMatcherExtension> customMatchers) -
sendMessageToMatching
public int sendMessageToMatching(RequestPattern requestPattern, MessageDefinition messageDefinition, Map<String, RequestMatcherExtension> customMatchers) -
sendMessageToMatchingByType
public List<RequestInitiatedMessageChannel> sendMessageToMatchingByType(ChannelType type, RequestPattern requestPattern, MessageDefinition messageDefinition, Map<String, RequestMatcherExtension> customMatchers) -
size
public int size() -
sizeByType
-
openCount
public int openCount() -
openCountByType
-