Java Doc for HttpResponseStatus.java in  » Web-Server » asyncweb » org » safehaus » asyncweb » common » 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 » Web Server » asyncweb » org.safehaus.asyncweb.common 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.safehaus.asyncweb.common.HttpResponseStatus

HttpResponseStatus
public class HttpResponseStatus implements Serializable(Code)

Inner Class :public static enum Category

Field Summary
final public static  HttpResponseStatusACCEPTED
    
final public static  HttpResponseStatusBAD_GATEWAY
    
final public static  HttpResponseStatusBAD_REQUEST
    
final public static  HttpResponseStatusCONFLICT
    
final public static  HttpResponseStatusCONTINUE
    
final public static  HttpResponseStatusCREATED
    
final public static  HttpResponseStatusEXPECTATION_FAILED
    
final public static  HttpResponseStatusFORBIDDEN
    
final public static  HttpResponseStatusFOUND
    
final public static  HttpResponseStatusGATEWAY_TIMEOUT
    
final public static  HttpResponseStatusGONE
    
final public static  HttpResponseStatusHTTP_VERSION_NOT_SUPPORTED
    
final public static  HttpResponseStatusINTERNAL_SERVER_ERROR
    
final public static  HttpResponseStatusLENGTH_REQUIRED
    
final public static  HttpResponseStatusMETHOD_NOT_ALLOWED
    
final public static  HttpResponseStatusMOVED_PERMANENTLY
    
final public static  HttpResponseStatusMULTIPLE_CHOICES
    
final public static  HttpResponseStatusNON_AUTHORITATIVE
    
final public static  HttpResponseStatusNOT_ACCEPTABLE
    
final public static  HttpResponseStatusNOT_FOUND
    
final public static  HttpResponseStatusNOT_IMPLEMENTED
    
final public static  HttpResponseStatusNOT_MODIFIED
    
final public static  HttpResponseStatusNO_CONTENT
    
final public static  HttpResponseStatusOK
    
final public static  HttpResponseStatusPARTIAL_CONTENT
    
final public static  HttpResponseStatusPAYMENT_REQUIRED
    
final public static  HttpResponseStatusPRECONDITION_FAILED
    
final public static  HttpResponseStatusPROXY_AUTHENTICATION_REQUIRED
    
final public static  HttpResponseStatusREQUEST_ENTITY_TOO_LARGE
    
final public static  HttpResponseStatusREQUEST_RANGE_NOT_SATISFIABLE
    
final public static  HttpResponseStatusREQUEST_TIMEOUT
    
final public static  HttpResponseStatusREQUEST_URI_TOO_LONG
    
final public static  HttpResponseStatusRESET_CONTENT
    
final public static  HttpResponseStatusSEE_OTHER
    
final public static  HttpResponseStatusSERVICE_UNAVAILABLE
    
final public static  HttpResponseStatusSWITCHING_PROTOCOLS
    
final public static  HttpResponseStatusTEMPORARY_REDIRECT
    
final public static  HttpResponseStatusUNAUTHORIZED
    
final public static  HttpResponseStatusUNSUPPORTED_MEDIA_TYPE
    
final public static  HttpResponseStatusUSE_PROXY
    


Method Summary
public  booleanallowsMessageBody()
    
public static  HttpResponseStatusforId(int id)
     Returns the ResponseStatus with the specified status id.
public  booleanforcesConnectionClosure()
    
public  CategorygetCategory()
    
public  intgetCode()
    
public  StringgetDescription()
    
public  StringtoString()
    

Field Detail
ACCEPTED
final public static HttpResponseStatus ACCEPTED(Code)



BAD_GATEWAY
final public static HttpResponseStatus BAD_GATEWAY(Code)



BAD_REQUEST
final public static HttpResponseStatus BAD_REQUEST(Code)



CONFLICT
final public static HttpResponseStatus CONFLICT(Code)



CONTINUE
final public static HttpResponseStatus CONTINUE(Code)



CREATED
final public static HttpResponseStatus CREATED(Code)



EXPECTATION_FAILED
final public static HttpResponseStatus EXPECTATION_FAILED(Code)



FORBIDDEN
final public static HttpResponseStatus FORBIDDEN(Code)



FOUND
final public static HttpResponseStatus FOUND(Code)



