code: public Integer getIntegerParameter(String name) throws GuacamoleException {
  
          // Pull requested parameter
          String value = getParameter(name);
          if (value == null)
              return null;
  
          // Attempt to parse as an integer
          try {
              return Integer.parseInt(value);
          }
  
          // Rethrow any parsing error as a GuacamoleClientException
          catch (NumberFormatException e) {
              throw new GuacamoleClientException("Parameter \"" + name + "\" must be a valid integer.", e);
          }
  
      }
docs: Returns the integer value of the parameter having the given name,
  throwing an exception if the parameter cannot be parsed.
  
  @param name
  The name of the parameter to return.
  
  @return
  The integer value of the parameter having the given name, or null if
  the parameter is missing.
  
  @throws GuacamoleException
  If the parameter is not a valid integer.