Code example for UrlEncodedFormEntity

0
     * Converts the list to an URL encoded form entity 
     * @return An entity 
     * @throws UnsupportedEncodingException if the encoding is not supported 
     */ 
    public UrlEncodedFormEntity toEntity() throws UnsupportedEncodingException {
        return new UrlEncodedFormEntity(this);
    } 
}