本文整理了Java中org.eclipse.jetty.util.MultiMap.getValue()
方法的一些代码示例,展示了MultiMap.getValue()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。MultiMap.getValue()
方法的具体详情如下:
包路径:org.eclipse.jetty.util.MultiMap
类名称:MultiMap
方法名:getValue
[英]Get a value from a multiple value. If the value is not a multivalue, then index 0 retrieves the value or null.
[中]
代码示例来源:origin: org.eclipse.jetty/jetty-util
/**
* @see javax.servlet.http.Part#getHeader(java.lang.String)
*/
@Override
public String getHeader(String name)
{
if (name == null)
return null;
return _headers.getValue(name.toLowerCase(Locale.ENGLISH), 0);
}
代码示例来源:origin: org.eclipse.jetty/jetty-util
/**
* Get the named Part.
*
* @param name the part name
* @return the parts
* @throws IOException if unable to get the part
*/
public Part getPart(String name)
throws IOException
{
if(!_parsed)
parse();
throwIfError();
return _parts.getValue(name, 0);
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-webapp
/**
* @see javax.servlet.http.Part#getHeader(java.lang.String)
*/
public String getHeader(String name)
{
if (name == null)
return null;
return (String)_headers.getValue(name.toLowerCase(Locale.ENGLISH), 0);
}
代码示例来源:origin: Nextdoor/bender
/**
* @see javax.servlet.http.Part#getHeader(java.lang.String)
*/
public String getHeader(String name)
{
if (name == null)
return null;
return (String)_headers.getValue(name.toLowerCase(Locale.ENGLISH), 0);
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-server
/**
* @see javax.servlet.http.Part#getHeader(java.lang.String)
*/
public String getHeader(String name)
{
if (name == null)
return null;
return (String)_headers.getValue(name.toLowerCase(Locale.ENGLISH), 0);
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
/**
* @see javax.servlet.http.Part#getHeader(java.lang.String)
*/
public String getHeader(String name)
{
if (name == null)
return null;
return (String)_headers.getValue(name.toLowerCase(Locale.ENGLISH), 0);
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-plus
/**
* @see javax.servlet.http.Part#getHeader(java.lang.String)
*/
public String getHeader(String name)
{
if (name == null)
return null;
return (String)_headers.getValue(name.toLowerCase(Locale.ENGLISH), 0);
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-all-server
/**
* @see javax.servlet.http.Part#getHeader(java.lang.String)
*/
public String getHeader(String name)
{
if (name == null)
return null;
return (String)_headers.getValue(name.toLowerCase(Locale.ENGLISH), 0);
}
代码示例来源:origin: jenkinsci/winstone
/**
* @see javax.servlet.http.Part#getHeader(java.lang.String)
*/
@Override
public String getHeader(String name)
{
if (name == null)
return null;
return _headers.getValue(name.toLowerCase(Locale.ENGLISH), 0);
}
代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9
/**
* @see javax.servlet.http.Part#getHeader(java.lang.String)
*/
public String getHeader(String name)
{
if (name == null)
return null;
return (String)_headers.getValue(name.toLowerCase(Locale.ENGLISH), 0);
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
@Override
public String getParameter(String name)
{
if (!_paramsExtracted)
extractParameters();
return _parameters.getValue(name,0);
}
代码示例来源:origin: jenkinsci/winstone
@Override
public String getParameter(String name)
{
return getParameters().getValue(name,0);
}
代码示例来源:origin: org.eclipse.jetty/jetty-http
@Override
public String getHeader(String name)
{
if (name == null)
return null;
return _headers.getValue(StringUtil.asciiToLowerCase(name), 0);
}
代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9
@Override
public String getParameter(String name)
{
if (!_paramsExtracted)
extractParameters();
return _parameters.getValue(name,0);
}
代码示例来源:origin: org.eclipse.jetty/server
public String getParameter(String name)
{
if (!_paramsExtracted)
extractParameters();
return (String)_parameters.getValue(name,0);
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-all-server
public String getParameter(String name)
{
if (!_paramsExtracted)
extractParameters();
return (String)_parameters.getValue(name,0);
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-webapp
public String getParameter(String name)
{
if (!_paramsExtracted)
extractParameters();
return (String)_parameters.getValue(name,0);
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-plus
public String getParameter(String name)
{
if (!_paramsExtracted)
extractParameters();
return (String)_parameters.getValue(name,0);
}
代码示例来源:origin: Nextdoor/bender
@Override
public String getParameter(String name)
{
if (!_paramsExtracted)
extractParameters();
if (_parameters == null)
_parameters = restoreParameters();
return _parameters.getValue(name,0);
}
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.jetty.server
@Override
public String getParameter(String name)
{
if (!_paramsExtracted)
extractParameters();
if (_parameters == null)
restoreParameters();
return _parameters.getValue(name,0);
}
内容来源于网络,如有侵权,请联系作者删除!