Exam 1z0-900 All QuestionsBrowse all questions from this exam
Question 1

You need to develop a chat application, which allows the display of emoticons and images together with text messages.

How should you configure a WebSocket endpoints to receive both text and binary messages?

    Correct Answer: D

    To configure a WebSocket endpoint to receive both text and binary messages, you should create two @onMessage methods, each with appropriate decoder attributes in the same endpoint. This allows the endpoint to handle both types of messages correctly by specifying how each type should be decoded, thereby ensuring proper handling of both text and binary data.

Discussion
ciellaf5Option: A

yes A is correct.

YasinGaberOption: D

D is correct as per some other sites

orjavaOption: D

correct is: D