public class RealmCallback extends TextInputCallback
SaslClient和
SaslServer使用此回调来检索领域信息。
| Constructor and Description |
|---|
RealmCallback(String prompt)
构造一个
RealmCallback提示。
|
RealmCallback(String prompt, String defaultRealmInfo)
构造一个
RealmCallback带提示和默认领域信息。
|
public RealmCallback(String prompt)
RealmCallback提示符。
prompt - 用于请求领域信息的非空提示。
IllegalArgumentException - 如果
prompt为空或空字符串。
public RealmCallback(String prompt, String defaultRealmInfo)
RealmCallback带提示和默认领域信息。
prompt - 用于请求领域信息的非空提示。
defaultRealmInfo - 要使用的非空默认领域信息。
IllegalArgumentException - If
prompt is null or the empty string, or if
defaultRealm is empty or null.
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.