Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Span
stylefont-size:2em;font-weight:bold
JAX-RS

 



Table of Contents

Introduction

...

CXF 2.7.x and CXF 3.0.0 depending on 2.0-m10 and 2.0 final versions of JAX-RS 2.0 API. 


Project setup and configuration

...

Check the specification or ask at the users list for more details.

 


Maven dependencies

CXF 3.2.0

...

{{ > GET /resource?_type=xml}}

CXF also supports overriding request methods. However note that by default this is not allowed (since CXF 3.3.4) for a CXF service. To enable HTTP method overriding, specify the "org.apache.cxf.jaxrs.allow.http.method.override" endpoint property as "true".

Two options of overriding HTTP request methods are available - via a query parameterOverriding a request method is also easy:

> GET /resource?_method=POST

...