Package org.apache.axis2.transport.base
Class ParamUtils
java.lang.Object
org.apache.axis2.transport.base.ParamUtils
Utility class with methods to manipulate service or transport parameters.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetOptionalParam(org.apache.axis2.description.ParameterInclude paramInclude, String paramName) static booleangetOptionalParamBoolean(org.apache.axis2.description.ParameterInclude paramInclude, String paramName, boolean defaultValue) static IntegergetOptionalParamInt(org.apache.axis2.description.ParameterInclude paramInclude, String paramName) static intgetOptionalParamInt(org.apache.axis2.description.ParameterInclude paramInclude, String paramName, int defaultValue) static StringgetRequiredParam(org.apache.axis2.description.ParameterInclude paramInclude, String paramName) static intgetRequiredParamInt(org.apache.axis2.description.ParameterInclude paramInclude, String paramName)
-
Method Details
-
getRequiredParam
public static String getRequiredParam(org.apache.axis2.description.ParameterInclude paramInclude, String paramName) throws org.apache.axis2.AxisFault - Throws:
org.apache.axis2.AxisFault
-
getOptionalParam
public static String getOptionalParam(org.apache.axis2.description.ParameterInclude paramInclude, String paramName) throws org.apache.axis2.AxisFault - Throws:
org.apache.axis2.AxisFault
-
getOptionalParamInt
public static Integer getOptionalParamInt(org.apache.axis2.description.ParameterInclude paramInclude, String paramName) throws org.apache.axis2.AxisFault - Throws:
org.apache.axis2.AxisFault
-
getOptionalParamInt
public static int getOptionalParamInt(org.apache.axis2.description.ParameterInclude paramInclude, String paramName, int defaultValue) throws org.apache.axis2.AxisFault - Throws:
org.apache.axis2.AxisFault
-
getOptionalParamBoolean
public static boolean getOptionalParamBoolean(org.apache.axis2.description.ParameterInclude paramInclude, String paramName, boolean defaultValue) throws org.apache.axis2.AxisFault - Throws:
org.apache.axis2.AxisFault
-
getRequiredParamInt
public static int getRequiredParamInt(org.apache.axis2.description.ParameterInclude paramInclude, String paramName) throws org.apache.axis2.AxisFault - Throws:
org.apache.axis2.AxisFault
-