We use `request.getBytes()` to get the bytes for the upgrade request. - [ ] Add method in WebSocketHandler.createUpgradeRequest to return `bytes[]` rather than a String * I believe the createUpgradeRequest is already shipped, so we don't want to break existing users. * Encode `bytes[]` as ISO-8859-1 - [ ] Remove spotbugs suppression:
We use
request.getBytes()to get the bytes for the upgrade request.bytes[]rather than a Stringbytes[]as ISO-8859-1