The method may only take the following parameters:-
Session
EndpointConfig
javax.websocket.server.PathParam
The parameters may appear in any order.