Code example for HttpParams

Methods: getParameter

    public static String getCredentialCharset(final HttpParams params) {
        if (params == null) {
            throw new IllegalArgumentException("HTTP parameters may not be null");
        String charset = (String) params.getParameter
        //@@@ TODO: inconsistent with JavaDoc in AuthPNames, 
        //@@@ TODO: check HTTP_ELEMENT_CHARSET first, or fix JavaDocs 
        if (charset == null) {
            charset = HTTP.DEFAULT_PROTOCOL_CHARSET;
        return charset;
     * Sets the charset to be used when encoding 
     * {@link org.apache.http.auth.Credentials}. 
Stop searching for code, let great code find you!  Add Codota to your java IDE