Class PojoMessageHandlerPartialBase<T>

    • Constructor Detail

      • PojoMessageHandlerPartialBase

        public PojoMessageHandlerPartialBase​(Object pojo,
                                             Method method,
                                             Session session,
                                             Object[] params,
                                             int indexPayload,
                                             boolean convert,
                                             int indexBoolean,
                                             int indexSession,
                                             long maxMessageSize)
    • Method Detail

      • onMessage

        public final void onMessage​(T message,
                                    boolean last)
        Description copied from interface: jakarta.websocket.MessageHandler.Partial
        Called when part of a message is available to be processed.
        Specified by:
        onMessage in interface MessageHandler.Partial<T>
        Parameters:
        message - The message part
        last - true if this is the last part of this message, else false