public final class Challenge
extends java.lang.Object
| 构造器和说明 |
|---|
Challenge(java.lang.String scheme,
java.lang.String realm) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在类中 java.lang.Objectpublic int hashCode()
hashCode 在类中 java.lang.Objectpublic java.lang.String toString()
toString 在类中 java.lang.ObjectCopyright © 2018. All Rights Reserved.