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)
Endpoint
public final void onError(Session session, Throwable throwable)
Endpoint
protected Object getPojo()
protected void setPojo(Object pojo)
protected PojoMethodMapping getMethodMapping()
protected void setMethodMapping(PojoMethodMapping methodMapping)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.