public class StlsCmdHandler extends Object implements CommandHandler<POP3Session>, CapaCapability
Constructor and Description |
---|
StlsCmdHandler() |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getImplCommands()
Return a Collection of implemented commands
|
Set<String> |
getImplementedCapabilities(POP3Session session)
Return a List of responses which should get returned when a client issue
the CAPA command
|
Response |
onCommand(POP3Session session,
Request request)
Handle the command
|
public Response onCommand(POP3Session session, Request request)
CommandHandler
onCommand
in interface CommandHandler<POP3Session>
CommandHandler.onCommand(org.apache.james.protocols.api.ProtocolSession, Request)
public Set<String> getImplementedCapabilities(POP3Session session)
CapaCapability
getImplementedCapabilities
in interface CapaCapability
org.apache.james.pop3server.core.CapaCapability#getImplementedCapabilities(org.apache.james.pop3server.POP3Session)
public Collection<String> getImplCommands()
CommandHandler
getImplCommands
in interface CommandHandler<POP3Session>
CommandHandler.getImplCommands()
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.