Code example for HttpAuthHandler

Methods: proceed

	public void onReceivedHttpAuthRequest(WebView view,
			HttpAuthHandler handler, String host, String realm)
		if (this.username != null && this.password != null) {
			handler.proceed(this.username, this.password);
	public void setBasicAuthentication(String username, String password)
		this.username = username;
		this.password = password;
	public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error)
		 * in theory this should be checked to make sure it's not null but if there is some failure