docs: public static <T> T fromRequestBodyOrQueryParameter(
  			T requestValue,
  			SupplierWithException<T, RestHandlerException> queryParameterExtractor,
  			T defaultValue,
  			Logger log) throws RestHandlerException {
  		if (requestValue != null) {
  			return requestValue;
  		} else {
  			T queryParameterValue = queryParameterExtractor.get();
  			if (queryParameterValue != null) {
  				log.warn("Configuring the job submission via query parameters is deprecated." +
  					" Please migrate to submitting a JSON request instead.");
  				return queryParameterValue;
  			} else {
  				return defaultValue;
  			}
  		}
  	}