V
V
Vitaly the Wise2017-06-01 18:05:28
Java
Vitaly the Wise, 2017-06-01 18:05:28

How to count the parameters that will be passed through POST JAVA?

Here is a sample code:
public HttpRequest(InputStream input) {
this.request = convertInputStreamToString(input);
this.uri = parseUri(request);
this.parameterMap = parseParameterMap(request);
}
The method parseParameterMap (private Map parseParameterMap(String request)) should parse the parameters that are passed via POST. What needs to be parsed to count them. Thanks

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question