org.apache.rampart.util
Class MessageOptimizer

java.lang.Object
  extended by org.apache.rampart.util.MessageOptimizer

public class MessageOptimizer
extends java.lang.Object

Utility class to handle MTOM-Optimizing Base64 Text values


Constructor Summary
MessageOptimizer()
           
 
Method Summary
static void optimize(org.apache.axiom.soap.SOAPEnvelope env, java.lang.String optimizeParts)
          Mark the requied Base64 text values as optimized
static void optimize(org.apache.axiom.soap.SOAPEnvelope env, java.util.Vector expressions, java.util.Map namespaces)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageOptimizer

public MessageOptimizer()
Method Detail

optimize

public static void optimize(org.apache.axiom.soap.SOAPEnvelope env,
                            java.util.Vector expressions,
                            java.util.Map namespaces)
                     throws RampartException
Throws:
RampartException

optimize

public static void optimize(org.apache.axiom.soap.SOAPEnvelope env,
                            java.lang.String optimizeParts)
                     throws org.apache.ws.security.WSSecurityException
Mark the requied Base64 text values as optimized

Parameters:
env -
optimizeParts - This is a set of xPath expressions
Throws:
org.apache.ws.security.WSSecurityException