类 com.sun.mail.iap.Response
的使用

使用 Response 的软件包
com.sun.mail.iap   
com.sun.mail.imap An IMAP protocol provider for the JavaMail API that provides access to an IMAP message store. 
com.sun.mail.imap.protocol   
 

com.sun.mail.iapResponse 的使用
 

声明为 Responsecom.sun.mail.iap 中的字段
protected  Response ProtocolException.response
           
 

返回 Responsecom.sun.mail.iap 中的方法
static Response Response.byeResponse(Exception ex)
          Return a Response object that looks like a BYE protocol response.
 Response[] Protocol.command(String command, Argument args)
          Send a command to the server.
 Response ProtocolException.getResponse()
          Return the offending Response object.
 Response Protocol.readResponse()
           
 

参数类型为 Responsecom.sun.mail.iap 中的方法
 void ResponseHandler.handleResponse(Response r)
           
 void Protocol.handleResult(Response response)
          Convenience routine to handle OK, NO, BAD and BYE responses.
 void Protocol.notifyResponseHandlers(Response[] responses)
          Notify response handlers
protected  void Protocol.processGreeting(Response r)
           
 

参数类型为 Responsecom.sun.mail.iap 中的构造方法
BadCommandException(Response r)
          Constructs an BadCommandException with the specified Response.
CommandFailedException(Response r)
          Constructs an CommandFailedException with the specified Response.
ConnectionException(Protocol p, Response r)
          Constructs an ConnectionException with the specified Response.
LiteralException(Response r)
          Constructs a LiteralException with the specified Response object.
ParsingException(Response r)
          Constructs an ParsingException with the specified Response.
ProtocolException(Response r)
          Constructs a ProtocolException with the specified Response object.
Response(Response r)
          Copy constructor.
 

com.sun.mail.imapResponse 的使用
 

参数类型为 Responsecom.sun.mail.imap 中的方法
 void IMAPStore.handleResponse(Response r)
          Response handler method.
 void IMAPFolder.handleResponse(Response r)
          The response handler.
 

com.sun.mail.imap.protocolResponse 的使用
 

com.sun.mail.imap.protocolResponse 的子类
 class FetchResponse
          This class represents a response obtained from the input stream of an IMAP server.
 class IMAPResponse
          This class represents a response obtained from the input stream of an IMAP server.
 

返回 Responsecom.sun.mail.imap.protocol 中的方法
 Response[] IMAPProtocol.fetch(int start, int end, String what)
           
 Response[] IMAPProtocol.fetch(int msg, String what)
           
 Response[] IMAPProtocol.fetch(MessageSet[] msgsets, String what)
           
 Response IMAPProtocol.readIdleResponse()
          While an IDLE command is in progress, read a response sent from the server.
 Response IMAPProtocol.readResponse()
          Read a response from the server.
 

参数类型为 Responsecom.sun.mail.imap.protocol 中的方法
static Item FetchResponse.getItem(Response[] r, int msgno, Class c)
           
protected  void IMAPProtocol.parseCapabilities(Response r)
          Parse the capabilities from a CAPABILITY response or from a CAPABILITY response code attached to (e.g.) an OK response.
protected  void IMAPProtocol.processGreeting(Response r)
          Check the greeting when first connecting; look for PREAUTH response.
 boolean IMAPProtocol.processIdleResponse(Response r)
          Process a response returned by readIdleResponse().
protected  void IMAPProtocol.setCapabilities(Response r)
          If the response contains a CAPABILITY response code, extract it and save the capabilities.
 

参数类型为 Responsecom.sun.mail.imap.protocol 中的构造方法
MailboxInfo(Response[] r)
           
Namespaces.Namespace(Response r)
          Parse a namespace element out of the response.
Namespaces(Response r)
          Parse out all the namespaces.
Status(Response r)
           
 



Copyright © 2013. All Rights Reserved.