作者:手机用户2502892647 | 来源:互联网 | 2023-09-24 17:26
本文整理了Java中com.gargoylesoftware.htmlunit.html.HtmlForm.getParameterListForSubmit()方法的
本文整理了Java中com.gargoylesoftware.htmlunit.html.HtmlForm.getParameterListForSubmit()
方法的一些代码示例,展示了HtmlForm.getParameterListForSubmit()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。HtmlForm.getParameterListForSubmit()
方法的具体详情如下:
包路径:com.gargoylesoftware.htmlunit.html.HtmlForm
类名称:HtmlForm
方法名:getParameterListForSubmit
[英]INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Returns a list of NameValuePairs that represent the data that will be sent to the server when this form is submitted. This is primarily intended to aid debugging.
[中]内部API-随时可能更改-使用风险自负。
返回NameValuePairs列表,该列表表示提交此表单时将发送到服务器的数据。这主要是为了帮助调试。
代码示例
代码示例来源:origin: net.sourceforge.htmlunit/htmlunit
/**
* Constructor.
* @param formObj a form
*/
@JsxConstructor
public FormData(final Object formObj) {
if (formObj instanceof HTMLFormElement) {
final HTMLFormElement form = (HTMLFormElement) formObj;
requestParameters_.addAll(form.getHtmlForm().getParameterListForSubmit(null));
}
}
代码示例来源:origin: HtmlUnit/htmlunit
/**
* Constructor.
* @param formObj a form
*/
@JsxConstructor
public FormData(final Object formObj) {
if (formObj instanceof HTMLFormElement) {
final HTMLFormElement form = (HTMLFormElement) formObj;
requestParameters_.addAll(form.getHtmlForm().getParameterListForSubmit(null));
}
}
代码示例来源:origin: net.disy.htmlunit/htmlunit
final List parameters = getParameterListForSubmit(submitElement);
final HttpMethod method;
final String methodAttribute = getMethodAttribute();
代码示例来源:origin: org.jvnet.hudson/htmlunit
final List parameters = getParameterListForSubmit(submitElement);
final HttpMethod method;
final String methodAttribute = getMethodAttribute();
代码示例来源:origin: org.jenkins-ci/htmlunit
final List parameters = getParameterListForSubmit(submitElement);
final HttpMethod method;
final String methodAttribute = getMethodAttribute();
代码示例来源:origin: HtmlUnit/htmlunit
final List parameters = getParameterListForSubmit(submitElement);
final HttpMethod method;
final String methodAttribute = getMethodAttribute();
代码示例来源:origin: net.sourceforge.htmlunit/htmlunit
final List parameters = getParameterListForSubmit(submitElement);
final HttpMethod method;
final String methodAttribute = getMethodAttribute();