Java Doc for WebDAVStatus.java in  » Content-Management-System » harmonise » com » ibm » 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 » Content Management System » harmonise » com.ibm.webdav 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.ibm.webdav.WebDAVStatus

WebDAVStatus
public class WebDAVStatus (Code)


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_FAILED_DEPENDENCY
     Status code (424) 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_FORBIDDEN
     Status code (403) indicating the server understood the request but refused to fulfill it.
final public static  intSC_GATEWAY_TIMEOUT
     Status code (504) indicating the server did not receive a timely response from the upstream server while acting as a gateway or proxy.
final public static  intSC_GONE
     Status code (410) indicating the server did not receive a timely response from the upstream server while acting as a gateway or proxy.
final public static  intSC_HTTP_VERSION_NOT_SUPPORTED
     Status code (505) indicating the server does not support or refuses to support the HTTP protocol version that was used in the request message.
final public static  intSC_INSUFFICIENT_SPACE_ON_RESOURCE
     Status code (425) indicating that the resource does not have sufficient space to record the state of the resource after the executino of the 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_LENGTH_REQUIRED
     Status code (411) indicating the request cannot be handled without a defined Content-Length.
final public static  intSC_LOCKED
     Status code (423) indicating the source or destination resource of a method is locked.
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_MULTIPLE_CHOICES
    
final public static  intSC_MULTI_STATUS
     Status code (207) indicating that the response provides status for multiple independent operations.
final public static  intSC_NON_AUTHORITATIVE_INFORMATION
     Status code (203) indicating that the meta information presented by the client did not originate from the server.
final public static  intSC_NOT_ACCEPTABLE
     Status code (406) indicating the resource identified by the request is only capable of generating response entities which have content characteristics not acceptable according to the accept headerssent in the request.
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_NO_SUCH_TARGET
    
final public static  intSC_OK
     Status code (200) indicating the request succeeded normally.
final public static  intSC_PARTIAL_CONTENT
     Status code (206) indicating that the server has fulfilled the partial GET request for the resource.
final public static  intSC_PAYMENT_REQUIRED
     Status code (402) reserved for future use.
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_PROCESSING
     Status code (102) indicating the server is still processing the request.
final public static  intSC_PROXY_AUTHENTICATION_REQUIRED
     Status code (407) indicating the client MUST first authenticate itself with the proxy.
final public static  intSC_REQUEST_TIMEOUT
     Status code (408) indicating the client did not produce a request within the time that the server was prepared to wait.
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_REQUEST_URI_TOO_LONG
     Status code (414) indicating the server is refusing to service the request because the Request-URI is longer than the server is willing to interpret.
final public static  intSC_RESET_CONTENT
     Status code (205) indicating that the agent SHOULD reset the document view which caused the request to be sent.
final public static  intSC_SEE_OTHER
     Status code (303) indicating that the response to the request can be found under a different URI.
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_SWITCHING_PROTOCOLS
     Status code (101) indicating the server is switching protocols according to Upgrade header.
final public static  intSC_UNAUTHORIZED
     Status code (401) indicating that the request requires HTTP authentication.
final public static  intSC_UNPROCESSABLE_ENTITY
     Status code (422) indicating the server understands the content type of the request entity, but was unable to process the contained instructions.
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.
final public static  intSC_USE_PROXY
     Status code (305) indicating that the requested resource MUST be accessed through the proxy given by the Location field.


Method Summary
public  intgetStatusCode()
    
public  StringgetStatusMessage()
    
public static  StringgetStatusMessage(int statusCode)
     Get a message describing the status code.
public  voidsetStatusCode(int newStatusCode)
    
public  StringtoString()
     Convert a WebDAVStatus to a String for printing, etc.

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_FAILED_DEPENDENCY
final public static int SC_FAILED_DEPENDENCY(Code)
Status code (424) 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. (AKA Failed Dependency)



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



SC_GATEWAY_TIMEOUT
final public static int SC_GATEWAY_TIMEOUT(Code)
Status code (504) indicating the server did not receive a timely response from the upstream server while acting as a gateway or proxy.



SC_GONE
final public static int SC_GONE(Code)
Status code (410) indicating the server did not receive a timely response from the upstream server while acting as a gateway or proxy.



