org.apache.axis2.transport.base
Class ParamUtils

java.lang.Object
  extended by org.apache.axis2.transport.base.ParamUtils

public class ParamUtils
extends java.lang.Object

Utility class with methods to manipulate service or transport parameters.


Method Summary
static java.lang.String getOptionalParam(ParameterInclude paramInclude, java.lang.String paramName)
           
static boolean getOptionalParamBoolean(ParameterInclude paramInclude, java.lang.String paramName, boolean defaultValue)
           
static java.lang.Integer getOptionalParamInt(ParameterInclude paramInclude, java.lang.String paramName)
           
static int getOptionalParamInt(ParameterInclude paramInclude, java.lang.String paramName, int defaultValue)
           
static java.lang.String getRequiredParam(ParameterInclude paramInclude, java.lang.String paramName)
           
static int getRequiredParamInt(ParameterInclude paramInclude, java.lang.String paramName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRequiredParam

public static java.lang.String getRequiredParam(ParameterInclude paramInclude,
                                                java.lang.String paramName)
                                         throws AxisFault
Throws:
AxisFault

getOptionalParam

public static java.lang.String getOptionalParam(ParameterInclude paramInclude,
                                                java.lang.String paramName)
                                         throws AxisFault
Throws:
AxisFault

getOptionalParamInt

public static java.lang.Integer getOptionalParamInt(ParameterInclude paramInclude,
                                                    java.lang.String paramName)
                                             throws AxisFault
Throws:
AxisFault

getOptionalParamInt

public static int getOptionalParamInt(ParameterInclude paramInclude,
                                      java.lang.String paramName,
                                      int defaultValue)
                               throws AxisFault
Throws:
AxisFault

getOptionalParamBoolean

public static boolean getOptionalParamBoolean(ParameterInclude paramInclude,
                                              java.lang.String paramName,
                                              boolean defaultValue)
                                       throws AxisFault
Throws:
AxisFault

getRequiredParamInt

public static int getRequiredParamInt(ParameterInclude paramInclude,
                                      java.lang.String paramName)
                               throws AxisFault
Throws:
AxisFault


Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.