Java Doc for FxWebDavStatus.java in  » J2EE » fleXive » com » flexive » war » webdav » 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 » J2EE » fleXive » com.flexive.war.webdav 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.flexive.war.webdav.FxWebDavStatus

FxWebDavStatus
public class FxWebDavStatus (Code)
Wraps the HttpServletResponse class to abstract the specific protocol used. To support other protocols we would only need to modify this class and the WebDavRetCode classes.


Field Summary
final public static  intSC_ACCEPTED
     Status code (202) indicating that a request was accepted for processing, but was not completed.
final public static  intSC_BAD_GATEWAY
     Status code (502) indicating that the HTTP server received an invalid response from a server it consulted when acting as a proxy or gateway.
final public static  intSC_BAD_REQUEST
     Status code (400) indicating the request sent by the client was syntactically incorrect.
final public static  intSC_CONFLICT
     Status code (409) indicating that the request could not be completed due to a conflict with the current state of the resource.
final public static  intSC_CONTINUE
     Status code (100) indicating the client may continue with its request.
final public static  intSC_CREATED
     Status code (201) indicating the request succeeded and created a new resource on the server.
final public static  intSC_FORBIDDEN
     Status code (403) indicating the server understood the request but refused to fulfill it.
final public static  intSC_INSUFFICIENT_SPACE_ON_RESOURCE
     Status code (419) indicating that the resource does not have sufficient space to record the state of the resource after the execution of this method.
final public static  intSC_INTERNAL_SERVER_ERROR
     Status code (500) indicating an error inside the HTTP service which prevented it from fulfilling the request.
final public static  intSC_LOCKED
     Status code (423) indicating the destination resource of a method is locked, and either the request did not contain a valid Lock-Info header, or the Lock-Info header identifies a lock held by another principal.
final public static  intSC_METHOD_FAILURE
     Status code (420) indicating the method was not executed on a particular resource within its scope because some part of the method's execution failed causing the entire method to be aborted.
final public static  intSC_METHOD_NOT_ALLOWED
     Status code (405) indicating the method specified is not allowed for the resource.
final public static  intSC_MOVED_PERMANENTLY
     Status code (301) indicating that the resource has permanently moved to a new location, and that future references should use a new URI with their requests.
final public static  intSC_MOVED_TEMPORARILY
     Status code (302) indicating that the resource has temporarily moved to another location, but that future references should still use the original URI to access the resource.
final public static  intSC_MULTI_STATUS
     Status code (207) indicating that the response requires providing status for multiple independent operations.
final public static  intSC_NOT_FOUND
     Status code (404) indicating that the requested resource is not available.
final public static  intSC_NOT_IMPLEMENTED
     Status code (501) indicating the HTTP service does not support the functionality needed to fulfill the request.
final public static  intSC_NOT_MODIFIED
     Status code (304) indicating that a conditional GET operation found that the resource was available and not modified.
final public static  intSC_NO_CONTENT
     Status code (204) indicating that the request succeeded but that there was no new information to return.
final public static  intSC_OK
     Status code (200) indicating the request succeeded normally.
final public static  intSC_PRECONDITION_FAILED
     Status code (412) indicating the precondition given in one or more of the request-header fields evaluated to false when it was tested on the server.
final public static  intSC_REQUEST_TOO_LONG
     Status code (413) indicating the server is refusing to process a request because the request entity is larger than the server is willing or able to process.
final public static  intSC_SERVICE_UNAVAILABLE
     Status code (503) indicating that the HTTP service is temporarily overloaded, and unable to handle the request.
final public static  intSC_UNAUTHORIZED
     Status code (401) indicating that the request requires HTTP authentication.
final public static  intSC_UNPROCESSABLE_ENTITY
     Status code (418) indicating the entity body submitted with the PATCH method was not understood by the resource.
final public static  intSC_UNSUPPORTED_MEDIA_TYPE
     Status code (415) indicating the server is refusing to service the request because the entity of the request is in a format not supported by the requested resource for the requested method.


Method Summary
public static  StringgetStatusText(int httpStatusCode)
     Returns the HTTP status text for the HTTP or WebDav status code specified by looking it up in the static mapping.

Field Detail
SC_ACCEPTED
final public static int SC_ACCEPTED(Code)
Status code (202) indicating that a request was accepted for processing, but was not completed.



SC_BAD_GATEWAY
final public static int SC_BAD_GATEWAY(Code)
Status code (502) indicating that the HTTP server received an invalid response from a server it consulted when acting as a proxy or gateway.



SC_BAD_REQUEST
final public static int SC_BAD_REQUEST(Code)
Status code (400) indicating the request sent by the client was syntactically incorrect.