SC_HTTP_VERSION_NOT_SUPPORTED
final public static int SC_HTTP_VERSION_NOT_SUPPORTED(Code)
Status code (505) indicating the server does not support or refuses to support the HTTP protocol version that was used in the request message.



SC_INSUFFICIENT_SPACE_ON_RESOURCE
final public static int SC_INSUFFICIENT_SPACE_ON_RESOURCE(Code)
Status code (425) indicating that the resource does not have sufficient space to record the state of the resource after the executino of the 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_LENGTH_REQUIRED
final public static int SC_LENGTH_REQUIRED(Code)
Status code (411) indicating the request cannot be handled without a defined Content-Length.



SC_LOCKED
final public static int SC_LOCKED(Code)
Status code (423) indicating the source or destination resource of a method is locked.



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_MULTIPLE_CHOICES
final public static int SC_MULTIPLE_CHOICES(Code)
Status code (300) indicating that the requested resource corresponds to any one of a set of representations, each with its own specific location



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



SC_NON_AUTHORITATIVE_INFORMATION
final public static int SC_NON_AUTHORITATIVE_INFORMATION(Code)
Status code (203) indicating that the meta information presented by the client did not originate from the server.



SC_NOT_ACCEPTABLE
final public static int SC_NOT_ACCEPTABLE(Code)
Status code (406) indicating the resource identified by the request is only capable of generating response entities which have content characteristics not acceptable according to the accept headerssent in the request.



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_NO_SUCH_TARGET
final public static int SC_NO_SUCH_TARGET(Code)
Status code (426) indicating that the resource does not have the specified target revision



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



SC_PARTIAL_CONTENT
final public static int SC_PARTIAL_CONTENT(Code)
Status code (206) indicating that the server has fulfilled the partial GET request for the resource.



SC_PAYMENT_REQUIRED
final public static int SC_PAYMENT_REQUIRED(Code)
Status code (402) reserved for future use.



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_PROCESSING
final public static int SC_PROCESSING(Code)
Status code (102) indicating the server is still processing the request.



SC_PROXY_AUTHENTICATION_REQUIRED
final public static int SC_PROXY_AUTHENTICATION_REQUIRED(Code)
Status code (407) indicating the client MUST first authenticate itself with the proxy.



SC_REQUEST_TIMEOUT
final public static int SC_REQUEST_TIMEOUT(Code)
Status code (408) indicating the client did not produce a request within the time that the server was prepared to wait.



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_REQUEST_URI_TOO_LONG
final public static int SC_REQUEST_URI_TOO_LONG(Code)
Status code (414) indicating the server is refusing to service the request because the Request-URI is longer than the server is willing to interpret.



SC_RESET_CONTENT
final public static int SC_RESET_CONTENT(Code)
Status code (205) indicating that the agent SHOULD reset the document view which caused the request to be sent.



SC_SEE_OTHER
final public static int SC_SEE_OTHER(Code)
Status code (303) indicating that the response to the request can be found under a different URI.



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_SWITCHING_PROTOCOLS
final public static int SC_SWITCHING_PROTOCOLS(Code)
Status code (101) indicating the server is switching protocols according to Upgrade header.



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 (422) indicating the server understands the content type of the request entity, but was unable to process the contained instructions.



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.



SC_USE_PROXY
final public static int SC_USE_PROXY(Code)
Status code (305) indicating that the requested resource MUST be accessed through the proxy given by the Location field.





Method Detail
getStatusCode
public int getStatusCode()(Code)
Get the value of this WebDAVStatus int



getStatusMessage
public String getStatusMessage()(Code)
Get a message describing the status code of this WebDAVStatus the corresponding status message or "Unknown" if there is no message forthe current status code



getStatusMessage
public static String getStatusMessage(int statusCode)(Code)
Get a message describing the status code.
Parameters:
  statusCode - an HTTP/1.1 or WebDAV status code the corresponding status message or "Unknown" if there is no message forthe given status code



setStatusCode
public void setStatusCode(int newStatusCode)(Code)
Set the value of this WebDAVStatus
Parameters:
  newStatusCode - int



toString
public String toString()(Code)
Convert a WebDAVStatus to a String for printing, etc.
Parameters:
  newStatusCode - int



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.