Liking cljdoc? Tell your friends :D

javax.security.auth.callback.TextInputCallback

Underlying security services instantiate and pass a TextInputCallback to the handle method of a CallbackHandler to retrieve generic text information.

 Underlying security services instantiate and pass a
TextInputCallback to the handle
method of a CallbackHandler to retrieve generic text
information.
raw docstring

->text-input-callbackclj

(->text-input-callback prompt)
(->text-input-callback prompt default-text)

Constructor.

Construct a TextInputCallback with a prompt and default input value.

prompt - the prompt used to request the information. - java.lang.String default-text - the text to be used as the default text displayed with the prompt. - java.lang.String

throws: java.lang.IllegalArgumentException - if prompt is null, if prompt has a length of 0, if defaultText is null or if defaultText has a length of 0.

Constructor.

Construct a TextInputCallback with a prompt
 and default input value.

prompt - the prompt used to request the information. - `java.lang.String`
default-text - the text to be used as the default text displayed with the prompt. - `java.lang.String`

throws: java.lang.IllegalArgumentException - if prompt is null, if prompt has a length of 0, if defaultText is null or if defaultText has a length of 0.
raw docstring

get-default-textclj

(get-default-text this)

Get the default text.

returns: the default text, or null if this TextInputCallback was not instantiated with defaultText. - java.lang.String

Get the default text.

returns: the default text, or null if this TextInputCallback
          was not instantiated with defaultText. - `java.lang.String`
raw docstring

get-promptclj

(get-prompt this)

Get the prompt.

returns: the prompt. - java.lang.String

Get the prompt.

returns: the prompt. - `java.lang.String`
raw docstring

get-textclj

(get-text this)

Get the retrieved text.

returns: the retrieved text, which may be null. - java.lang.String

Get the retrieved text.

returns: the retrieved text, which may be null. - `java.lang.String`
raw docstring

set-textclj

(set-text this text)

Set the retrieved text.

text - the retrieved text, which may be null. - java.lang.String

Set the retrieved text.

text - the retrieved text, which may be null. - `java.lang.String`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close