WebSocket Path Mapping
Just as many of us are reachable by various addresses—e-mail, phone numbers, instant messaging handles, street addresses—server WebSocket endpoints have an address in the URI space of the server hosting them. You have already seen how client WebSocket endpoints connect to server endpoints, and you have seen how to map a server endpoint to a simple relative URI in the namespace of the web server. In this chapter, you will explore all the techniques for mapping server endpoints into the URI space of the web container hosting them, and how they can be best exploited in WebSocket applications. You will learn the nine ...

Get Java WebSocket Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.