Class MessageHandlerFactory
- java.lang.Object
-
- org.eclipse.jetty.websocket.jsr356.MessageHandlerFactory
-
public class MessageHandlerFactory extends java.lang.Object
Factory forMessageHandlerMetadata
-
-
Constructor Summary
Constructors Constructor Description MessageHandlerFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<MessageHandlerMetadata>
getMetadata(java.lang.Class<? extends javax.websocket.MessageHandler> handler)
java.util.List<MessageHandlerMetadata>
register(java.lang.Class<? extends javax.websocket.MessageHandler> handler)
-
-
-
Method Detail
-
getMetadata
public java.util.List<MessageHandlerMetadata> getMetadata(java.lang.Class<? extends javax.websocket.MessageHandler> handler) throws java.lang.IllegalStateException
- Throws:
java.lang.IllegalStateException
-
register
public java.util.List<MessageHandlerMetadata> register(java.lang.Class<? extends javax.websocket.MessageHandler> handler)
-
-