RE: Rest Header Info

2008-01-08 Thread Liu, Jervis
Are you using CXF HTTP Binding to build your REST service, or CXF JAX-RS (JSR-311) instead? In CXF JAX-RS (JSR-311), the standard way to access HTTP headers is using @HeaderParam, like below: @HttpMethod(GET) @UriTemplate(/books/{bookId}/) public Book getBook(@UriParam(bookId)

Re: Rest Header Info

2008-01-08 Thread Todd Orr
Thanks. I'm using jsr311 so that's mixed news. I voted on that issue, however I'll need to formulate a workaround in the meantime. I suppose I'll need to create objects that include the security information along with the required data for the method execution. This is acceptable in posts, and

RE: Rest Header Info

2008-01-08 Thread Liu, Jervis
]. http://cwiki.apache.org/CXF20DOC/interceptors.html Cheers, Jervis -Original Message- From: Todd Orr [mailto:[EMAIL PROTECTED] Sent: 2008年1月9日 3:36 To: cxf-user@incubator.apache.org Subject: Re: Rest Header Info Thanks. I'm using jsr311 so that's mixed news. I voted on that issue