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(ParameterInclude paramInclude, String paramName) static booleangetOptionalParamBoolean(ParameterInclude paramInclude, String paramName, boolean defaultValue) static IntegergetOptionalParamInt(ParameterInclude paramInclude, String paramName) static intgetOptionalParamInt(ParameterInclude paramInclude, String paramName, int defaultValue) static StringgetRequiredParam(ParameterInclude paramInclude, String paramName) static intgetRequiredParamInt(ParameterInclude paramInclude, String paramName)
-
Method Details
-
getRequiredParam
public static String getRequiredParam(ParameterInclude paramInclude, String paramName) throws AxisFault - Throws:
AxisFault
-
getOptionalParam
public static String getOptionalParam(ParameterInclude paramInclude, String paramName) throws AxisFault - Throws:
AxisFault
-
getOptionalParamInt
public static Integer getOptionalParamInt(ParameterInclude paramInclude, String paramName) throws AxisFault - Throws:
AxisFault
-
getOptionalParamInt
public static int getOptionalParamInt(ParameterInclude paramInclude, String paramName, int defaultValue) throws AxisFault - Throws:
AxisFault
-
getOptionalParamBoolean
public static boolean getOptionalParamBoolean(ParameterInclude paramInclude, String paramName, boolean defaultValue) throws AxisFault - Throws:
AxisFault
-
getRequiredParamInt
public static int getRequiredParamInt(ParameterInclude paramInclude, String paramName) throws AxisFault - Throws:
AxisFault
-