public class PojoEndpointServer extends PojoEndpointBase
ServerEndpoint so they appear as standard
Endpoint instances.| Modifier and Type | Field and Description |
|---|---|
static String |
POJO_METHOD_MAPPING_KEY |
static String |
POJO_PATH_PARAM_KEY |
| Constructor and Description |
|---|
PojoEndpointServer() |
| Modifier and Type | Method and Description |
|---|---|
void |
onOpen(Session session,
EndpointConfig endpointConfig)
Event that is triggered when a new session starts.
|
doOnOpen, getMethodMapping, getPathParameters, getPojo, onClose, onError, setMethodMapping, setPathParameters, setPojopublic static final String POJO_PATH_PARAM_KEY
public static final String POJO_METHOD_MAPPING_KEY
public void onOpen(Session session, EndpointConfig endpointConfig)
javax.websocket.EndpointCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.