org.mule.module.ibeans.annotations
Interface ErrorFilterIBean


@JsonErrorFilter(expr="/message/errorMsg",
                 errorCode="/message/error")
@XmlErrorFilter(expr="/message/errorMsg",
                errorCode="/message/error")
@ExpressionErrorFilter(eval="regex",
                       expr="errorMsg",
                       mimeType="text/plain")
public interface ErrorFilterIBean

TODO


Method Summary
 String jsonErrorFilter(String testData, String contentType)
           
 String regExErrorFilter(String testData, String contentType)
           
 String xmlErrorFilter(String testData, String contentType)
           
 

Method Detail

jsonErrorFilter

@Template(value="")
String jsonErrorFilter(@Body
                                String testData,
                                @HeaderParam(value="Content-Type")
                                String contentType)
                       throws org.ibeans.api.CallException
Throws:
org.ibeans.api.CallException

xmlErrorFilter

@Template(value="")
String xmlErrorFilter(@Body
                               String testData,
                               @HeaderParam(value="Content-Type")
                               String contentType)
                      throws org.ibeans.api.CallException
Throws:
org.ibeans.api.CallException

regExErrorFilter

@Template(value="")
String regExErrorFilter(@Body
                                 String testData,
                                 @HeaderParam(value="Content-Type")
                                 String contentType)
                        throws org.ibeans.api.CallException
Throws:
org.ibeans.api.CallException


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.