Class AnnotatedEndpointScanner<T extends Annotation, C extends javax.websocket.EndpointConfig>
java.lang.Object
org.eclipse.jetty.websocket.common.events.annotated.AbstractMethodAnnotationScanner<AnnotatedEndpointMetadata<T,C>>
org.eclipse.jetty.websocket.jsr356.annotations.AnnotatedEndpointScanner<T,C>
public class AnnotatedEndpointScanner<T extends Annotation, C extends javax.websocket.EndpointConfig>
extends AbstractMethodAnnotationScanner<AnnotatedEndpointMetadata<T,C>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.eclipse.jetty.util.log.Loggerprivate final AnnotatedEndpointMetadata<T, C> private final LinkedList<IJsrParamId> private final LinkedList<IJsrParamId> private final LinkedList<IJsrParamId> private final LinkedList<IJsrParamId> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidassertNotDuplicate(JsrCallable callable, Class<? extends Annotation> methodAnnotationClass, Class<?> pojo, Method method) voidonMethodAnnotation(AnnotatedEndpointMetadata<T, C> metadata, Class<?> pojo, Method method, Annotation annotation) scan()private voidvisitMethod(JsrCallable callable, Class<?> pojo, Method method, LinkedList<IJsrParamId> paramIds, Class<? extends Annotation> methodAnnotationClass) private booleanvisitParam(JsrCallable callable, Param param, List<IJsrParamId> paramIds)
-
Field Details
-
LOG
private static final org.eclipse.jetty.util.log.Logger LOG -
paramsOnOpen
-
paramsOnClose
-
paramsOnError
-
paramsOnMessage
-
metadata
private final AnnotatedEndpointMetadata<T extends Annotation, C extends javax.websocket.EndpointConfig> metadata
-
-
Constructor Details
-
AnnotatedEndpointScanner
-
-
Method Details
-
assertNotDuplicate
private void assertNotDuplicate(JsrCallable callable, Class<? extends Annotation> methodAnnotationClass, Class<?> pojo, Method method) -
onMethodAnnotation
public void onMethodAnnotation(AnnotatedEndpointMetadata<T, C> metadata, Class<?> pojo, Method method, Annotation annotation) - Specified by:
onMethodAnnotationin classAbstractMethodAnnotationScanner<AnnotatedEndpointMetadata<T extends Annotation, C extends javax.websocket.EndpointConfig>>
-
scan
-
visitMethod
private void visitMethod(JsrCallable callable, Class<?> pojo, Method method, LinkedList<IJsrParamId> paramIds, Class<? extends Annotation> methodAnnotationClass) -
visitParam
-