cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gunanup <guna...@hotmail.com>
Subject How to get the header info from the request
Date Tue, 24 May 2011 08:21:19 GMT
Hello ,

                I am using cxf 2.2.8 version to generate a rest webservice
(wadl) , My question is during request state how can we  know which
mediatype request is it ??? I tried and failed using @HeaderParam 

       < 

 @GET
    	    @Path("/getSum/{arg0}/{arg1}")
    	    public Integer getSum(@PathParam(value="arg0") int arg0
,@PathParam(value="arg1") int arg1,@HeaderParam("myheaderkeyname") String
keyValue ) {
   
    	    	
    	        return (arg1+arg0);
    	    }   

>

               could any one can help on this issue

thanks


--
View this message in context: http://cxf.547215.n5.nabble.com/How-to-get-the-header-info-from-the-request-tp4421377p4421377.html
Sent from the cxf-user mailing list archive at Nabble.com.

Mime
View raw message