Code example for BasicNameValuePair

0
     *            Key. 
     * @param value 
     *            Value. 
     */ 
    public void appendCustomQueryParameterToAllRequests(String key, String value) {
        mCustomQueryParams.add(new BasicNameValuePair(key, value));
    } 
 
    /** 
     * Clear out all custom query parameters that may have been set. 
     */ 
    public void clearCustomQueryParameters() { 
        mCustomQueryParams.clear();
    } 
 
    /** 
     * Get a list of all custom query parameters that have been set. This may return null or an empty List if none have been set. The list returned is not 
     * modifiable. Attempts to modify the returned list, whether direct or via its iterator, result in an UnsupportedOperationException. 
     *  
     * @return Unmodifiable list of custom query parameters. 
     */