public class NettyImapSession extends Object implements org.apache.james.imap.api.process.ImapSession, NettyConstants
attributes, CHUNK_WRITE_HANDLER, CONNECTION_COUNT_HANDLER, CONNECTION_LIMIT_HANDLER, CONNECTION_LIMIT_PER_IP_HANDLER, CORE_HANDLER, EXECUTION_HANDLER, FRAMER, GROUP_HANDLER, HEARTBEAT_HANDLER, REQUEST_DECODER, SSL_HANDLER, TIMEOUT_HANDLER, ZLIB_DECODER, ZLIB_ENCODER| Constructor and Description |
|---|
NettyImapSession(org.jboss.netty.channel.Channel channel,
org.slf4j.Logger log,
SSLContext sslContext,
String[] enabledCipherSuites,
boolean compress,
boolean plainAuthDisallowed) |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticated() |
void |
deselect() |
Object |
getAttribute(String key) |
org.jboss.netty.channel.Channel |
getChannel()
Return the wrapped
Channel which this ImapSession is
bound to |
org.slf4j.Logger |
getLog() |
org.apache.james.imap.api.process.SelectedMailbox |
getSelected() |
org.apache.james.imap.api.ImapSessionState |
getState() |
boolean |
isCompressionActive() |
boolean |
isCompressionSupported() |
boolean |
isPlainAuthDisallowed() |
boolean |
isTLSActive() |
void |
logout() |
void |
popLineHandler() |
void |
pushLineHandler(org.apache.james.imap.api.process.ImapLineHandler lineHandler) |
void |
selected(org.apache.james.imap.api.process.SelectedMailbox mailbox) |
void |
setAttribute(String key,
Object value) |
boolean |
startCompression() |
boolean |
startTLS() |
boolean |
supportMultipleNamespaces() |
boolean |
supportStartTLS() |
public NettyImapSession(org.jboss.netty.channel.Channel channel,
org.slf4j.Logger log,
SSLContext sslContext,
String[] enabledCipherSuites,
boolean compress,
boolean plainAuthDisallowed)
public org.jboss.netty.channel.Channel getChannel()
Channel which this ImapSession is
bound topublic void logout()
logout in interface org.apache.james.imap.api.process.ImapSessionImapSession.logout()public void authenticated()
authenticated in interface org.apache.james.imap.api.process.ImapSessionImapSession.authenticated()public void deselect()
deselect in interface org.apache.james.imap.api.process.ImapSessionImapSession.deselect()public void selected(org.apache.james.imap.api.process.SelectedMailbox mailbox)
selected in interface org.apache.james.imap.api.process.ImapSessionImapSession.selected(org.apache.james.imap.api.process.SelectedMailbox)public org.apache.james.imap.api.process.SelectedMailbox getSelected()
getSelected in interface org.apache.james.imap.api.process.ImapSessionImapSession.getSelected()public org.apache.james.imap.api.ImapSessionState getState()
getState in interface org.apache.james.imap.api.process.ImapSessionImapSession.getState()public Object getAttribute(String key)
getAttribute in interface org.apache.james.imap.api.process.ImapSessionImapSession.getAttribute(java.lang.String)public void setAttribute(String key, Object value)
setAttribute in interface org.apache.james.imap.api.process.ImapSessionImapSession.setAttribute(java.lang.String, java.lang.Object)public boolean startTLS()
startTLS in interface org.apache.james.imap.api.process.ImapSessionImapSession.startTLS()public boolean supportStartTLS()
supportStartTLS in interface org.apache.james.imap.api.process.ImapSessionImapSession.supportStartTLS()public boolean isCompressionSupported()
isCompressionSupported in interface org.apache.james.imap.api.process.ImapSessionImapSession.isCompressionSupported()public boolean startCompression()
startCompression in interface org.apache.james.imap.api.process.ImapSessionImapSession.startCompression()public void pushLineHandler(org.apache.james.imap.api.process.ImapLineHandler lineHandler)
pushLineHandler in interface org.apache.james.imap.api.process.ImapSessionImapSession.pushLineHandler(org.apache.james.imap.api.process.ImapLineHandler)public void popLineHandler()
popLineHandler in interface org.apache.james.imap.api.process.ImapSessionImapSession.popLineHandler()public org.slf4j.Logger getLog()
getLog in interface org.apache.james.imap.api.process.ImapSessionImapSession.getLog()public boolean isPlainAuthDisallowed()
isPlainAuthDisallowed in interface org.apache.james.imap.api.process.ImapSessionImapSession.isPlainAuthDisallowed()public boolean isTLSActive()
isTLSActive in interface org.apache.james.imap.api.process.ImapSessionImapSession.isTLSActive()public boolean supportMultipleNamespaces()
supportMultipleNamespaces in interface org.apache.james.imap.api.process.ImapSessionImapSession.supportMultipleNamespaces()public boolean isCompressionActive()
isCompressionActive in interface org.apache.james.imap.api.process.ImapSessionImapSession.isCompressionActive()Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.