本文整理了Java中org.eclipse.jetty.server.Request.extractQueryParameters
方法的一些代码示例,展示了Request.extractQueryParameters
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Request.extractQueryParameters
方法的具体详情如下:
包路径:org.eclipse.jetty.server.Request
类名称:Request
方法名:extractQueryParameters
暂无
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.jetty.server
public void extractParameters()
{
if (_paramsExtracted)
return;
_paramsExtracted = true;
// Extract query string parameters; these may be replaced by a forward()
// and may have already been extracted by mergeQueryParameters().
if (_queryParameters == null)
extractQueryParameters();
// Extract content parameters; these cannot be replaced by a forward()
// once extracted and may have already been extracted by getParts() or
// by a processing happening after a form-based authentication.
if (_contentParameters == null)
extractContentParameters();
restoreParameters();
}
代码示例来源:origin: Nextdoor/bender
public void extractParameters()
{
if (_paramsExtracted)
return;
_paramsExtracted = true;
// Extract query string parameters; these may be replaced by a forward()
// and may have already been extracted by mergeQueryParameters().
if (_queryParameters == null)
_queryParameters = extractQueryParameters();
// Extract content parameters; these cannot be replaced by a forward()
// once extracted and may have already been extracted by getParts() or
// by a processing happening after a form-based authentication.
if (_contentParameters == null)
_contentParameters = extractContentParameters();
_parameters = restoreParameters();
}
代码示例来源:origin: Nextdoor/bender
private MultiMap<String> restoreParameters()
{
MultiMap<String> result = new MultiMap<>();
if (_queryParameters == null)
_queryParameters = extractQueryParameters();
result.addAllValues(_queryParameters);
result.addAllValues(_contentParameters);
return result;
}
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.jetty.server
private void restoreParameters()
{
if (_queryParameters == null)
extractQueryParameters();
if (_queryParameters==NO_PARAMS || _queryParameters.size()==0)
_parameters=_contentParameters;
else if (_contentParameters==NO_PARAMS || _contentParameters.size()==0)
_parameters=_queryParameters;
else
{
_parameters = new MultiMap<>();
_parameters.addAllValues(_queryParameters);
_parameters.addAllValues(_contentParameters);
}
}
代码示例来源:origin: jenkinsci/winstone
extractQueryParameters();
内容来源于网络,如有侵权,请联系作者删除!