public final class ClassUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Class<?> | getDecoderType(Class<? extends javax.websocket.Decoder> clazz) Returns the Object type for which the Encoder can be used. |
static Class<?> | getEncoderType(Class<? extends javax.websocket.Encoder> clazz) Returns the Object type for which the Encoder can be used. |
static Map<Class<?>,Boolean> | getHandlerTypes(Class<? extends javax.websocket.MessageHandler> clazz) Returns a map of all supported message types by the given handler class. |
public static Map<Class<?>,Boolean> getHandlerTypes(Class<? extends javax.websocket.MessageHandler> clazz)
public static Class<?> getEncoderType(Class<? extends javax.websocket.Encoder> clazz)
Encoder
can be used.Copyright © 2020 JBoss by Red Hat. All rights reserved.