×

You're using an outdated browser

For a better experience, keep your browser up to date. Check here for the latest version.

Manual

UrlEscaper

Thomas Walker

Thomas Walker Last update: Aug 7, 2017

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

2xlatest
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