String function ( String arg0 , String arg1 ) { return HierarchicalUriComponents . encodeUriComponent ( arg0 , arg1 , HierarchicalUriComponents . Type . USER_INFO ) ; }
encodes the given uri user info with the given encoding . concode_field_sep String LAST_PATTERN concode_elem_sep String QUERY_PATTERN concode_elem_sep Pattern URI_PATTERN concode_elem_sep String HTTP_PATTERN concode_elem_sep String USERINFO_PATTERN concode_elem_sep String PORT_PATTERN concode_elem_sep Pattern HTTP_URL_PATTERN concode_elem_sep String SCHEME_PATTERN concode_elem_sep String PATH_PATTERN concode_elem_sep String HOST_PATTERN concode_field_sep String encode concode_elem_sep String encodeHost concode_elem_sep String encodeFragment concode_elem_sep String encodeQueryParam concode_elem_sep String encodePort concode_elem_sep String encodeScheme concode_elem_sep String encodeQuery concode_elem_sep String encodeAuthority concode_elem_sep String encodePath concode_elem_sep String encodePathSegment concode_elem_sep String decode