Package com.hw.serpapi
Class ParameterStringBuilder
java.lang.Object
com.hw.serpapi.ParameterStringBuilder
Encode parameter hash into a string to be sent over HTTP
- Author:
- HamaWhite
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getParamsString
(Map<String, String> params) getParamsString
-
Constructor Details
-
ParameterStringBuilder
public ParameterStringBuilder()
-
-
Method Details
-
getParamsString
getParamsString- Parameters:
params
- search parameters- Returns:
- concatenated parameters
- Throws:
UnsupportedEncodingException
- when none UTF-8 character is part of the parameter
-