public abstract class PojoEndpointBase extends Endpoint
Constructor and Description |
---|
PojoEndpointBase() |
Modifier and Type | Method and Description |
---|---|
protected void |
doOnOpen(Session session,
EndpointConfig config) |
protected PojoMethodMapping |
getMethodMapping() |
protected Map<String,String> |
getPathParameters() |
protected Object |
getPojo() |
void |
onClose(Session session,
CloseReason closeReason)
Event that is triggered when a session has closed.
|
void |
onError(Session session,
Throwable throwable)
Event that is triggered when a protocol error occurs.
|
protected void |
setMethodMapping(PojoMethodMapping methodMapping) |
protected void |
setPathParameters(Map<String,String> pathParameters) |
protected void |
setPojo(Object pojo) |
protected final void doOnOpen(Session session, EndpointConfig config)
public final void onClose(Session session, CloseReason closeReason)
javax.websocket.Endpoint
public final void onError(Session session, Throwable throwable)
javax.websocket.Endpoint
protected Object getPojo()
protected void setPojo(Object pojo)
protected PojoMethodMapping getMethodMapping()
protected void setMethodMapping(PojoMethodMapping methodMapping)
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.