UrlEscaper

Methods

Name Type Description
$urlEscaper.escapeFormParameter(input) String

Escapes the given string for inclusion in URL form parameters.

Uses a Guava URL escaper for form parameters: UrlEscapers.html#urlFormParameterEscaper()

Parameter Type Description
input String
$urlEscaper.escapeFragment(input) String

Escapes the given string for use in an URL fragment.

Uses a Guava URL escaper for URL fragments: UrlEscapers.html#urlFragmentEscaper()

Parameter Type Description
input String
$urlEscaper.escapePathSegment(input) String

Escapes the given string for use as a URL path segment.

Uses a Guava URL escaper for path segments: UrlEscapers.html#urlPathSegmentEscaper()

Parameter Type Description
input String

Cookie Notice

We use cookies to create a secure and effective browsing experience for our website visitors and to understand how you use our site (i.e. Google Analytics). For more information:
Click Here

OK Don't track me.