code: public RESTClient<RS, ERS> urlSegment(Object value) {
      if (value != null) {
        if (url.charAt(url.length() - 1) != '/') {
          url.append('/');
        }
        url.append(value.toString());
      }
      return this;
    }
docs: Append a url path segment. <p>
  For Example: <pre>
  .url("http://www.foo.com")
  .urlSegment("bar")
  </pre>
  This will result in a url of <code>http://www.foo.com/bar</code>
  
  @param value The url path segment. A null value will be ignored.
  @return This.