encodes a string to be a valid query , which means it can contain pchar | '' ? '' | '' / '' without '' = '' | '' & '' | '' + '' . uses utf-8 . concode_field_sep BitSet GEN_DELIMS concode_elem_sep BitSet DIGIT concode_elem_sep BitSet RESERVED concode_elem_sep BitSet QUERY concode_elem_sep BitSet ALPHA concode_elem_sep BitSet UP_ALPHA concode_elem_sep BitSet UNRESERVED concode_elem_sep BitSet SUB_DELIMS concode_elem_sep BitSet PATH_SEGMENT concode_elem_sep BitSet PCHAR concode_elem_sep BitSet FRAGMENT concode_elem_sep BitSet ALPHANUM concode_elem_sep BitSet PATH_PARAM_NAME concode_elem_sep BitSet LOW_ALPHA concode_elem_sep BitSet PATH_PARAM_VALUE concode_field_sep String encodePathParamName concode_elem_sep String encodePathSegment concode_elem_sep String encodePathParamValue concode_elem_sep String encodeQueryNameOrValueNoParen concode_elem_sep String encodePart
String function ( final String arg0 ) { try { return encodePart ( arg0 , "srini_string" , QUERY ) ; } catch ( final UnsupportedEncodingException loc0 ) { throw new RuntimeException ( loc0 ) ; } }