isValidPublishTopicName() — netty Function Reference
Architecture documentation for the isValidPublishTopicName() function in MqttCodecUtil.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b4806cb3_33aa_2c46_ad1b_e978476a6151["isValidPublishTopicName()"] 8cc4b5f5_1c6e_ed7b_93cd_8de978fc304c["MqttCodecUtil"] b4806cb3_33aa_2c46_ad1b_e978476a6151 -->|defined in| 8cc4b5f5_1c6e_ed7b_93cd_8de978fc304c style b4806cb3_33aa_2c46_ad1b_e978476a6151 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-mqtt/src/main/java/io/netty/handler/codec/mqtt/MqttCodecUtil.java lines 44–53
static boolean isValidPublishTopicName(String topicName) {
// publish topic name must not contain any wildcard
for (int i = 0; i < topicName.length(); i++) {
char c = topicName.charAt(i);
if (c == '#' || c == '+') {
return false;
}
}
return true;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does isValidPublishTopicName() do?
isValidPublishTopicName() is a function in the netty codebase, defined in codec-mqtt/src/main/java/io/netty/handler/codec/mqtt/MqttCodecUtil.java.
Where is isValidPublishTopicName() defined?
isValidPublishTopicName() is defined in codec-mqtt/src/main/java/io/netty/handler/codec/mqtt/MqttCodecUtil.java at line 44.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free