本文整理了Java中org.simpleframework.http.Request.getParameter
方法的一些代码示例,展示了Request.getParameter
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Request.getParameter
方法的具体详情如下:
包路径:org.simpleframework.http.Request
类名称:Request
方法名:getParameter
[英]This is used to provide quick access to the parameters. This avoids having to acquire the request Form
object. This basically acquires the parameters object and invokes the getParameters
method with the given name.
[中]这用于提供对参数的快速访问。这避免了必须获取请求Form
对象。这基本上获取parameters对象,并用给定的名称调用getParameters
方法。
代码示例来源:origin: org.simpleframework/simple
/**
* This is used to provide quick access to the parameters. This
* avoids having to acquire the request <code>Form</code> object.
* This basically acquires the parameters object and invokes
* the <code>getParameters</code> method with the given name.
*
* @param name this is the name of the parameter value
*/
public String getParameter(String name) {
return request.getParameter(name);
}
代码示例来源:origin: org.simpleframework/simple-http
/**
* This is used to provide quick access to the parameters. This
* avoids having to acquire the request <code>Form</code> object.
* This basically acquires the parameters object and invokes
* the <code>getParameters</code> method with the given name.
*
* @param name this is the name of the parameter value
*/
public String getParameter(String name) {
return request.getParameter(name);
}
代码示例来源:origin: ngallagher/simpleframework
/**
* This is used to provide quick access to the parameters. This
* avoids having to acquire the request <code>Form</code> object.
* This basically acquires the parameters object and invokes
* the <code>getParameters</code> method with the given name.
*
* @param name this is the name of the parameter value
*/
public String getParameter(String name) {
return request.getParameter(name);
}
代码示例来源:origin: lantunes/fixd
public String getRequestParameter(String name) {
return request.getParameter(name);
}
代码示例来源:origin: opendedup/sdfs
byte[] rb = com.google.common.io.BaseEncoding.base64Url().decode(request.getParameter("data"));
byte[] rslt = new BatchGetBlocksCmd().getResult(rb);
long time = System.currentTimeMillis();
response.getByteChannel().close();
} else if (request.getTarget().startsWith(BATCH_BLOCK_PATH)) {
byte[] rb = com.google.common.io.BaseEncoding.base64Url().decode(request.getParameter("data"));
byte[] rslt = new BatchGetBlocksCmd().getResult(rb);
long time = System.currentTimeMillis();
response.getByteChannel().close();
} else if (request.getTarget().startsWith(BATCH_BLOCK_POINTER)) {
byte[] rb = com.google.common.io.BaseEncoding.base64Url().decode(request.getParameter("data"));
byte[] rslt = new BatchGetPointerCmd().getResult(rb);
long time = System.currentTimeMillis();
内容来源于网络,如有侵权,请联系作者删除!