mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-20 20:59:07 +00:00
Javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@301 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
+3
-3
@@ -294,21 +294,21 @@ public class FormTag extends AbstractHtmlElementTag {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the name of the request param for non-browser supported HTTP methods
|
||||
* Set the name of the request param for non-browser supported HTTP methods.
|
||||
*/
|
||||
public void setMethodParam(String methodParam) {
|
||||
this.methodParam = methodParam;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the name of the request param for non-browser supported HTTP methods
|
||||
* Get the name of the request param for non-browser supported HTTP methods.
|
||||
*/
|
||||
protected String getMethodParameter() {
|
||||
return this.methodParam;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine if the HTTP method is browser supported
|
||||
* Determine if the HTTP method is supported by browsers (i.e. GET or POST).
|
||||
*/
|
||||
protected boolean isMethodBrowserSupported(String method) {
|
||||
return ("get".equalsIgnoreCase(method) || "post".equalsIgnoreCase(method));
|
||||
|
||||
Reference in New Issue
Block a user