Author: buildbot
Date: Sun Jul 5 13:47:03 2015
New Revision: 957081
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 Sun Jul 5 13:47:03
2015
@@ -118,11 +118,11 @@ Apache CXF -- JAX-RS Basics
<!-- Content -->
<div class="wiki-content">
<div id="ConfluenceContent"><p><span class="inline-first-p"
style="font-size:2em;font-weight:bold">JAX-RS : Understanding the
Basics</span> </p><p> </p><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1435780147437 {padding: 0px;}
-div.rbtoc1435780147437 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1435780147437 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1436103991545 {padding: 0px;}
+div.rbtoc1436103991545 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1436103991545 li {margin-left: 0px;padding-left: 0px;}
-/*]]>*/</style></p><div class="toc-macro rbtoc1435780147437">
+/*]]>*/</style></p><div class="toc-macro rbtoc1436103991545">
<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>
@@ -320,7 +320,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.<br
clear="none"> Parameters can be of type String or of any type that have
constructors accepting a String parameter or static 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, @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">
<pre class="brush: java; gutter: false; theme: Default"
style="font-size:12px;">public enum Gender {
MALE,
FEMALE;