Java Doc for MethodHandler.java in  » J2EE » Enhydra-Demos » org » enhydra » dm » api » handler » 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 » Enhydra Demos » org.enhydra.dm.api.handler 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.enhydra.dm.api.handler.MethodHandler

All known Subclasses:   org.enhydra.dm.api.handler.AbstractHandler,
MethodHandler
public interface MethodHandler (Code)

author:
   Slobodan Vujasinovic


Field Summary
final public static  intSC_FAILED_DEPENDENCY
     Status code (424) indicating that the method could not be performed because an action upon which this action depends failed.
final public static  intSC_INSUFFICIENT_STORAGE
     Status code (507) indicating that the method could not be performed on a resource because the server is unable to store the representation needed to successfully complete the request.
final public static  intSC_LOCKED
     Status code (423) indicating that the source or destination resource of a method is locked.
final public static  intSC_MULTISTATUS
     Status code (207) providing status for multiple independent operations.
final public static  intSC_PROCESSING
     Interim status code (102) indicating that the server has accepted the request but has not yet completed it.
final public static  intSC_UNPROCESSABLE_ENTITY
     Status code (422) indicating that the server understands the content type of the request entity, and the syntax of the request entity is correct, but the contained instructions could not be processed.


Method Summary
public  voiddestroy()
     Called by the WebDavServlet servlet to indicate that the handler is being taken out of service.
public  voidinit(ServletConfig config, DocumentManager documentManager, DocumentStore documentStore, DesEncription desEncription, Log logger)
     Called by the WebDavServlet servlet to indicate that the handler is being placed into service.
public  voidservice(HttpServletRequest request, HttpServletResponse response)
     Called by the WebDavServlet servlet to allow the handler to service a request.

Field Detail
SC_FAILED_DEPENDENCY
final public static int SC_FAILED_DEPENDENCY(Code)
Status code (424) indicating that the method could not be performed because an action upon which this action depends failed.



SC_INSUFFICIENT_STORAGE
final public static int SC_INSUFFICIENT_STORAGE(Code)
Status code (507) indicating that the method could not be performed on a resource because the server is unable to store the representation needed to successfully complete the request.



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



SC_MULTISTATUS
final public static int SC_MULTISTATUS(Code)
Status code (207) providing status for multiple independent operations.



SC_PROCESSING
final public static int SC_PROCESSING(Code)
Interim status code (102) indicating that the server has accepted the request but has not yet completed it.



SC_UNPROCESSABLE_ENTITY
final public static int SC_UNPROCESSABLE_ENTITY(Code)
Status code (422) indicating that the server understands the content type of the request entity, and the syntax of the request entity is correct, but the contained instructions could not be processed.





Method Detail
destroy
public void destroy()(Code)
Called by the WebDavServlet servlet to indicate that the handler is being taken out of service. Semantics are identical to the Servlet destroy method. This method gives the handler an opportunity to clean up any resources that are being held. After this method has been called, the service method will not be invoked again.



init
public void init(ServletConfig config, DocumentManager documentManager, DocumentStore documentStore, DesEncription desEncription, Log logger) throws ServletException(Code)
Called by the WebDavServlet servlet to indicate that the handler is being placed into service. Semantics are identical to the Servlet init method; the method is called exactly once after instantiation.
Parameters:
  config - a ServletConfig object containing the Davenportservlet's configuration and initialization parameters.
throws:
  ServletException - If an error occurs during initialization.



service
public void service(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException(Code)
Called by the WebDavServlet servlet to allow the handler to service a request. The WebDavServlet servlet will select an appropriate handler for a given HTTP method, and dispatch the request accordingly.
Parameters:
  request - The request that is being serviced.
Parameters:
  response - The servlet response object.
throws:
  IOException - If an input or output exception occurs.
throws:
  ServletException - If an exception occurs that interferes with normaloperation.



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