Class HandlerUtils


  • public class HandlerUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      HandlerUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int parseParamToInt​(java.lang.String value, java.lang.String paramName)
      Convert string into int.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HandlerUtils

        public HandlerUtils()
    • Method Detail

      • parseParamToInt

        public static int parseParamToInt​(java.lang.String value,
                                          java.lang.String paramName)
                                   throws HandlerRequestMalformedException
        Convert string into int.
        Parameters:
        value - The string value to convert.
        paramName - The name of the string parameter.
        Returns:
        The int value of the string.
        Throws:
        HandlerRequestMalformedException