|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Target(value=TYPE) public @interface WebSocketEndpoint
This class level annotation declares that the class it decorates is a web socket endpoint.
| Required Element Summary | |
|---|---|
String |
path
The relative URI where the endpoint will be deployed, for example '/chat' |
| Optional Element Summary | |
|---|---|
Class[] |
decoders
The ordered array of decoder classes this endpoint will need to use. |
Class[] |
encoders
The ordered array of encoder classes this endpoint will need to use. |
String[] |
subprotocols
The ordered array of web socket protocols this endpoint supports. |
| Element Detail |
|---|
public abstract String path
public abstract String[] subprotocols
public abstract Class[] decoders
public abstract Class[] encoders
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||