Package org.apache.tapestry5.internal.services

# Class URLEncoderImpl

java.lang.Object
org.apache.tapestry5.internal.services.URLEncoderImpl

All Implemented Interfaces:
  `URLEncoder`

public class URLEncoderImpl extends Object implements URLEncoder

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `URLEncoderImpl()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `decode(String input)`
  Given a previously encoded string, returns the original input.
  `String`
  `encode(String input)`
  Given an input value containing any characters, returns the input string, or an encoded version of the string (as outlined above).

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### URLEncoderImpl

    public URLEncoderImpl()

- ## Method Details

  - ### encode

    public String encode(String input)
    Description copied from interface: `URLEncoder`
    Given an input value containing any characters, returns the input string, or an encoded version of the string (as outlined above).
    Specified by:
      `encode` in interface `URLEncoder`
    Parameters:
      `input` - string to be encoded, which may be null
    Returns:
      encoded version of input

  - ### decode

    public String decode(String input)
    Description copied from interface: `URLEncoder`
    Given a previously encoded string, returns the original input.
    Specified by:
      `decode` in interface `URLEncoder`
    Parameters:
      `input` - encoded string (may not be null)
    Returns:
      decoded input