GATEWAY_TIMEOUT
final public static HttpResponseStatus GATEWAY_TIMEOUT(Code)



GONE
final public static HttpResponseStatus GONE(Code)



HTTP_VERSION_NOT_SUPPORTED
final public static HttpResponseStatus HTTP_VERSION_NOT_SUPPORTED(Code)



INTERNAL_SERVER_ERROR
final public static HttpResponseStatus INTERNAL_SERVER_ERROR(Code)



LENGTH_REQUIRED
final public static HttpResponseStatus LENGTH_REQUIRED(Code)



METHOD_NOT_ALLOWED
final public static HttpResponseStatus METHOD_NOT_ALLOWED(Code)



MOVED_PERMANENTLY
final public static HttpResponseStatus MOVED_PERMANENTLY(Code)



MULTIPLE_CHOICES
final public static HttpResponseStatus MULTIPLE_CHOICES(Code)



NON_AUTHORITATIVE
final public static HttpResponseStatus NON_AUTHORITATIVE(Code)



NOT_ACCEPTABLE
final public static HttpResponseStatus NOT_ACCEPTABLE(Code)



NOT_FOUND
final public static HttpResponseStatus NOT_FOUND(Code)



NOT_IMPLEMENTED
final public static HttpResponseStatus NOT_IMPLEMENTED(Code)



NOT_MODIFIED
final public static HttpResponseStatus NOT_MODIFIED(Code)



NO_CONTENT
final public static HttpResponseStatus NO_CONTENT(Code)



OK
final public static HttpResponseStatus OK(Code)



PARTIAL_CONTENT
final public static HttpResponseStatus PARTIAL_CONTENT(Code)



PAYMENT_REQUIRED
final public static HttpResponseStatus PAYMENT_REQUIRED(Code)



PRECONDITION_FAILED
final public static HttpResponseStatus PRECONDITION_FAILED(Code)



PROXY_AUTHENTICATION_REQUIRED
final public static HttpResponseStatus PROXY_AUTHENTICATION_REQUIRED(Code)



REQUEST_ENTITY_TOO_LARGE
final public static HttpResponseStatus REQUEST_ENTITY_TOO_LARGE(Code)



REQUEST_RANGE_NOT_SATISFIABLE
final public static HttpResponseStatus REQUEST_RANGE_NOT_SATISFIABLE(Code)



REQUEST_TIMEOUT
final public static HttpResponseStatus REQUEST_TIMEOUT(Code)



REQUEST_URI_TOO_LONG
final public static HttpResponseStatus REQUEST_URI_TOO_LONG(Code)



RESET_CONTENT
final public static HttpResponseStatus RESET_CONTENT(Code)



SEE_OTHER
final public static HttpResponseStatus SEE_OTHER(Code)



SERVICE_UNAVAILABLE
final public static HttpResponseStatus SERVICE_UNAVAILABLE(Code)



SWITCHING_PROTOCOLS
final public static HttpResponseStatus SWITCHING_PROTOCOLS(Code)



TEMPORARY_REDIRECT
final public static HttpResponseStatus TEMPORARY_REDIRECT(Code)



UNAUTHORIZED
final public static HttpResponseStatus UNAUTHORIZED(Code)



UNSUPPORTED_MEDIA_TYPE
final public static HttpResponseStatus UNSUPPORTED_MEDIA_TYPE(Code)



USE_PROXY
final public static HttpResponseStatus USE_PROXY(Code)





Method Detail
allowsMessageBody
public boolean allowsMessageBody()(Code)
true iff a message body may be transmitted ina response containing this response status



forId
public static HttpResponseStatus forId(int id)(Code)
Returns the ResponseStatus with the specified status id. If no status exists with the specified id, a new status is created and registered based on the category applicable to the id:
100 - 199Informational
200 - 299Successful
300 - 399Redirection
400 - 499Client Error
500 - 599Server Error
.
Parameters:
  id - The id of the desired response status The ResponseStatus
throws:
  IllegalStateException - If the specified id is invalid



forcesConnectionClosure
public boolean forcesConnectionClosure()(Code)
true iff a connection which would normally bekept alive should be closed as a result of this response



getCategory
public Category getCategory()(Code)
The category of this status



getCode
public int getCode()(Code)
The response code of this status



getDescription
public String getDescription()(Code)
A description of this status



toString
public String toString()(Code)
A string description of this status



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.