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
Deprecated.
Will be removed in 8.5.x onwards.
|
static String |
POJO_PATH_PARAM_KEY
Deprecated.
Will be removed in 8.5.x onwards.
|
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
@Deprecated public static final String POJO_PATH_PARAM_KEY
@Deprecated public static final String POJO_METHOD_MAPPING_KEY
public void onOpen(Session session, EndpointConfig endpointConfig)
Endpoint
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.