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 java.util.Map<java.lang.String,java.lang.String> |
getPathParameters() |
protected java.lang.Object |
getPojo() |
void |
onClose(Session session,
CloseReason closeReason)
Event that is triggered when a session has closed.
|
void |
onError(Session session,
java.lang.Throwable throwable)
Event that is triggered when a protocol error occurs.
|
protected void |
setMethodMapping(PojoMethodMapping methodMapping) |
protected void |
setPathParameters(java.util.Map<java.lang.String,java.lang.String> pathParameters) |
protected void |
setPojo(java.lang.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, java.lang.Throwable throwable)
javax.websocket.Endpoint
protected java.lang.Object getPojo()
protected void setPojo(java.lang.Object pojo)
protected java.util.Map<java.lang.String,java.lang.String> getPathParameters()
protected void setPathParameters(java.util.Map<java.lang.String,java.lang.String> pathParameters)
protected PojoMethodMapping getMethodMapping()
protected void setMethodMapping(PojoMethodMapping methodMapping)
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.