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, setPojo
public static final String POJO_PATH_PARAM_KEY
public static final String POJO_METHOD_MAPPING_KEY
public void onOpen(Session session, EndpointConfig endpointConfig)
javax.websocket.Endpoint
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.