Oracle
1Z0-900 · Question #26
1Z0-900 Question #26: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-900 to reveal the answer and full explanation for question #26. The question stem and answer options stay visible for context.
Create Java Applications using WebSockets
Question
You need to exchange large binary messages using chunks in a WebSocket application. Identify two ways in which you can receive partial messages. (Choose two.)
Options
- ADefine an @OnMessage method with a single MimePart parameter.
- BUse a ChunkListener interface implementation.
- CUse a MessageHandler.Partial<ByteBuffer> interface implementation.
- DDefine an @OnMessage method with byte [] as the first parameter and a boolean as the second
Unlock 1Z0-900 to see the answer
You've previewed enough free 1Z0-900 questions. Unlock 1Z0-900 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#WebSocket partial messages#MessageHandler.Partial#@OnMessage#chunking