public final class URLCoder extends Object
This class helps with URL encoding and decoding. UTF-8 encoding is used by default to make
encoding consistent across the driver, and encoding might be changed via postgresql.url.encoding property
Note: this should not be used outside of PostgreSQL source, this is not a public API of the driver.
| Constructor and Description |
|---|
URLCoder() |
public static String decode(String encoded)
x-www-form-urlencoded string into Java string.encoded - encoded valueURLDecoder.decode(String, String)public static String encode(String plain)
x-www-form-urlencoded formatplain - input valueURLEncoder.encode(String, String)Copyright © 2018 PostgreSQL Global Development Group. All rights reserved.