Java Doc for SMTPReply.java in  » Net » Apache-commons-net-1.4.1 » org » apache » commons » net » smtp » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Net » Apache commons net 1.4.1 » org.apache.commons.net.smtp 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.commons.net.smtp.SMTPReply

SMTPReply
final public class SMTPReply (Code)
SMTPReply stores a set of constants for SMTP reply codes. To interpret the meaning of the codes, familiarity with RFC 821 is assumed. The mnemonic constant names are transcriptions from the code descriptions of RFC 821. For those who think in terms of the actual reply code values, a set of CODE_NUM constants are provided where NUM is the numerical value of the code.


author:
   Daniel F. Savarese



Field Summary
final public static  intACTION_ABORTED
    
final public static  intACTION_NOT_TAKEN
    
final public static  intACTION_OK
    
final public static  intBAD_COMMAND_SEQUENCE
    
final public static  intCODE_211
    
final public static  intCODE_214
    
final public static  intCODE_215
    
final public static  intCODE_220
    
final public static  intCODE_221
    
final public static  intCODE_250
    
final public static  intCODE_251
    
final public static  intCODE_354
    
final public static  intCODE_421
    
final public static  intCODE_450
    
final public static  intCODE_451
    
final public static  intCODE_452
    
final public static  intCODE_500
    
final public static  intCODE_501
    
final public static  intCODE_502
    
final public static  intCODE_503
    
final public static  intCODE_504
    
final public static  intCODE_550
    
final public static  intCODE_551
    
final public static  intCODE_552
    
final public static  intCODE_553
    
final public static  intCODE_554
    
final public static  intCOMMAND_NOT_IMPLEMENTED
    
final public static  intCOMMAND_NOT_IMPLEMENTED_FOR_PARAMETER
    
final public static  intHELP_MESSAGE
    
final public static  intINSUFFICIENT_STORAGE
    
final public static  intMAILBOX_NAME_NOT_ALLOWED
    
final public static  intMAILBOX_UNAVAILABLE
    
final public static  intSERVICE_CLOSING_TRANSMISSION_CHANNEL
    
final public static  intSERVICE_NOT_AVAILABLE
    
final public static  intSERVICE_READY
    
final public static  intSTART_MAIL_INPUT
    
final public static  intSTORAGE_ALLOCATION_EXCEEDED
    
final public static  intSYNTAX_ERROR_IN_ARGUMENTS
    
final public static  intSYSTEM_STATUS
    
final public static  intTRANSACTION_FAILED
    
final public static  intUNRECOGNIZED_COMMAND
    
final public static  intUSER_NOT_LOCAL
    
final public static  intUSER_NOT_LOCAL_WILL_FORWARD
    


Method Summary
public static  booleanisNegativePermanent(int reply)
     Determine if a reply code is a negative permanent response.
public static  booleanisNegativeTransient(int reply)
     Determine if a reply code is a negative transient response.
public static  booleanisPositiveCompletion(int reply)
     Determine if a reply code is a positive completion response.
public static  booleanisPositiveIntermediate(int reply)
     Determine if a reply code is a positive intermediate response.
public static  booleanisPositivePreliminary(int reply)
     Determine if a reply code is a positive preliminary response.

Field Detail
ACTION_ABORTED
final public static int ACTION_ABORTED(Code)



ACTION_NOT_TAKEN
final public static int ACTION_NOT_TAKEN(Code)



ACTION_OK
final public static int ACTION_OK(Code)



BAD_COMMAND_SEQUENCE
final public static int BAD_COMMAND_SEQUENCE(Code)



CODE_211
final public static int CODE_211(Code)



CODE_214
final public static int CODE_214(Code)



CODE_215
final public static int CODE_215(Code)



CODE_220
final public static int CODE_220(Code)



CODE_221
final public static int CODE_221(Code)



CODE_250
final public static int CODE_250(Code)



CODE_251
final public static int CODE_251(Code)



CODE_354
final public static int CODE_354(Code)



CODE_421
final public static int CODE_421(Code)



CODE_450
final public static int CODE_450(Code)



CODE_451
final public static int CODE_451(Code)



CODE_452
final public static int CODE_452(Code)



CODE_500
final public static int CODE_500(Code)



CODE_501
final public static int CODE_501(Code)



CODE_502
final public static int CODE_502(Code)



