james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rouaz...@apache.org
Subject [03/10] james-project git commit: MAILBOX-270: getmetadata command, definition new response encode.
Date Wed, 31 Aug 2016 08:06:52 GMT
MAILBOX-270: getmetadata command, definition new response encode.


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/0794e4c7
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/0794e4c7
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/0794e4c7

Branch: refs/heads/master
Commit: 0794e4c73f0b6ea074af2b61c129a2cb6ff5cc2c
Parents: e66a92e
Author: Quynh Nguyen <qnguyen@linagora.com>
Authored: Tue Jul 5 13:52:05 2016 +0700
Committer: Quynh Nguyen <qnguyen@linagora.com>
Committed: Tue Aug 30 09:21:30 2016 +0700

----------------------------------------------------------------------
 .../apache/james/imap/encode/main/DefaultImapEncoderFactory.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/0794e4c7/protocols/imap/src/main/java/org/apache/james/imap/encode/main/DefaultImapEncoderFactory.java
----------------------------------------------------------------------
diff --git a/protocols/imap/src/main/java/org/apache/james/imap/encode/main/DefaultImapEncoderFactory.java
b/protocols/imap/src/main/java/org/apache/james/imap/encode/main/DefaultImapEncoderFactory.java
index f2e2376..c70f268 100644
--- a/protocols/imap/src/main/java/org/apache/james/imap/encode/main/DefaultImapEncoderFactory.java
+++ b/protocols/imap/src/main/java/org/apache/james/imap/encode/main/DefaultImapEncoderFactory.java
@@ -21,6 +21,7 @@ package org.apache.james.imap.encode.main;
 
 import org.apache.james.imap.api.display.Localizer;
 import org.apache.james.imap.encode.ACLResponseEncoder;
+import org.apache.james.imap.encode.AnnotationResponseEncoder;
 import org.apache.james.imap.encode.AuthenticateResponseEncoder;
 import org.apache.james.imap.encode.CapabilityResponseEncoder;
 import org.apache.james.imap.encode.ContinuationResponseEncoder;
@@ -65,7 +66,8 @@ public class DefaultImapEncoderFactory implements ImapEncoderFactory {
     public static final ImapEncoder createDefaultEncoder(Localizer localizer, boolean neverAddBodyStructureExtensions)
{
         final EndImapEncoder endImapEncoder = new EndImapEncoder();
         
-        final MyRightsResponseEncoder myRightsResponseEncoder = new MyRightsResponseEncoder(endImapEncoder);

+        final AnnotationResponseEncoder annotationResponseEncoder = new AnnotationResponseEncoder(endImapEncoder);
+        final MyRightsResponseEncoder myRightsResponseEncoder = new MyRightsResponseEncoder(annotationResponseEncoder);

         final ListRightsResponseEncoder listRightsResponseEncoder = new ListRightsResponseEncoder(myRightsResponseEncoder);

         final ACLResponseEncoder aclResponseEncoder = new ACLResponseEncoder(listRightsResponseEncoder);

         final NamespaceResponseEncoder namespaceEncoder = new NamespaceResponseEncoder(aclResponseEncoder);


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message