spring-framework / org.springframework.messaging.simp.stomp / StompHeaderAccessor / getCommand

getCommand

@Nullable open fun getCommand(): StompCommand

Return the STOMP command, or null if not yet set.

@Nullable open static fun getCommand(headers: MutableMap<String, Any>): StompCommand

Return the STOMP command from the given headers, or null if not set.