private boolean isPchar(int c) {
    return isUnreserved(c) || isSubDelimiter(c) || c == ':' || c == '@';
  }
Percent Encode the provided byte.

@param data to encode
@param bos with the output stream to use.
core/src/main/java/feign/template/UriUtils.java