src/main/java/org/java_websocket/WebSocketAdapter.java
@Override
	public void onWebsocketPing( WebSocket conn, Framedata f ) {
		conn.sendFrame( new PongFrame( (PingFrame)f ) );
	}
@Override
	public void onWebsocketPing( WebSocket conn, Framedata f ) {
		conn.sendFrame( new PongFrame( (PingFrame)f ) );
	}
@ Override public void onWebsocketPing ( WebSocket conn , Framedata f ) { conn . sendFrame ( new PongFrame ( ( PingFrame ) f ) ) ; }
This default implementation will send a pong in response to the received ping.
The pong frame will have the same payload as the ping frame.

@see org.java_websocket.WebSocketListener#onWebsocketPing(WebSocket, Framedata)
This default implementation will send a pong in response to the received ping . The pong frame will have the same payload as the ping frame .