Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
设置用于基本 HTTP 验证的用户 ID 和口令,如 RFC 2617 中所述。
void StreamHTTPParms.setHTTPUserIdAndPassword( String userid, String password )
userid 要使用的用户 ID。
password 要使用的口令。
使用基本 HTTP 验证时,口令以明文形式包含在 HTTP 标头中;但可以使用 HTTPS 加密标头并保护该口令。