Answer the question
In order to leave comments, you need to log in
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 questionAsk a Question
731 491 924 answers to any question