groovyx.net.ws.cxf
Class MtomHelper

java.lang.Object
  extended by groovyx.net.ws.cxf.AbstractSettingHelper
      extended by groovyx.net.ws.cxf.MtomHelper

public class MtomHelper
extends AbstractSettingHelper

Helper class to configure the MTOM settings.

Since:
0.5
Author:
Tog

Field Summary
 
Fields inherited from class groovyx.net.ws.cxf.AbstractSettingHelper
properties
 
Constructor Summary
MtomHelper()
           
 
Method Summary
protected  void configureClientParameters(org.apache.cxf.endpoint.Client client)
          Sets the MTOM property in the request context.
protected  void setDefaultProperties()
          Sets the default value to not use MTOM
 void setMtom(boolean isMtom)
           
 
Methods inherited from class groovyx.net.ws.cxf.AbstractSettingHelper
enable, initialize, isConfigured, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MtomHelper

public MtomHelper()
Method Detail

setMtom

public void setMtom(boolean isMtom)
Parameters:
isMtom - true if mtom is enabled, otherwise false.

setDefaultProperties

protected void setDefaultProperties()
Sets the default value to not use MTOM

Specified by:
setDefaultProperties in class AbstractSettingHelper

configureClientParameters

protected void configureClientParameters(org.apache.cxf.endpoint.Client client)
Sets the MTOM property in the request context.

Specified by:
configureClientParameters in class AbstractSettingHelper
Parameters:
client - The client to configure.