public class WelcomeMessageHandler extends Object implements ConnectHandler<SMTPSession>
Constructor and Description |
---|
WelcomeMessageHandler() |
Modifier and Type | Method and Description |
---|---|
protected String |
getServiceType(SMTPSession session) |
Response |
onConnect(SMTPSession session)
Handle connection and disconnect if true is returned
|
public Response onConnect(SMTPSession session)
ConnectHandler
onConnect
in interface ConnectHandler<SMTPSession>
ConnectHandler.onConnect(org.apache.james.protocols.api.ProtocolSession)
protected String getServiceType(SMTPSession session)
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.