You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by bu...@apache.org on 2017/06/28 09:47:41 UTC

svn commit: r1014640 - in /websites/production/cxf/content: cache/docs.pageCache docs/jax-rs-basics.html

Author: buildbot
Date: Wed Jun 28 09:47:41 2017
New Revision: 1014640

Log:
Production update by buildbot for cxf

Modified:
    websites/production/cxf/content/cache/docs.pageCache
    websites/production/cxf/content/docs/jax-rs-basics.html

Modified: websites/production/cxf/content/cache/docs.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/cxf/content/docs/jax-rs-basics.html
==============================================================================
--- websites/production/cxf/content/docs/jax-rs-basics.html (original)
+++ websites/production/cxf/content/docs/jax-rs-basics.html Wed Jun 28 09:47:41 2017
@@ -121,11 +121,11 @@ Apache CXF -- JAX-RS Basics
 
 
 &#160;</p><p>&#160;</p><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1498225612721 {padding: 0px;}
-div.rbtoc1498225612721 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1498225612721 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1498643224259 {padding: 0px;}
+div.rbtoc1498643224259 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1498643224259 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1498225612721">
+/*]]>*/</style></p><div class="toc-macro rbtoc1498643224259">
 <ul class="toc-indentation"><li><a shape="rect" href="#JAX-RSBasics-WhatisNewinJAX-RS2.0">What is New in JAX-RS 2.0</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#JAX-RSBasics-Filters">Filters</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#JAX-RSBasics-Server">Server</a></li><li><a shape="rect" href="#JAX-RSBasics-Client">Client</a></li></ul>
@@ -327,7 +327,7 @@ public class CustomerService {
     }
 }
 </pre>
-</div></div><p>In this case a template variable id available from a root class annotation is mapped to a parameter of type Long, while a name variable is mapped to a parameter of type String.</p><p>@QueryParam, @HttpHeader, @MatrixParam, @FormParam and @CookieParam annotations are also supported.</p><p>Note that the parameters, marked with @FormParam annotation, can take the values from the query parameters in case, if request body is already consumed. This is defined in JAX-RS specification due to the filters (Spring security, etc) consuming the body and thus JAX-RS form parameters becoming empty. User can optionally deactivate standard behavior through setting "set.form.parameters.from.http.parameters" message property to false.</p><p>Parameters can be of type String or of any type that have constructors accepting a String parameter or stat ic valueOf(String s) methods. <br clear="none"> Additionally CXF JAXRS checks for static fromString(String s) method, so types with no valueOf
 (String) factory methods can also be dealt with:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>In this case a template variable id available from a root class annotation is mapped to a parameter of type Long, while a name variable is mapped to a parameter of type String.</p><p>@QueryParam, @HeaderParam, @MatrixParam, @FormParam and @CookieParam annotations are also supported.</p><p>Note that the parameters, marked with @FormParam annotation, can take the values from the query parameters in case, if request body is already consumed. This is defined in JAX-RS specification due to the filters (Spring security, etc) consuming the body and thus JAX-RS form parameters becoming empty. User can optionally deactivate standard behavior through setting "set.form.parameters.from.http.parameters" message property to false.</p><p>Parameters can be of type String or of any type that have constructors accepting a String parameter or stat ic valueOf(String s) methods. <br clear="none"> Additionally CXF JAXRS checks for static fromString(String s) method, so types with no valueO
 f(String) factory methods can also be dealt with:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">public enum Gender {
    MALE,
    FEMALE;