public final class DecodeCriterionCodecHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
MISSING_MEMBER_MESSAGE |
| Constructor and Description |
|---|
DecodeCriterionCodecHelper(com.fasterxml.jackson.databind.node.ObjectNode json)
Creates a decode criterion codec object.
|
| Modifier and Type | Method and Description |
|---|---|
org.onosproject.net.flow.criteria.Criterion |
decode()
Decodes the JSON into a criterion object.
|
protected static final String MISSING_MEMBER_MESSAGE
public DecodeCriterionCodecHelper(com.fasterxml.jackson.databind.node.ObjectNode json)
json - JSON object to decodepublic org.onosproject.net.flow.criteria.Criterion decode()
IllegalArgumentException - if the JSON is invalid