Uses of Class
vaultWeb.dtos.ChatMessageDto
Packages that use ChatMessageDto
-
Uses of ChatMessageDto in vaultWeb.controllers
Methods in vaultWeb.controllers that return types with arguments of type ChatMessageDtoModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<List<ChatMessageDto>> GroupController.getGroupMessages(Long id, org.springframework.security.core.Authentication authentication) PrivateChatController.getPrivateChatMessages(Long privateChatId, org.springframework.security.core.Authentication authentication) Methods in vaultWeb.controllers with parameters of type ChatMessageDtoModifier and TypeMethodDescriptionvoidChatController.sendMessage(@Valid ChatMessageDto messageDto, Principal principal) Handles incoming group chat messages from clients and broadcasts them to all subscribers of the specified group topic.voidChatController.sendPrivateMessage(@Valid ChatMessageDto messageDto) Handles incoming private chat messages from clients and sends them to both users of the private chat. -
Uses of ChatMessageDto in vaultWeb.services
Methods in vaultWeb.services that return ChatMessageDtoMethods in vaultWeb.services with parameters of type ChatMessageDtoModifier and TypeMethodDescriptionChatService.saveMessage(ChatMessageDto dto) Saves a chat message to a group or private chat.