Returns the configured request parameter for the query string, or the default parameter if no core is configured.
@return The configured request parameter for the query string, or the default parameter if no core is configured.
172381
protected String getQueryParam() {

        String param = parseOptionalStringValue(m_configObject, JSON_KEY_QUERYPARAM);
        if (param == null) {
            return null != m_baseConfig ? m_baseConfig.getGeneralConfig().getQueryParam() : DEFAULT_QUERY_PARAM;
        } else {
            return param;
        }
    }
751982
public String queryParam(String name) {
		List<String> values = queryParams.get(name);
		return (values == null) ? null : values.get(0);
	}
1195389
public static RequestParams getRequestParams(String queryString) {
        if (null == queryString)
            return null;

        QueryStringParser parser = new QueryStringParser(queryString);
        RequestParams result = new RequestParams();
        while (parser.next()) {
            result.put(parser.getName(), parser.getValue());
        }
        return result;
    }
769018
public Object getConfigParameter(final ConfigurationKeys configParameter)
	{
		if (this.parameterMap.containsKey(configParameter)) {
			return this.parameterMap.get(configParameter);
		}

		return null;
	}
704151
public static String getParam(HttpServletRequest req, String strParam, String strDefault)
    {
        String strParams[] = null;
        if (req == null)
            return null;
        strParams = req.getParameterValues(strParam);              // Menu page
        if (DBParams.URL.equals(strParam))
        {
            strParams = new String[1];
            strParams[0] = req.getRequestURL().toString();        // Special param (url).
        }
        if (DBParams.CODEBASE.equals(strParam))
        {
            strParams = new String[1];
            strParams[0] = req.getRequestURL().toString();        // Special param (url).
            if (strParams[0].endsWith(Constants.DEFAULT_SERVLET))
            	strParams[0] = strParams[0].substring(0, strParams[0].length() - Constants.DEFAULT_SERVLET.length());
            if (!strParams[0].endsWith("/"))
            	strParams[0] = strParams[0] + "/";	// Codebase should always end with this
        }
        if (DBParams.DOMAIN.equals(strParam))
        {
            strParams = new String[1];
            strParams[0] = req.getRequestURL().toString();        // Special param (url).
            return Utility.getDomainFromURL(strParams[0], null);
        }
        if (strParams == null)
            if (DBParams.DATATYPE.equals(strParam))
        {
            strParams = new String[1];
            strParams[0] = req.getRequestURL().toString();        // Special param (url).
            if ((strParams[0] != null)
                && (strParams[0].lastIndexOf('/') != -1))
            {
                strParams[0] = strParams[0].substring(strParams[0].lastIndexOf('/') + 1);
                if (strParams[0].indexOf('.') != -1)
                    strParams[0] = strParams[0].substring(0, strParams[0].indexOf('.'));
                if ((!DBParams.TABLE_PARAM.equalsIgnoreCase(strParams[0]))
                    && (!DBParams.WEBSTART_PARAM.equalsIgnoreCase(strParams[0]))
                    && (!DBParams.WEBSTART_APPLET_PARAM.equalsIgnoreCase(strParams[0]))
                    && (!DBParams.WSDL_PARAM.equalsIgnoreCase(strParams[0]))
                    && (!DBParams.IMAGE_PATH.equalsIgnoreCase(strParams[0])))
                        strParams = null;   // Must be one of these                 
            }
            else
                strParams = null;
        }

        if (strParams == null)
            return strDefault;
        if (strParams.length == 0)
            return Constants.BLANK;
        if (strParams[0] == null)
            return Constants.BLANK;
        return strParams[0];
    }
432929
@Override
    public <T> T getParameterValue(Parameter<T> arg0)
    {

        return query.getParameterValue(arg0);
    }
251605
private SitePreference getSitePreferenceQueryParameter(HttpServletRequest request) {
		String string = request.getParameter(SITE_PREFERENCE_PARAMETER);
		try {
			return string != null && string.length() > 0 ? SitePreference.valueOf(string.toUpperCase()) : null;
		} catch (IllegalArgumentException e) {
			return null;
		}
	}
700896
public String getParam(String paramName) {
		if (requestParameters == null) {
			return null;
		}
		String[] values = requestParameters.get(paramName);
		if (ArrayUtil.isNotEmpty(values)) {
			return values[0];
		}
		return null;
	}
132194
public Long getOffset() {
    String offsetFromRequest =
        uriInfo.getQueryParameters().getFirst(OffsetParameter.getDefaultOffsetFieldName());

    return offsetFromRequest != null ? new OffsetParameter(offsetFromRequest).getValue()
        : OffsetParameter.getDefaultOffset();
  }
777464
def get_query_param(request, key):
    """"""
    value = request.query_params.get(key) or request.data.get(key)
    if value is None:
        raise KeyError()
    return value
225482
@Override
    public Map<String, Object> getQueryParameters() {
        HashMap<String, Object> params = new HashMap<String, Object>();
        return params;
    }
612111
private String getLastQueryParam() {

        final String param = parseOptionalStringValue(XML_ELEMENT_LAST_QUERYPARAM);
        if (param == null) {
            return DEFAULT_LAST_QUERY_PARAM;
        } else {
            return param;
        }
    }
267744
public Integer getLimit() {
    String limitFromRequest =
        uriInfo.getQueryParameters().getFirst(LimitParameter.getDefaultLimitFieldName());

    return limitFromRequest != null ? new LimitParameter(limitFromRequest).getValue()
        : LimitParameter.getDefaultLimit();
  }
1333087
public String getQueryParameter(String name) {
    Iterable<String> allParams = getQueryParameters(name);
    if (allParams == null) {
      return null;
    }
    Iterator<String> iterator = allParams.iterator();
    return iterator.hasNext() ? iterator.next() : null;
  }
1315365
public String getParameter( String name )
    {
        if (_parameters == null || !_parameters.hasParameters())
            return null;

        List parameters = _parameters.getParameterValues(name);
        if(parameters != null && parameters.size() > 0)
            return (String)parameters.get(0);
        else return null;
    }
1318007
public Integer getAmountOfParameters() {
        Integer size = 0;

        if (this.sqlParameterNames != null) {
            size = this.sqlParameterNames.size();
        }
        return size;
    }
848531
public Collection<String> getRequestVariables() {
    final Collection<String> variables = new LinkedHashSet<>(this.uriTemplate.getVariables());
    this.queries.values().forEach(queryTemplate -> variables.addAll(queryTemplate.getVariables()));
    this.headers.values()
        .forEach(headerTemplate -> variables.addAll(headerTemplate.getVariables()));
    return variables;
  }