public class PojoEndpointServer extends PojoEndpointBase
ServerEndpoint
so they appear as standard
Endpoint
instances.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
POJO_METHOD_MAPPING_KEY |
static java.lang.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 java.lang.String POJO_PATH_PARAM_KEY
public static final java.lang.String POJO_METHOD_MAPPING_KEY
public void onOpen(Session session, EndpointConfig endpointConfig)
javax.websocket.Endpoint
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.