Lines Matching defs:charset
61 * Obtains the charset for encoding
67 * @return The charset
75 String charset = (String) params.getParameter
79 if (charset == null) {
80 charset = HTTP.DEFAULT_PROTOCOL_CHARSET;
82 return charset;
87 * Sets the charset to be used when encoding
90 * @param charset The charset
92 public static void setCredentialCharset(final HttpParams params, final String charset) {
96 params.setParameter(AuthPNames.CREDENTIAL_CHARSET, charset);