/**
  * Encodes the given {@link RestParameter} as a path parameter. The default implementation
  * delegates to {@link UrlUtils#encodePathSegment(String)}.
  *
  * @param value the value to encode.
  * @return the encoded path parameter.
  * @throws ActionException if an exception occurred while encoding the path parameter.
  * @see #encode(com.gwtplatform.dispatch.rest.shared.RestParameter)
  */
 protected String encodePathParam(String value) throws ActionException {
   return urlUtils.encodePathSegment(value);
 }