Java Doc for Method.java in  » Web-Services » restlet-1.0.8 » org » restlet » data » 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 Services » restlet 1.0.8 » org.restlet.data 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.restlet.data.Metadata
      org.restlet.data.Method

Method
final public class Method extends Metadata (Code)
Method to execute when handling a call.
author:
   Jerome Louvel (contact@noelios.com)


Field Summary
final public static  MethodCONNECT
     Used with a proxy that can dynamically switch to being a tunnel.
final public static  MethodCOPY
     Creates a duplicate of the source resource, identified by the Request-URI, in the destination resource, identified by the URI in the Destination header.
final public static  MethodDELETE
     Requests that the origin server deletes the resource identified by the request URI.
final public static  MethodGET
     Retrieves whatever information (in the form of an entity) that is identified by the request URI.
final public static  MethodHEAD
     Identical to GET except that the server must not return a message body in the response but only the message header.
final public static  MethodLOCK
     Used to take out a lock of any access type on the resource identified by the request URI.
final public static  MethodMKCOL
     MKCOL creates a new collection resource at the location specified by the Request URI.
final public static  MethodMOVE
     Logical equivalent of a copy, followed by consistency maintenance processing, followed by a delete of the source where all three actions are performed atomically.
final public static  MethodOPTIONS
     Requests for information about the communication options available on the request/response chain identified by the URI.
final public static  MethodPOST
     Requests that the origin server accepts the entity enclosed in the request as a new subordinate of the resource identified by the request URI.
final public static  MethodPROPFIND
     Retrieves properties defined on the resource identified by the request URI.
final public static  MethodPROPPATCH
     Processes instructions specified in the request body to set and/or remove properties defined on the resource identified by the request URI.
final public static  MethodPUT
     Requests that the enclosed entity be stored under the supplied request URI.
final public static  MethodTRACE
     Used to invoke a remote, application-layer loop-back of the request message.
final public static  MethodUNLOCK
     Removes the lock identified by the lock token from the request URI, and all other resources included in the lock.

Constructor Summary
public  Method(String name)
     Constructor.
public  Method(String name, String description)
     Constructor.
public  Method(String name, String description, String uri)
     Constructor.

Method Summary
public  booleanequals(Object object)
    
public  StringgetUri()
     Returns the URI of the specification describing the method.
public  inthashCode()
    
public static  MethodvalueOf(String methodName)
     Returns the method associated to a given method name.

Field Detail
CONNECT
final public static Method CONNECT(Code)
Used with a proxy that can dynamically switch to being a tunnel.
See Also:    HTTP * RFC - 9.9 CONNECT



COPY
final public static Method COPY(Code)
Creates a duplicate of the source resource, identified by the Request-URI, in the destination resource, identified by the URI in the Destination header.
See Also:    WEBDAV * RFC - 8.8 COPY Method



DELETE
final public static Method DELETE(Code)
Requests that the origin server deletes the resource identified by the request URI.
See Also:    HTTP * RFC - 9.7 DELETE



GET
final public static Method GET(Code)
Retrieves whatever information (in the form of an entity) that is identified by the request URI.
See Also:    HTTP * RFC - 9.3 GET



HEAD
final public static Method HEAD(Code)
Identical to GET except that the server must not return a message body in the response but only the message header.
See Also:    HTTP * RFC - 9.4 GET



LOCK
final public static Method LOCK(Code)
Used to take out a lock of any access type on the resource identified by the request URI.
See Also:    WEBDAV * RFC - 8.10 LOCK Method



MKCOL
final public static Method MKCOL(Code)
MKCOL creates a new collection resource at the location specified by the Request URI.
See Also:    WEBDAV * RFC - 8.3 MKCOL Method



MOVE
final public static Method MOVE(Code)
Logical equivalent of a copy, followed by consistency maintenance processing, followed by a delete of the source where all three actions are performed atomically.
See Also:    WEBDAV * RFC - 8.3 MKCOL Method



OPTIONS
final public static Method OPTIONS(Code)
Requests for information about the communication options available on the request/response chain identified by the URI.
See Also:    HTTP * RFC - 9.2 OPTIONS



POST
final public static Method POST(Code)
Requests that the origin server accepts the entity enclosed in the request as a new subordinate of the resource identified by the request URI.
See Also:    HTTP * RFC - 9.5 POST



PROPFIND
final public static Method PROPFIND(Code)
Retrieves properties defined on the resource identified by the request URI.
See Also:    WEBDAV * RFC - 8.1 PROPFIND



PROPPATCH
final public static Method PROPPATCH(Code)
Processes instructions specified in the request body to set and/or remove properties defined on the resource identified by the request URI.
See Also:    WEBDAV * RFC - 8.2 PROPPATCH



PUT
final public static Method PUT(Code)
Requests that the enclosed entity be stored under the supplied request URI.
See Also:    HTTP * RFC - 9.6 PUT



TRACE
final public static Method TRACE(Code)
Used to invoke a remote, application-layer loop-back of the request message.
See Also:    HTTP * RFC - 9.8 TRACE



UNLOCK
final public static Method UNLOCK(Code)
Removes the lock identified by the lock token from the request URI, and all other resources included in the lock.
See Also:    WEBDAV * RFC - 8.11 UNLOCK Method




Constructor Detail
Method
public Method(String name)(Code)
Constructor.
Parameters:
  name - The technical name of the method.
See Also:   org.restlet.data.Method.valueOf(String)



Method
public Method(String name, String description)(Code)
Constructor.
Parameters:
  name - The technical name of the method.
Parameters:
  description - The description.
See Also:   org.restlet.data.Method.valueOf(String)



Method
public Method(String name, String description, String uri)(Code)
Constructor.
Parameters:
  name - The technical name.
Parameters:
  description - The description.
Parameters:
  uri - The URI of the specification describing the method.
See Also:   org.restlet.data.Method.valueOf(String)




Method Detail
equals
public boolean equals(Object object)(Code)



getUri
public String getUri()(Code)
Returns the URI of the specification describing the method. The URI of the specification describing the method.



hashCode
public int hashCode()(Code)



valueOf
public static Method valueOf(String methodName)(Code)
Returns the method associated to a given method name. If an existing constant exists then it is returned, otherwise a new instance is created.
Parameters:
  methodName - The method name. The associated method.



Methods inherited from org.restlet.data.Metadata
public boolean equals(Object object)(Code)(Java Doc)
public String getDescription()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public String toString()(Code)(Java Doc)

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.