Java in a Nutshell, 5th Edition [Electronic resources]

نسخه متنی -صفحه : 1191/ 995
نمايش فراداده

Callbackjavax.security.auth.callback

Java 1.4

This interface defines no methods but serves as a "marker interface" to identify the type of objects that can be passed to the handle( ) method of a CallbackHandler. All of the classes in this package, with the exception of UnsupportedCallbackException implement this interface.

public interface

Callback { }

Implementations

ChoiceCallback, ConfirmationCallback, LanguageCallback, NameCallback, PasswordCallback, TextInputCallback, TextOutputCallback

Passed To

CallbackHandler.handle( ), UnsupportedCallbackException.UnsupportedCallbackException( )

Returned By

UnsupportedCallbackException.getCallback( )