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
ClassNotFoundExceptionpublic PayloadTypeFilter(Class expectedType)
public boolean accept(MuleMessage message)
Filterpublic Class getExpectedType()
public void setExpectedType(Class expectedType)
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.