public class PayloadTypeFilter extends Object implements Filter
PayloadTypeFilter
filters based on the type of the object received.Constructor and Description |
---|
PayloadTypeFilter() |
PayloadTypeFilter(Class expectedType) |
PayloadTypeFilter(String expectedType) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(MuleMessage message)
Check a given message against this filter.
|
boolean |
equals(Object obj) |
Class |
getExpectedType() |
int |
hashCode() |
void |
setExpectedType(Class expectedType) |
public PayloadTypeFilter()
public PayloadTypeFilter(String expectedType) throws ClassNotFoundException
ClassNotFoundException
public PayloadTypeFilter(Class expectedType)
public boolean accept(MuleMessage message)
Filter
public Class getExpectedType()
public void setExpectedType(Class expectedType)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.