Spring provides a SockJS-less Websocket endpoint at `ws://host:port/socketentry/websocket` without using the SockJS bucket and session URL componets: `ws://host:port/socketentry/{bucket}/{session}/websocket`
Seems like a good starting point. Seems to be similar to Facebook API as used by the spring-android-samples (see FacebookConnectionFactoryin Spring API).
Custom parsing / setting of handler arguments.
A custom HandlerMethodArgumentResolver might be written extending the RequestParamMethodArgumentResolver laveraging already existent parameter parsing functionlaity.