public final class Challenge
extends java.lang.Object
| Constructor and Description |
|---|
Challenge(java.lang.String scheme,
java.lang.String realm) |
| Modifier and Type | Method and Description |
|---|---|
java.nio.charset.Charset |
charset()
Returns the charset that should be used to encode the credential.
|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
java.lang.String |
realm()
Returns the protection space.
|
java.lang.String |
scheme()
Returns the authentication scheme, like
Basic. |
java.lang.String |
toString() |
Challenge |
withCharset(java.nio.charset.Charset charset)
Returns a copy of this charset that expects a credential encoded with
charset. |
public Challenge withCharset(java.nio.charset.Charset charset)
charset.public java.lang.String scheme()
Basic.public java.lang.String realm()
public java.nio.charset.Charset charset()
public boolean equals(@Nullable
java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2017. All Rights Reserved.