Class MessageHandlerMetadata


  • public class MessageHandlerMetadata
    extends java.lang.Object
    An immutable metadata for a MessageHandler, representing a single interface on a message handling class.

    A message handling class can contain more than 1 valid MessageHandler interface, this will result in multiple MessageHandlerMetadata instances, each tracking one of the MessageHandler interfaces declared.

    • Constructor Summary

      Constructors 
      Constructor Description
      MessageHandlerMetadata​(java.lang.Class<? extends javax.websocket.MessageHandler> handlerClass, java.lang.Class<?> messageClass, boolean partial)  
    • Constructor Detail

      • MessageHandlerMetadata

        public MessageHandlerMetadata​(java.lang.Class<? extends javax.websocket.MessageHandler> handlerClass,
                                      java.lang.Class<?> messageClass,
                                      boolean partial)
    • Method Detail

      • getHandlerClass

        public java.lang.Class<? extends javax.websocket.MessageHandler> getHandlerClass()
      • getMessageClass

        public java.lang.Class<?> getMessageClass()
      • isPartialSupported

        public boolean isPartialSupported()