org.apache.james.imapserver
Class CommandFetch

java.lang.Object
  |
  +--org.apache.avalon.framework.logger.AbstractLoggable
        |
        +--org.apache.james.BaseConnectionHandler
              |
              +--org.apache.james.imapserver.BaseCommand
                    |
                    +--org.apache.james.imapserver.CommandFetch
All Implemented Interfaces:
org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.logger.Loggable

public class CommandFetch
extends BaseCommand

Implements the IMAP FETCH command for a given ImapRequest. References: rfc 2060, rfc 2193, rfc 2221

Version:
0.1 on 17 Jan 2001
Author:
Charles Benett

Fields inherited from class org.apache.james.BaseConnectionHandler
helloName, timeout
 
Constructor Summary
CommandFetch()
           
 
Method Summary
 void service()
          Implements IMAP fetch commands given an ImapRequest.
 void setRequest(ImapRequest request)
          Debugging method - will probably disappear
 
Methods inherited from class org.apache.james.imapserver.BaseCommand
decodeSet, decodeUIDSet
 
Methods inherited from class org.apache.james.BaseConnectionHandler
configure
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable
getLogger, setLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandFetch

public CommandFetch()
Method Detail

setRequest

public void setRequest(ImapRequest request)
Debugging method - will probably disappear

service

public void service()
Implements IMAP fetch commands given an ImapRequest. This implementation attempts to satisfy the fetch command with the smallest objects deserialized from storage.

Warning - maybecome service(ImapRequest request)

Not yet complete - no partial (octet-counted or sub-parts) fetches.



Copyright © 2001 Apache Jakarta Project. All Rights Reserved.