-
public final class AuthChallengeResponseResponse to an AuthChallenge.
-
-
Constructor Summary
Constructors Constructor Description AuthChallengeResponse(String response, String username, String password)
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final Stringcomponent2()final Stringcomponent3()final AuthChallengeResponsecopy(String response, String username, String password)final StringgetResponse()The decision on what to do in response to the authorization challenge. final StringgetUsername()The username to provide, possibly empty. final StringgetPassword()The password to provide, possibly empty. -
-
Method Detail
-
component1
final String component1()
-
component2
final String component2()
-
component3
final String component3()
-
copy
final AuthChallengeResponse copy(String response, String username, String password)
-
getResponse
final String getResponse()
The decision on what to do in response to the authorization challenge. Default means deferring to the default behavior of the net stack, which will likely either the Cancel authentication or display a popup dialog box.
-
getUsername
final String getUsername()
The username to provide, possibly empty. Should only be set if response is ProvideCredentials.
-
getPassword
final String getPassword()
The password to provide, possibly empty. Should only be set if response is ProvideCredentials.
-
-
-
-