public class Message extends ObjectSE implements SerializableSE
| コンストラクターと説明 |
|---|
Message(byte[] body, MessageProperties messageProperties) |
| 修飾子と型 | メソッドと説明 |
|---|---|
static void | addWhiteListPatterns(StringSE... patterns)toString() でのデシリアライズに許可されるパッケージ / クラス名パターンのホワイトリストにパターンを追加します。 |
boolean | equals(ObjectSE obj) |
byte[] | getBody() |
MessageProperties | getMessageProperties() |
int | hashCode() |
static void | setDefaultEncoding(StringSE encoding)contentEncoding メッセージプロパティが存在しない場合に、本文を変換するときに toString() で使用するエンコードを設定します。 |
StringSE | toString() |
cloneSE, finalizeSE, getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEpublic Message(byte[] body,
MessageProperties messageProperties)public static void addWhiteListPatterns(StringSE... patterns)
toString() のデシリアライズに許可されるパッケージ / クラス名パターンのホワイトリストにパターンを追加します。パターンは、一致するものが見つかるまで順に適用されます。クラスは完全修飾することも、クラス名の先頭または末尾にワイルドカード '*' を使用することもできます。例: com.foo.*、*.MyClass。デフォルトでは、java.util クラスと java.lang クラスのみがデシリアライズされます。patterns - パターン。public static void setDefaultEncoding(StringSE encoding)
contentEncoding メッセージプロパティが存在しない場合に、本文を変換するときに toString() で使用するエンコードを設定します。encoding - 使用するエンコーディング。public byte[] getBody()
public MessageProperties getMessageProperties()
public StringSE toString()
ObjectSE の toStringSE public int hashCode()
ObjectSE の hashCodeSE