java - How i can get encoded(which libriary can do this) "a &" to "a%20%26" without using String.replace() function? -


how can encoded(which java library can this)

a & a%20%26

without using string.replace() function?

url encoder -> a+%26

uriutil.encodepath -> a%20&

urlescapers.urlfragmentescaper().escape -> a%20&

org.apache.catalina.util.urlencoder answer


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -