@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface WsEndpoint
Mark a class as websocket connection endpoint.
Note it does not require this class to have any specific method or implement any interface. This annotation is purely a tag that tells framework to setup a websocket connection endpoint.
Modifier and Type | Fields and Description |
---|---|
static java.lang.String |
PSEUDO_METHOD |
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String[] |
value
Specify the endpoint URL paths
|
Copyright © 2014–2017 ActFramework. All rights reserved.