Module org.jboss.marshalling
Package org.jboss.marshalling
Class UnmarshallingObjectInputFilter.Factory
java.lang.Object
org.jboss.marshalling.UnmarshallingObjectInputFilter.Factory
- Enclosing interface:
- UnmarshallingObjectInputFilter
Factory for creating unmarshalling filters that are configured by a JEPS 290 style
filterSpec
string provided to the factory methods. The created unmarshalling filters will return
UnmarshallingObjectInputFilter.Status.REJECTED if the given input is not acceptable.-
Method Summary
Modifier and TypeMethodDescriptioncreateFilter(String filterSpec) Creates unmarshalling filters that are configured by a JEPS 290 stylefilterSpecstring.createFilter(String filterSpec, boolean checkJEPS290ProcessFilter) Creates unmarshalling filters that are configured by a JEPS 290 stylefilterSpecstring.
-
Method Details
-
createFilter
Creates unmarshalling filters that are configured by a JEPS 290 stylefilterSpecstring.- Parameters:
filterSpec- the JEPS 290 style compatible string- Returns:
- filterSpec string configured unmarshalling filter
-
createFilter
public static UnmarshallingObjectInputFilter createFilter(String filterSpec, boolean checkJEPS290ProcessFilter) Creates unmarshalling filters that are configured by a JEPS 290 stylefilterSpecstring. If checkJEPS290ProcessFilter is set to true and static JVM-wide deserialization filter (-DserialFilter=...) is available then both configured unmarshalling filter and JVM-wide deserialization filter will be chained.- Parameters:
filterSpec- the JEPS 290 style compatible string- Returns:
- filterSpec string configured unmarshalling filter potentially chained with JVM-wide deserialization filter
-