org.glassfish.tyrus.platform
Class Model
java.lang.Object
org.glassfish.tyrus.platform.Model
public class Model
- extends Object
Model of a class annotated using the WebSocketEndpoint annotations
- Author:
- Stepan Kopriva (stepan.kopriva at oracle.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Model
public Model(Class<?> annotatedClass)
Model
public Model(Object endpoint)
throws IllegalAccessException,
InstantiationException
- Throws:
IllegalAccessException
InstantiationException
parseAnnotatedMethods
public static Set<Method> parseAnnotatedMethods(Class wsClass,
Class annotationClass)
parseSubprotocols
public static List<String> parseSubprotocols(Class wsClass)
getOnOpenMethods
public Set<Method> getOnOpenMethods()
getOnCloseMethods
public Set<Method> getOnCloseMethods()
getOnMessageMethods
public Set<Method> getOnMessageMethods()
getBean
public Object getBean()
getEncoders
public Set<Class<?>> getEncoders()
getDecoders
public Set<Class<?>> getDecoders()
getContextField
public Field getContextField()
getSubprotocols
public List<String> getSubprotocols()
Copyright © 2012. All Rights Reserved.