code: protected Map<String, String> getEndpointConfigurationParameters(Map<String, String> parameters,
                                                                       Class<? extends EndpointConfiguration> endpointConfigurationType) {
          Map<String, String> params = new HashMap<String, String>();
  
          for (Map.Entry<String, String> parameterEntry : parameters.entrySet()) {
              Field field = ReflectionUtils.findField(endpointConfigurationType, parameterEntry.getKey());
  
              if (field != null) {
                  params.put(parameterEntry.getKey(), parameterEntry.getValue());
              }
          }
  
          return params;
      }
docs: Removes non config parameters from list of endpoint parameters according to given endpoint configuration type. All
  parameters that do not reside to a endpoint configuration setting are removed so the result is a qualified list
  of endpoint configuration parameters.
  
  @param parameters
  @param endpointConfigurationType
  @return