Package com.sun.mail.imap.protocol
Class ID
- java.lang.Object
-
- com.sun.mail.imap.protocol.ID
-
public class ID extends java.lang.Object
This class represents the response to the ID command.See RFC 2971.
- Since:
- JavaMail 1.5.1
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,java.lang.String>
serverParams
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static Argument
getArgumentList(java.util.Map<java.lang.String,java.lang.String> clientParams)
Convert the client parameters into an argument list for the ID command.(package private) java.util.Map<java.lang.String,java.lang.String>
getServerParams()
Return the parsed server params.
-
-
-
Constructor Detail
-
ID
public ID(Response r) throws ProtocolException
Parse the server parameter list out of the response.- Parameters:
r
- the response- Throws:
ProtocolException
- for protocol failures
-
-
Method Detail
-
getServerParams
java.util.Map<java.lang.String,java.lang.String> getServerParams()
Return the parsed server params.
-
getArgumentList
static Argument getArgumentList(java.util.Map<java.lang.String,java.lang.String> clientParams)
Convert the client parameters into an argument list for the ID command.
-
-