MessageHandler.Partial (WebSocket 1.1 API Documentation - Apache Tomcat 9.0.118)
Description: declaration: package: javax.websocket, interface: MessageHandler, interface: Partial

# Interface MessageHandler.Partial<T>

All Superinterfaces:
  `MessageHandler`

Enclosing interface:
  `MessageHandler`

public static interface MessageHandler.Partial<T> extends MessageHandler

- ## Nested Class Summary

  ### Nested classes/interfaces inherited from interface MessageHandler

  `MessageHandler.Partial<T>, MessageHandler.Whole<T>`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `onMessage(T messagePart, boolean last)`
  Called when part of a message is available to be processed.

- ## Method Details

  - ### onMessage

    void onMessage(T messagePart, boolean last)
    Called when part of a message is available to be processed.
    Parameters:
      `messagePart` - The message part
      `last` - `true` if this is the last part of this message, else `false`