public interface PermitEnableCapabilityProcessor extends CapabilityImplementingProcessor
CapabilityImplementingProcessor
which allows to ENABLE one ore more CapabilitiesModifier and Type | Interface and Description |
---|---|
static class |
PermitEnableCapabilityProcessor.EnableException
Exception which should get thrown if for whatever reason its not possible to enable a capability
|
ImapProcessor.Responder
Modifier and Type | Method and Description |
---|---|
void |
enable(ImapMessage message,
ImapProcessor.Responder responder,
ImapSession session,
String capability)
Callback which is used when a ENABLED command was used to enable on of the CAPABILITIES which is managed by this implementation
|
List<String> |
getPermitEnableCapabilities(ImapSession session)
Return the capabilities which supports to get ENABLED.
|
getImplementedCapabilities
process
List<String> getPermitEnableCapabilities(ImapSession session)
CapabilityImplementingProcessor.getImplementedCapabilities(ImapSession)
session
- void enable(ImapMessage message, ImapProcessor.Responder responder, ImapSession session, String capability) throws PermitEnableCapabilityProcessor.EnableException
message
- responder
- session
- capability
- PermitEnableCapabilityProcessor.EnableException
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.