When I have a websocket connection, say at "/ws"
Will a regular javax.servlet.Filter on the "/ws" path intercept each message as a regular http request? Will it intercept only the first request (as part of the handshake?)
If no, then, how can I make such a filter for websocket messages?
I don't find any specifics about that in the spec.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…