org.mule.module.ibeans.spi.support
Class HttpStatusCodeCallback

java.lang.Object
  extended by org.mule.module.ibeans.spi.support.HttpStatusCodeCallback
All Implemented Interfaces:
org.ibeans.impl.test.MockMessageCallback<MuleResponseMessage>

public class HttpStatusCodeCallback
extends Object
implements org.ibeans.impl.test.MockMessageCallback<MuleResponseMessage>

Sets a Http status code on the result message created on a mock invocation


Constructor Summary
HttpStatusCodeCallback(int status)
           
 
Method Summary
 void onMessage(MuleResponseMessage response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpStatusCodeCallback

public HttpStatusCodeCallback(int status)
Method Detail

onMessage

public void onMessage(MuleResponseMessage response)
Specified by:
onMessage in interface org.ibeans.impl.test.MockMessageCallback<MuleResponseMessage>


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