cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gunanup <>
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 


    	    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


View this message in context:
Sent from the cxf-user mailing list archive at

View raw message