@ JsonIgnore public void encodeAndSetContent ( String content ) { encodeAndSetContent ( content != null ? content . getBytes ( ) : null ) ; }
Encodes the provided String using Base64 and sets it as the content . The encoding property of this instance will be set to base64 .