*/
void parsePostData(HashMapImpl<String,String[]> table, InputStream is,
String javaEncoding)
throws IOException
{
ByteToChar converter = _converter;
try {
converter.setEncoding(javaEncoding);
} catch (UnsupportedEncodingException e) {
log.log(Level.FINE, e.toString(), e);
}
int ch = is.read();
while (ch >= 0) {
for (; Character.isWhitespace((char) ch) || ch == '&'; ch = is.read()) {
}
converter.clear();
for (;
ch >= 0 && ch != '=' && ch != '&' &&
! Character.isWhitespace((char) ch);
ch = is.read()) {
readChar(converter, is, ch);
}
String key = converter.getConvertedString();
for (; Character.isWhitespace((char) ch); ch = is.read()) {
}
converter.clear();
if (ch == '=') {
ch = is.read();
for (; Character.isWhitespace((char) ch); ch = is.read()) {
}
}
for (; ch >= 0 && ch != '&'; ch = is.read())
readChar(converter, is, ch);
String value = converter.getConvertedString();
/* Could show passwords
if (log.isLoggable(Level.FINE))
log.fine("post: " + key + "=" + value);
*/