Class FormCharSetFinder
java.lang.Object
org.apache.jmeter.protocol.http.proxy.FormCharSetFinder
A parser for html, to find the form tags, and their accept-charset value
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
FormCharSetFinder
public FormCharSetFinder()
-
-
Method Details
-
addFormActionsAndCharSet
public void addFormActionsAndCharSet(String html, Map<? super String, ? super String> formEncodings, String pageEncoding) throws HTMLParseExceptionAdd form action urls and their corresponding encodings for all forms on the page- Parameters:
html
- the html to parse for form encodingsformEncodings
- the Map where form encodings should be addedpageEncoding
- the encoding used for the whole page- Throws:
HTMLParseException
- when parsing thehtml
fails
-