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 Services and the fly likes how can i configure JAx-RS  RequestHandler Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "how can i configure JAx-RS  RequestHandler" Watch "how can i configure JAx-RS  RequestHandler" New topic
Author

how can i configure JAx-RS RequestHandler

cute nonni
Greenhorn

Joined: Jan 02, 2012
Posts: 5
hi all,

i'm new to JAX-RS and need to know how can i configure a RequestHandler or ResponseHandler in simple web application ?

thanks
Ivan Krizsan
Bartender

Joined: Oct 04, 2006
Posts: 2186
Hi!
What web service stack are you using?
As far as I know (do correct me if I am wrong!), RequestHandler is not something that is specified by the JAX-RS standard.
Best wishes!


My free books and tutorials: http://www.slideshare.net/krizsan
cute nonni
Greenhorn

Joined: Jan 02, 2012
Posts: 5
many thanks for your reply,

i was studying Apache CXF and i reached this section

http://cxf.apache.org/docs/jax-rs-filters.html

but i did not find any tutorial to know how can i configure RequestHandler or ResponseHandler

sorry,my question was not clear as i'm really confused regarding the difference between restful web service in Apache CXF and the standard Restful
Ivan Krizsan
Bartender

Joined: Oct 04, 2006
Posts: 2186
Hi!
There are examples showing how to configure request handlers on the webpage you supplied the link to.
What do you want to accomplish with your request handler?
Best wishes!
 
 
subject: how can i configure JAx-RS RequestHandler
 
Threads others viewed
Create Session in Restful Service.
JAX-WS with JSON on Glassfish
Help required: Compiling/Deploying a RESTful web service
Rest Web service
Accessing HttpServletRequest from Restful webservice
IntelliJ Java IDE