code: private <T> Option<T> getOption(String parameter) {
          try {
              Field field = UndertowOptions.class.getDeclaredField(parameter);
              if (Option.class.getName().equals(field.getType().getTypeName())) {
                  Object value = field.get(null);
                  return (Option<T>) value;
              }
          } catch (Exception e) {
              log.debug("getting Option type for parameter {} failed with {}", parameter, e);
          }
          return null;
      }
docs: Returns Options for given parameter if present else null