public abstract class WhiteListDeserializingMessageConverter extends AbstractMessageConverter
| Constructor and Description |
|---|
WhiteListDeserializingMessageConverter() |
| Modifier and Type | Method and Description |
|---|---|
void |
addWhiteListPatterns(String... patterns)
Add package/class patterns to the white list.
|
protected void |
checkWhiteList(Class<?> clazz) |
void |
setWhiteListPatterns(List<String> whiteListPatterns)
Set simple patterns for allowable packages/classes for deserialization.
|
createMessage, createMessage, isCreateMessageIds, setCreateMessageIds, toMessage, toMessageclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfromMessagepublic WhiteListDeserializingMessageConverter()
public void setWhiteListPatterns(List<String> whiteListPatterns)
com.foo.*, *.MyClass.whiteListPatterns - the patterns.public void addWhiteListPatterns(String... patterns)
patterns - the patterns to add.setWhiteListPatterns(List)protected void checkWhiteList(Class<?> clazz)