String function ( ) { if ( payload instanceof String ) { return ( String ) payload ; } else if ( payload instanceof byte [ ] ) { return Utf8Util . encodePayloadToUtf8 ( ( byte [ ] ) payload ) ; } else { return "srini_string" ; } }
returns content of websocketmessagedto #payload directly if it isof type string . otherwise it tries to convert it . concode_field_sep String dateTime concode_elem_sep Boolean isOutgoing concode_elem_sep String readableOpcode concode_elem_sep Integer closeCode concode_elem_sep Integer payloadLength concode_elem_sep Object payload concode_elem_sep WebSocketChannelDTO channel concode_elem_sep FastDateFormat dateFormatter concode_elem_sep Integer id concode_elem_sep Integer opcode concode_elem_sep Object tempUserObj concode_elem_sep Long timestamp concode_field_sep boolean isInScope concode_elem_sep void copyInto concode_elem_sep boolean isForceIntercept concode_elem_sep String toString concode_elem_sep void setTime concode_elem_sep String getHeader