Underlying security services instantiate and pass a TextOutputCallback to the handle method of a CallbackHandler to display information messages, warning messages and error messages.
Underlying security services instantiate and pass a TextOutputCallback to the handle method of a CallbackHandler to display information messages, warning messages and error messages.
Static Constant.
Error message.
type: int
Static Constant. Error message. type: int
Static Constant.
Information message.
type: int
Static Constant. Information message. type: int
Static Constant.
Warning message.
type: int
Static Constant. Warning message. type: int
(->text-output-callback message-type message)
Constructor.
Construct a TextOutputCallback with a message type and message to be displayed.
message-type - the message type (INFORMATION, WARNING or ERROR). - int
message - the message to be displayed. - java.lang.String
throws: java.lang.IllegalArgumentException - if messageType is not either INFORMATION, WARNING or ERROR, if message is null, or if message has a length of 0.
Constructor. Construct a TextOutputCallback with a message type and message to be displayed. message-type - the message type (INFORMATION, WARNING or ERROR). - `int` message - the message to be displayed. - `java.lang.String` throws: java.lang.IllegalArgumentException - if messageType is not either INFORMATION, WARNING or ERROR, if message is null, or if message has a length of 0.
(get-message this)
Get the message to be displayed.
returns: the message to be displayed. - java.lang.String
Get the message to be displayed. returns: the message to be displayed. - `java.lang.String`
(get-message-type this)
Get the message type.
returns: the message type (INFORMATION,
WARNING or ERROR). - int
Get the message type. returns: the message type (INFORMATION, WARNING or ERROR). - `int`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close