Breadcrumbs

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: input

  • Type: 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: input

  • Type: 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: input

  • Type: String