/** * Set the raw-escaped user and password. * * @param escapedUser the escaped user * @param escapedPassword the escaped password; could be null * @throws URIException escaped user not valid or user required; escaped * password not valid or username missed * @throws NullPointerException null user */ public void setEscapedUserinfo(String escapedUser, String escapedPassword) throws URIException, NullPointerException { setRawUserinfo(escapedUser.toCharArray(), (escapedPassword == null) ? null : escapedPassword.toCharArray()); }
/** * Set the user and password. * * @param user the user * @param password the password; could be null * @throws URIException encoding error or username missed * @throws NullPointerException null user */ public void setUserinfo(String user, String password) throws URIException, NullPointerException { // set the charset to do escape encoding String charset = getProtocolCharset(); setRawUserinfo(encode(user, within_userinfo, charset), (password == null) ? null : encode(password, within_userinfo, charset)); }
/** * Set the raw-escaped user and password. * * @param escapedUser the escaped user * @param escapedPassword the escaped password; could be null * @throws URIException escaped user not valid or user required; escaped * password not valid or username missed * @throws NullPointerException null user */ public void setEscapedUserinfo(String escapedUser, String escapedPassword) throws URIException, NullPointerException { setRawUserinfo(escapedUser.toCharArray(), (escapedPassword == null) ? null : escapedPassword.toCharArray()); }
/** * Set the raw-escaped user and password. * * @param escapedUser the escaped user * @param escapedPassword the escaped password; could be null * @throws URIException escaped user not valid or user required; escaped * password not valid or username missed * @throws NullPointerException null user */ public void setEscapedUserinfo(String escapedUser, String escapedPassword) throws URIException, NullPointerException { setRawUserinfo(escapedUser.toCharArray(), (escapedPassword == null) ? null : escapedPassword.toCharArray()); }
/** * Set the raw-escaped user and password. * * @param escapedUser the escaped user * @param escapedPassword the escaped password; could be null * @throws URIException escaped user not valid or user required; escaped * password not valid or username missed * @throws NullPointerException null user */ public void setEscapedUserinfo(String escapedUser, String escapedPassword) throws URIException, NullPointerException { setRawUserinfo(escapedUser.toCharArray(), (escapedPassword == null) ? null : escapedPassword.toCharArray()); }
/** * Set the raw-escaped user and password. * * @param escapedUser the escaped user * @param escapedPassword the escaped password; could be null * @throws URIException escaped user not valid or user required; escaped * password not valid or username missed * @throws NullPointerException null user */ public void setEscapedUserinfo(String escapedUser, String escapedPassword) throws URIException, NullPointerException { setRawUserinfo(escapedUser.toCharArray(), (escapedPassword == null) ? null : escapedPassword.toCharArray()); }
/** * Set the user and password. * * @param user the user * @param password the password; could be null * @throws URIException encoding error or username missed * @throws NullPointerException null user */ public void setUserinfo(String user, String password) throws URIException, NullPointerException { // set the charset to do escape encoding String charset = getProtocolCharset(); setRawUserinfo(encode(user, within_userinfo, charset), (password == null) ? null : encode(password, within_userinfo, charset)); }
/** * Set the user and password. * * @param user the user * @param password the password; could be null * @throws URIException encoding error or username missed * @throws NullPointerException null user */ public void setUserinfo(String user, String password) throws URIException, NullPointerException { // set the charset to do escape encoding String charset = getProtocolCharset(); setRawUserinfo(encode(user, within_userinfo, charset), (password == null) ? null : encode(password, within_userinfo, charset)); }
/** * Set the user and password. * * @param user the user * @param password the password; could be null * @throws URIException encoding error or username missed * @throws NullPointerException null user */ public void setUserinfo(String user, String password) throws URIException, NullPointerException { // set the charset to do escape encoding String charset = getProtocolCharset(); setRawUserinfo(encode(user, within_userinfo, charset), (password == null) ? null : encode(password, within_userinfo, charset)); }
/** * Set the user and password. * * @param user the user * @param password the password; could be null * @throws URIException encoding error or username missed * @throws NullPointerException null user */ public void setUserinfo(String user, String password) throws URIException, NullPointerException { // set the charset to do escape encoding String charset = getProtocolCharset(); setRawUserinfo(encode(user, within_userinfo, charset), (password == null) ? null : encode(password, within_userinfo, charset)); }