cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r830975 - in /websites/production/cxf/content: cache/docs.pageCache docs/jax-rs-cors.html
Date Mon, 03 Sep 2012 10:47:26 GMT
Author: buildbot
Date: Mon Sep  3 10:47:25 2012
New Revision: 830975

Log:
Production update by buildbot for cxf

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

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

Modified: websites/production/cxf/content/docs/jax-rs-cors.html
==============================================================================
--- websites/production/cxf/content/docs/jax-rs-cors.html (original)
+++ websites/production/cxf/content/docs/jax-rs-cors.html Mon Sep  3 10:47:25 2012
@@ -193,13 +193,11 @@ Apache CXF -- JAX-RS CORS
         <span class="code-keyword">return</span> Response.ok().build();
     }
 
-    <span class="code-comment">// This method will <span class="code-keyword">do</span>
a preflight check itself, see a localPreflight property
+    <span class="code-comment">// This method will <span class="code-keyword">do</span>
a preflight check itself
 </span>    @OPTIONS
-    @Path(<span class="code-quote">"/delete"</span>)
-    @CrossOriginResourceSharing(
-       localPreflight = <span class="code-keyword">true</span>
-    )
-    <span class="code-keyword">public</span> Response deleteOptions() {
+    @Path(<span class="code-quote">"/"</span>)
+    @LocalPreflight
+    <span class="code-keyword">public</span> Response options() {
         <span class="code-object">String</span> origin = headers.getRequestHeader(<span
class="code-quote">"Origin"</span>).get(0);
         <span class="code-keyword">if</span> (<span class="code-quote">"http:<span
class="code-comment">//area51.mil:3333"</span>.equals(origin)) {
 </span>            <span class="code-keyword">return</span> Response.ok()



Mime
View raw message