getLocalHost() returns an InetAddress object that represents the address of the local host.
getInetAddress() returns an InetAddress object of the specified address.
getInetAddress("127.0.0.1")
getInetAddress("pnuts.org")
isLocalHost() checks if the specified address is one of the addresses of the local host.
isLocalHost("127.0.0.1")
isLocalHost("pnuts.org")
encodeURL() converts a plain text to x-www-form-urlencoded text.
encoding is one of Java's encoding name. When encoding is omitted, the default encoding is used.
encodeURL("How are you?", "UTF-8") ==> "How+are+you%3F"
decodeURL() converts x-www-form-urlencoded text to plain text.
encoding is one of Java's encoding name. When encoding is omitted, the default encoding is used.
decodeURL("How+are+you%3F", "UTF-8") ==> "How are you?"
makeQueryString() returns a query string in x-www-form-urlencoded format, from the specified map which defines parameter-value pairs .