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 Class<?> |
getHandlerType(Class<? extends javax.websocket.MessageHandler> clazz)
Returns the frame type the
MessageHandler handles. |
public static Class<?> getHandlerType(Class<? extends javax.websocket.MessageHandler> clazz)
MessageHandler
handles.public static Class<?> getEncoderType(Class<? extends javax.websocket.Encoder> clazz)
Encoder
can be used.Copyright © 2013 JBoss by Red Hat. All rights reserved.