CODE_503
final public static int CODE_503(Code)



CODE_504
final public static int CODE_504(Code)



CODE_550
final public static int CODE_550(Code)



CODE_551
final public static int CODE_551(Code)



CODE_552
final public static int CODE_552(Code)



CODE_553
final public static int CODE_553(Code)



CODE_554
final public static int CODE_554(Code)



COMMAND_NOT_IMPLEMENTED
final public static int COMMAND_NOT_IMPLEMENTED(Code)



COMMAND_NOT_IMPLEMENTED_FOR_PARAMETER
final public static int COMMAND_NOT_IMPLEMENTED_FOR_PARAMETER(Code)



HELP_MESSAGE
final public static int HELP_MESSAGE(Code)



INSUFFICIENT_STORAGE
final public static int INSUFFICIENT_STORAGE(Code)



MAILBOX_NAME_NOT_ALLOWED
final public static int MAILBOX_NAME_NOT_ALLOWED(Code)



MAILBOX_UNAVAILABLE
final public static int MAILBOX_UNAVAILABLE(Code)



SERVICE_CLOSING_TRANSMISSION_CHANNEL
final public static int SERVICE_CLOSING_TRANSMISSION_CHANNEL(Code)



SERVICE_NOT_AVAILABLE
final public static int SERVICE_NOT_AVAILABLE(Code)



SERVICE_READY
final public static int SERVICE_READY(Code)



START_MAIL_INPUT
final public static int START_MAIL_INPUT(Code)



STORAGE_ALLOCATION_EXCEEDED
final public static int STORAGE_ALLOCATION_EXCEEDED(Code)



SYNTAX_ERROR_IN_ARGUMENTS
final public static int SYNTAX_ERROR_IN_ARGUMENTS(Code)



SYSTEM_STATUS
final public static int SYSTEM_STATUS(Code)



TRANSACTION_FAILED
final public static int TRANSACTION_FAILED(Code)



UNRECOGNIZED_COMMAND
final public static int UNRECOGNIZED_COMMAND(Code)



USER_NOT_LOCAL
final public static int USER_NOT_LOCAL(Code)



USER_NOT_LOCAL_WILL_FORWARD
final public static int USER_NOT_LOCAL_WILL_FORWARD(Code)





Method Detail
isNegativePermanent
public static boolean isNegativePermanent(int reply)(Code)
Determine if a reply code is a negative permanent response. All codes beginning with a 5 are negative permanent responses. The SMTP server will send a negative permanent response on the failure of a command that cannot be reattempted with success.


Parameters:
  reply - The reply code to test. True if a reply code is a negative permanent response, falseif not.




isNegativeTransient
public static boolean isNegativeTransient(int reply)(Code)
Determine if a reply code is a negative transient response. All codes beginning with a 4 are negative transient responses. The SMTP server will send a negative transient response on the failure of a command that can be reattempted with success.


Parameters:
  reply - The reply code to test. True if a reply code is a negative transient response, falseif not.




isPositiveCompletion
public static boolean isPositiveCompletion(int reply)(Code)
Determine if a reply code is a positive completion response. All codes beginning with a 2 are positive completion responses. The SMTP server will send a positive completion response on the final successful completion of a command.


Parameters:
  reply - The reply code to test. True if a reply code is a postive completion response, falseif not.




isPositiveIntermediate
public static boolean isPositiveIntermediate(int reply)(Code)
Determine if a reply code is a positive intermediate response. All codes beginning with a 3 are positive intermediate responses. The SMTP server will send a positive intermediate response on the successful completion of one part of a multi-part sequence of commands. For example, after a successful DATA command, a positive intermediate response will be sent to indicate that the server is ready to receive the message data.


Parameters:
  reply - The reply code to test. True if a reply code is a postive intermediate response, falseif not.




isPositivePreliminary
public static boolean isPositivePreliminary(int reply)(Code)
Determine if a reply code is a positive preliminary response. All codes beginning with a 1 are positive preliminary responses. Postitive preliminary responses are used to indicate tentative success. No further commands can be issued to the SMTP server after a positive preliminary response until a follow up response is received from the server.

Note: No SMTP commands defined in RFC 822 provide this type of reply.


Parameters:
  reply - The reply code to test. True if a reply code is a postive preliminary response, falseif not.




Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.