本文整理了Java中org.eclipse.jetty.server.Request.extractParameters
方法的一些代码示例,展示了Request.extractParameters
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Request.extractParameters
方法的具体详情如下:
包路径:org.eclipse.jetty.server.Request
类名称:Request
方法名:extractParameters
[英]Extract Parameters from query string and/or form _content.
[中]从查询字符串和/或表单内容中提取参数。
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-all-server
public Enumeration getParameterNames()
{
if (!_paramsExtracted)
extractParameters();
return Collections.enumeration(_parameters.keySet());
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-all-server
public Map getParameterMap()
{
if (!_paramsExtracted)
extractParameters();
return Collections.unmodifiableMap(_parameters.toStringArrayMap());
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-webapp
public Map getParameterMap()
{
if (!_paramsExtracted)
extractParameters();
return Collections.unmodifiableMap(_parameters.toStringArrayMap());
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-server
public Map getParameterMap()
{
if (!_paramsExtracted)
extractParameters();
return Collections.unmodifiableMap(_parameters.toStringArrayMap());
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
@Override
public String getParameter(String name)
{
if (!_paramsExtracted)
extractParameters();
return _parameters.getValue(name,0);
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-plus
public Enumeration getParameterNames()
{
if (!_paramsExtracted)
extractParameters();
return Collections.enumeration(_parameters.keySet());
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-plus
public String[] getParameterValues(String name)
{
if (!_paramsExtracted)
extractParameters();
List<Object> vals = _parameters.getValues(name);
if (vals == null)
return null;
return vals.toArray(new String[vals.size()]);
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-webapp
public String[] getParameterValues(String name)
{
if (!_paramsExtracted)
extractParameters();
List<Object> vals = _parameters.getValues(name);
if (vals == null)
return null;
return vals.toArray(new String[vals.size()]);
}
代码示例来源: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-all-server
public String[] getParameterValues(String name)
{
if (!_paramsExtracted)
extractParameters();
List<Object> vals = _parameters.getValues(name);
if (vals == null)
return null;
return vals.toArray(new String[vals.size()]);
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
@Override
public String[] getParameterValues(String name)
{
if (!_paramsExtracted)
extractParameters();
List<String> vals = _parameters.getValues(name);
if (vals == null)
return null;
return vals.toArray(new String[vals.size()]);
}
代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9
@Override
public Map<String, String[]> getParameterMap()
{
if (!_paramsExtracted)
extractParameters();
return Collections.unmodifiableMap(_parameters.toStringArrayMap());
}
代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9
@Override
public Enumeration<String> getParameterNames()
{
if (!_paramsExtracted)
extractParameters();
return Collections.enumeration(_parameters.keySet());
}
代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9
@Override
public String[] getParameterValues(String name)
{
if (!_paramsExtracted)
extractParameters();
List<String> vals = _parameters.getValues(name);
if (vals == null)
return null;
return vals.toArray(new String[vals.size()]);
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-webapp
public Enumeration getParameterNames()
{
if (!_paramsExtracted)
extractParameters();
return Collections.enumeration(_parameters.keySet());
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-server
public Enumeration getParameterNames()
{
if (!_paramsExtracted)
extractParameters();
return Collections.enumeration(_parameters.keySet());
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
@Override
public Enumeration<String> getParameterNames()
{
if (!_paramsExtracted)
extractParameters();
return Collections.enumeration(_parameters.keySet());
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-plus
public Map getParameterMap()
{
if (!_paramsExtracted)
extractParameters();
return Collections.unmodifiableMap(_parameters.toStringArrayMap());
}
代码示例来源:origin: org.eclipse.jetty/server
public Enumeration getParameterNames()
{
if (!_paramsExtracted)
extractParameters();
return Collections.enumeration(_parameters.keySet());
}
代码示例来源:origin: Nextdoor/bender
@Override
public Enumeration<String> getParameterNames()
{
if (!_paramsExtracted)
extractParameters();
if (_parameters == null)
_parameters = restoreParameters();
return Collections.enumeration(_parameters.keySet());
}
内容来源于网络,如有侵权,请联系作者删除!