Modifier and Type | Field and Description |
---|---|
protected Log |
logger
logger used by this class
|
Constructor and Description |
---|
IsJsonFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(MuleMessage obj)
Check a given message against this filter.
|
boolean |
accept(Object obj) |
boolean |
isValidateParsing() |
protected boolean |
mayBeJSON(String string)
Tests if the String possibly represents a valid JSON String.
|
void |
setValidateParsing(boolean validateParsing) |
protected final transient Log logger
public boolean accept(MuleMessage obj)
Filter
public boolean accept(Object obj)
public boolean isValidateParsing()
public void setValidateParsing(boolean validateParsing)
protected boolean mayBeJSON(String string)
string
- Valid JSON strings are:
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.