websocket/src/main/java/org/nanohttpd/protocols/websockets/WebSocketFrame.java
public String getTextPayload() {
        if (this._payloadString == null) {
            try {
                this._payloadString = binary2Text(getBinaryPayload());
            } catch (CharacterCodingException e) {
                throw new RuntimeException("Undetected CharacterCodingException", e);
            }
        }
        return this._payloadString;
    }
public String getTextPayload() {
        if (this._payloadString == null) {
            try {
                this._payloadString = binary2Text(getBinaryPayload());
            } catch (CharacterCodingException e) {
                throw new RuntimeException("Undetected CharacterCodingException", e);
            }
        }
        return this._payloadString;
    }
public String getTextPayload ( ) { if ( this . _payloadString == null ) { try { this . _payloadString = binary2Text ( getBinaryPayload ( ) ) ; } catch ( CharacterCodingException e ) { throw new RuntimeException ( "Undetected CharacterCodingException" , e ) ; } } return this . _payloadString ; }
--------------------------------SERIALIZATION---------------------------
-------------------------------- SERIALIZATION ---------------------------