Modifier and Type | Method and Description |
---|---|
static RequestDataValueProcessor |
create()
Creates an instance of
CsrfRequestDataValueProcessor that
implements RequestDataValueProcessor . |
Map<String,String> |
getExtraHiddenFields(javax.servlet.http.HttpServletRequest request) |
String |
processAction(javax.servlet.http.HttpServletRequest request,
String action) |
String |
processAction(javax.servlet.http.HttpServletRequest request,
String action,
String method) |
String |
processFormFieldValue(javax.servlet.http.HttpServletRequest request,
String name,
String value,
String type) |
String |
processUrl(javax.servlet.http.HttpServletRequest request,
String url) |
public String processAction(javax.servlet.http.HttpServletRequest request, String action)
public String processAction(javax.servlet.http.HttpServletRequest request, String action, String method)
public String processFormFieldValue(javax.servlet.http.HttpServletRequest request, String name, String value, String type)
public Map<String,String> getExtraHiddenFields(javax.servlet.http.HttpServletRequest request)
public static RequestDataValueProcessor create()
CsrfRequestDataValueProcessor
that
implements RequestDataValueProcessor
. This is necessary to ensure
compatibility between Spring 3 and Spring 4.CsrfRequestDataValueProcessor
that
implements RequestDataValueProcessor