File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Http Methods Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Http Methods" Watch "Http Methods" New topic
Author

Http Methods

Vineela Devi
Ranch Hand

Joined: Dec 20, 2003
Posts: 191
Hi,

Can you please tell me which of the http methods are idempotent?

Regards,
Vineela
Rohan Kayan
Ranch Hand

Joined: Sep 17, 2004
Posts: 123
Get , Put , Head


SCWCD 1.4, SCJP 1.4
Rohan Kayan
Ranch Hand

Joined: Sep 17, 2004
Posts: 123
The methods GET, HEAD, PUT and DELETE share this property. Also, the methods OPTIONS and TRACE SHOULD NOT have side effects, and so are inherently idempotent.
Vineela Devi
Ranch Hand

Joined: Dec 20, 2003
Posts: 191
Hi,

Thanks for the response.
But in the HFJS Book its no where mentioned tht the Trace and Options are idempotent.

Vineela
Rohan Kayan
Ranch Hand

Joined: Sep 17, 2004
Posts: 123
This is not a big issue , any method which doesn't have a side effect on the server work as idempotent method.
Narendra Dhande
Ranch Hand

Joined: Dec 04, 2004
Posts: 950
Hi,

Please refer the latest thread on thos issue Here

Thanks


Narendra Dhande
SCJP 1.4,SCWCD 1.4, SCBCD 5.0, SCDJWS 5.0, SCEA 5.0
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Http Methods
 
Similar Threads
HFSJ 634 page
How do OBJECTS pass messages in Java?
default implementations for HTTP methods
what is an another way of getting the form parametrs from jsps?
servlet security