SC_CONFLICT
final public static int SC_CONFLICT(Code)
Status code (409) indicating that the request could not be completed due to a conflict with the current state of the resource.



SC_CONTINUE
final public static int SC_CONTINUE(Code)
Status code (100) indicating the client may continue with its request. This interim response is used to inform the client that the initial part of the request has been received and has not yet been rejected by the server.



SC_CREATED
final public static int SC_CREATED(Code)
Status code (201) indicating the request succeeded and created a new resource on the server.



SC_FORBIDDEN
final public static int SC_FORBIDDEN(Code)
Status code (403) indicating the server understood the request but refused to fulfill it.



SC_INSUFFICIENT_SPACE_ON_RESOURCE
final public static int SC_INSUFFICIENT_SPACE_ON_RESOURCE(Code)
Status code (419) indicating that the resource does not have sufficient space to record the state of the resource after the execution of this method.



SC_INTERNAL_SERVER_ERROR
final public static int SC_INTERNAL_SERVER_ERROR(Code)
Status code (500) indicating an error inside the HTTP service which prevented it from fulfilling the request.



SC_LOCKED
final public static int SC_LOCKED(Code)
Status code (423) indicating the destination resource of a method is locked, and either the request did not contain a valid Lock-Info header, or the Lock-Info header identifies a lock held by another principal.



SC_METHOD_FAILURE
final public static int SC_METHOD_FAILURE(Code)
Status code (420) indicating the method was not executed on a particular resource within its scope because some part of the method's execution failed causing the entire method to be aborted.



SC_METHOD_NOT_ALLOWED
final public static int SC_METHOD_NOT_ALLOWED(Code)
Status code (405) indicating the method specified is not allowed for the resource.



SC_MOVED_PERMANENTLY
final public static int SC_MOVED_PERMANENTLY(Code)
Status code (301) indicating that the resource has permanently moved to a new location, and that future references should use a new URI with their requests.



SC_MOVED_TEMPORARILY
final public static int SC_MOVED_TEMPORARILY(Code)
Status code (302) indicating that the resource has temporarily moved to another location, but that future references should still use the original URI to access the resource.



SC_MULTI_STATUS
final public static int SC_MULTI_STATUS(Code)
Status code (207) indicating that the response requires providing status for multiple independent operations.



SC_NOT_FOUND
final public static int SC_NOT_FOUND(Code)
Status code (404) indicating that the requested resource is not available.



SC_NOT_IMPLEMENTED
final public static int SC_NOT_IMPLEMENTED(Code)
Status code (501) indicating the HTTP service does not support the functionality needed to fulfill the request.



SC_NOT_MODIFIED
final public static int SC_NOT_MODIFIED(Code)
Status code (304) indicating that a conditional GET operation found that the resource was available and not modified.



SC_NO_CONTENT
final public static int SC_NO_CONTENT(Code)
Status code (204) indicating that the request succeeded but that there was no new information to return.



SC_OK
final public static int SC_OK(Code)
Status code (200) indicating the request succeeded normally.



SC_PRECONDITION_FAILED
final public static int SC_PRECONDITION_FAILED(Code)
Status code (412) indicating the precondition given in one or more of the request-header fields evaluated to false when it was tested on the server.



SC_REQUEST_TOO_LONG
final public static int SC_REQUEST_TOO_LONG(Code)
Status code (413) indicating the server is refusing to process a request because the request entity is larger than the server is willing or able to process.



SC_SERVICE_UNAVAILABLE
final public static int SC_SERVICE_UNAVAILABLE(Code)
Status code (503) indicating that the HTTP service is temporarily overloaded, and unable to handle the request.



SC_UNAUTHORIZED
final public static int SC_UNAUTHORIZED(Code)
Status code (401) indicating that the request requires HTTP authentication.



SC_UNPROCESSABLE_ENTITY
final public static int SC_UNPROCESSABLE_ENTITY(Code)
Status code (418) indicating the entity body submitted with the PATCH method was not understood by the resource.



SC_UNSUPPORTED_MEDIA_TYPE
final public static int SC_UNSUPPORTED_MEDIA_TYPE(Code)
Status code (415) indicating the server is refusing to service the request because the entity of the request is in a format not supported by the requested resource for the requested method.





Method Detail
getStatusText
public static String getStatusText(int httpStatusCode)(Code)
Returns the HTTP status text for the HTTP or WebDav status code specified by looking it up in the static mapping. This is a static function.
Parameters:
  httpStatusCode - [IN] HTTP or WebDAV status code A string with a short descriptive phrase for theHTTP status code (e.g., "OK").



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.