Get a single parameter of the parsed URI

@param name parameter name
@return the value of the parameter or <code>null</code>
if no such parameter is stored
502113
public String getParameter(String name) {
        String[] values = parameters.get(name);
        if (values == null) {
            return null;
        }

        if (values.length == 0) {
            return "";
        }
        return values[0];
    }
104588
public <T> T get(String name){
        Map<String,Object> m = getMap(name);
        if(m!=null)
            return (T)m.get(name);
        return null;
    }
352459
public Object get(String name){
        return RequestContext.getHttpRequest().getSession(true).getAttribute(name);
    }
108472
public String getParameter(String name, String defaultValue) {
        parseBody();
        return params.getValue(name, defaultValue);
    }
1174333
@Nullable
  public String getFirstParamValue (@Nullable final String sName)
  {
    return sName == null ? null : findFirstMapped (aParam -> aParam.hasName (sName), URLParameter::getValue);
  }
524027
public String getParameter(String name) {

        String[] p = getParameterMap().get(name);
        if (p != null) {
            return p[0];
        }

        return null;
    }
42136
public String getParameterValue(String name) throws RepositoryConfigurationException
   {
      String value = getParameterValue(name, null);
      if (value == null)
         throw new RepositoryConfigurationException("Parameter " + name + " not found ");
      return value;
   }
1249226
public String getParameterValue(String name) {
        NodeList parms = node.getChildNodes();

        for (int i = 0; i < parms.getLength(); i++) {
            Element parm = (Element) parms.item(i);
            if (parm.getTagName().equals(Constants.ELM_PARAMETER)) {
                String parmName = parm.getAttribute(Constants.ATT_NAME);
                if (parmName.equals(name)) {
                    return parm.getAttribute(Constants.ATT_VALUE);
                }
            }
        }
        // if we get here then neither the fragment  nor the channel definition
        // provided this parameter
        return null;
    }
1234106
public Optional<String> getValueAsString(final String name)
    {
        return Optional.ofNullable((String) representation.getValue(name, null));
    }
85397
public String getHeaderValue(String name) {
        if (headers == null) {
            return null;
        }
        return headers.get(name);
    }
1214223
public URI getUri(final String name, final String defaultValue) {
    try {
      return getUri(name, new URI(defaultValue));
    } catch (final URISyntaxException e) {
      throw new IllegalArgumentException(e.getMessage());
    }
  }
898252
public String value(String name) {
        final HttpHeader header = getHeader(name);
        return header == null ? null : header.value();
    }
556446
public String getHeaderValue( String name )
    {
        for ( Header header : headers ) {
            if ( header.getName().equals( name ) ) {
                return header.getValue();
            }
        }
        return null;
    }
32695
public String findParameterAliasByName(String name) {
		if (parameterName2Alias.containsKey(name)) {
			return parameterName2Alias.get(name);
		}

		return name;
	}
875983
public Map<String, String> getUrlParams(URI uri) throws URIException {
		Map<String, String> map = new HashMap<>();
		for (NameValuePair parameter : getUrlParamParser(uri.toString()).parseParameters(uri.getEscapedQuery())) {
			String value = parameter.getValue();
			if (value == null) {
				value = "";
			}
			map.put(parameter.getName(), value);
		}
		return map;
	}
833963
public String getParameter(String name) {
    return parameters.get(name.toLowerCase(Locale.US));
  }
959187
public URL getResource(String name)
  {
    Path path;

    path = getPath(name);

    if (path != null && path.exists()) {
      try {
        return path.getNetURL();
      } catch (Exception e) {
        log.log(Level.FINER, e.toString(), e);
      }
    }

    return null;
  }