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.ImapSession
ImapSession.logout()
public void authenticated()
authenticated
in interface org.apache.james.imap.api.process.ImapSession
ImapSession.authenticated()
public void deselect()
deselect
in interface org.apache.james.imap.api.process.ImapSession
ImapSession.deselect()
public void selected(org.apache.james.imap.api.process.SelectedMailbox mailbox)
selected
in interface org.apache.james.imap.api.process.ImapSession
ImapSession.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.ImapSession
ImapSession.getSelected()
public org.apache.james.imap.api.ImapSessionState getState()
getState
in interface org.apache.james.imap.api.process.ImapSession
ImapSession.getState()
public Object getAttribute(String key)
getAttribute
in interface org.apache.james.imap.api.process.ImapSession
ImapSession.getAttribute(java.lang.String)
public void setAttribute(String key, Object value)
setAttribute
in interface org.apache.james.imap.api.process.ImapSession
ImapSession.setAttribute(java.lang.String, java.lang.Object)
public boolean startTLS()
startTLS
in interface org.apache.james.imap.api.process.ImapSession
ImapSession.startTLS()
public boolean supportStartTLS()
supportStartTLS
in interface org.apache.james.imap.api.process.ImapSession
ImapSession.supportStartTLS()
public boolean isCompressionSupported()
isCompressionSupported
in interface org.apache.james.imap.api.process.ImapSession
ImapSession.isCompressionSupported()
public boolean startCompression()
startCompression
in interface org.apache.james.imap.api.process.ImapSession
ImapSession.startCompression()
public void pushLineHandler(org.apache.james.imap.api.process.ImapLineHandler lineHandler)
pushLineHandler
in interface org.apache.james.imap.api.process.ImapSession
ImapSession.pushLineHandler(org.apache.james.imap.api.process.ImapLineHandler)
public void popLineHandler()
popLineHandler
in interface org.apache.james.imap.api.process.ImapSession
ImapSession.popLineHandler()
public org.slf4j.Logger getLog()
getLog
in interface org.apache.james.imap.api.process.ImapSession
ImapSession.getLog()
public boolean isPlainAuthDisallowed()
isPlainAuthDisallowed
in interface org.apache.james.imap.api.process.ImapSession
ImapSession.isPlainAuthDisallowed()
public boolean isTLSActive()
isTLSActive
in interface org.apache.james.imap.api.process.ImapSession
ImapSession.isTLSActive()
public boolean supportMultipleNamespaces()
supportMultipleNamespaces
in interface org.apache.james.imap.api.process.ImapSession
ImapSession.supportMultipleNamespaces()
public boolean isCompressionActive()
isCompressionActive
in interface org.apache.james.imap.api.process.ImapSession
ImapSession.isCompressionActive()
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.