Java源码示例:org.springframework.messaging.simp.SimpMessageTypeMessageCondition

示例1
private SimpMessageMappingInfo createMessageMappingCondition(String[] destinations) {
	String[] resolvedDestinations = resolveEmbeddedValuesInDestinations(destinations);
	return new SimpMessageMappingInfo(SimpMessageTypeMessageCondition.MESSAGE,
			new DestinationPatternsMessageCondition(resolvedDestinations, this.pathMatcher));
}
 
示例2
private SimpMessageMappingInfo createSubscribeMappingCondition(String[] destinations) {
	String[] resolvedDestinations = resolveEmbeddedValuesInDestinations(destinations);
	return new SimpMessageMappingInfo(SimpMessageTypeMessageCondition.SUBSCRIBE,
			new DestinationPatternsMessageCondition(resolvedDestinations, this.pathMatcher));
}
 
示例3
private SimpMessageMappingInfo createMessageMappingCondition(String[] destinations) {
	String[] resolvedDestinations = resolveEmbeddedValuesInDestinations(destinations);
	return new SimpMessageMappingInfo(SimpMessageTypeMessageCondition.MESSAGE,
			new DestinationPatternsMessageCondition(resolvedDestinations, this.pathMatcher));
}
 
示例4
private SimpMessageMappingInfo createSubscribeMappingCondition(String[] destinations) {
	String[] resolvedDestinations = resolveEmbeddedValuesInDestinations(destinations);
	return new SimpMessageMappingInfo(SimpMessageTypeMessageCondition.SUBSCRIBE,
			new DestinationPatternsMessageCondition(resolvedDestinations, this.pathMatcher));
}
 
示例5
private SimpMessageMappingInfo createMessageMappingCondition(String[] destinations) {
	String[] resolvedDestinations = resolveEmbeddedValuesInDestinations(destinations);
	return new SimpMessageMappingInfo(SimpMessageTypeMessageCondition.MESSAGE,
			new DestinationPatternsMessageCondition(resolvedDestinations, this.pathMatcher));
}
 
示例6
private SimpMessageMappingInfo createSubscribeMappingCondition(String[] destinations) {
	String[] resolvedDestinations = resolveEmbeddedValuesInDestinations(destinations);
	return new SimpMessageMappingInfo(SimpMessageTypeMessageCondition.SUBSCRIBE,
			new DestinationPatternsMessageCondition(resolvedDestinations, this.pathMatcher));
}