String function ( String arg0 , String arg1 ) { HierarchicalUriComponents . Type loc0 = HierarchicalUriComponents . Type . URI ; return HierarchicalUriComponents . encodeUriComponent ( arg0 , arg1 , loc0 ) ; }
encode characters outside the unreserved character set as defined in rfc 3986 section 2 . this can be used to ensure the given string will not contain any characters with reserved uri meaning regardless of uri component . 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 encodeHost concode_elem_sep String encodeFragment concode_elem_sep String encodeUserInfo 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