org.neociclo.odetteftp.security
Class MappedCallbackHandler
java.lang.Object
org.neociclo.odetteftp.security.MappedCallbackHandler
- All Implemented Interfaces:
- CallbackHandler
public class MappedCallbackHandler
- extends Object
- implements CallbackHandler
Map backed implementation of the CallbackHandler - handlers are matched by the callback types.
- Version:
- $Rev: 592 $ $Date: 2010-08-13 12:25:45 -0300 (Fri, 13 Aug 2010) $
- Author:
- Rafael Marins
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MappedCallbackHandler
public MappedCallbackHandler()
handle
public void handle(Callback[] callbacks)
throws IOException,
UnsupportedCallbackException
- Specified by:
handle
in interface CallbackHandler
- Throws:
IOException
UnsupportedCallbackException
addHandler
public <T extends Callback> void addHandler(Class<T> type,
OneToOneHandler<T> handler)
removeHandler
public <T extends Callback> void removeHandler(Class<Callback> type)
containsHandler
public boolean containsHandler(Class<? extends Callback> type)
ACCORD