cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r1025591 - in /websites/production/cxf/content: cache/docs.pageCache docs/jax-rs-multiparts.html docs/securing-cxf-services.html
Date Mon, 19 Feb 2018 11:57:23 GMT
Author: buildbot
Date: Mon Feb 19 11:57:23 2018
New Revision: 1025591

Log:
Production update by buildbot for cxf

Modified:
    websites/production/cxf/content/cache/docs.pageCache
    websites/production/cxf/content/docs/jax-rs-multiparts.html
    websites/production/cxf/content/docs/securing-cxf-services.html

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

Modified: websites/production/cxf/content/docs/jax-rs-multiparts.html
==============================================================================
--- websites/production/cxf/content/docs/jax-rs-multiparts.html (original)
+++ websites/production/cxf/content/docs/jax-rs-multiparts.html Mon Feb 19 11:57:23 2018
@@ -32,8 +32,8 @@
 <link type="text/css" rel="stylesheet" href="/resources/highlighter/styles/shThemeCXF.css">
 
 <script src='/resources/highlighter/scripts/shCore.js'></script>
-<script src='/resources/highlighter/scripts/shBrushXml.js'></script>
 <script src='/resources/highlighter/scripts/shBrushJava.js'></script>
+<script src='/resources/highlighter/scripts/shBrushXml.js'></script>
 <script>
   SyntaxHighlighter.defaults['toolbar'] = false;
   SyntaxHighlighter.all();
@@ -117,15 +117,15 @@ Apache CXF -- JAX-RS Multiparts
          <td height="100%">
            <!-- Content -->
            <div class="wiki-content">
-<div id="ConfluenceContent"><p>&#160;</p><p>&#160;</p><p>&#160;</p><p>&#160;</p><p>&#160;<span
style="font-size:2em;font-weight:bold">JAX-RS : Support for Multiparts</span>
+<div id="ConfluenceContent"><p><span style="font-size:2em;font-weight:bold">JAX-RS
: Support for Multiparts</span>
 
 
-&#160;</p><p>&#160;</p><p>&#160;</p><p>&#160;</p><p>&#160;</p><p><style
type="text/css">/*<![CDATA[*/
-div.rbtoc1508777308231 {padding: 0px;}
-div.rbtoc1508777308231 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1508777308231 li {margin-left: 0px;padding-left: 0px;}
+&#160;</p><p><style type="text/css">/*<![CDATA[*/
+div.rbtoc1519041404373 {padding: 0px;}
+div.rbtoc1519041404373 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1519041404373 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1508777308231">
+/*]]>*/</style></p><div class="toc-macro rbtoc1519041404373">
 <ul class="toc-indentation"><li><a shape="rect" href="#JAX-RSMultiparts-Readingattachments">Reading
attachments</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#JAX-RSMultiparts-MultipartannotationandOptionalattachments">Multipart
annotation and Optional attachments</a></li></ul>
 </li><li><a shape="rect" href="#JAX-RSMultiparts-Writingattachments">Writing
attachments</a></li><li><a shape="rect" href="#JAX-RSMultiparts-UploadingfileswithClientAPI">Uploading
files with Client API</a></li><li><a shape="rect" href="#JAX-RSMultiparts-Readinglargeattachments">Reading
large attachments</a>

Modified: websites/production/cxf/content/docs/securing-cxf-services.html
==============================================================================
--- websites/production/cxf/content/docs/securing-cxf-services.html (original)
+++ websites/production/cxf/content/docs/securing-cxf-services.html Mon Feb 19 11:57:23 2018
@@ -117,11 +117,11 @@ Apache CXF -- Securing CXF Services
            <!-- Content -->
            <div class="wiki-content">
 <div id="ConfluenceContent"><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1519037802680 {padding: 0px;}
-div.rbtoc1519037802680 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1519037802680 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1519041405325 {padding: 0px;}
+div.rbtoc1519041405325 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1519041405325 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1519037802680">
+/*]]>*/</style></p><div class="toc-macro rbtoc1519041405325">
 <ul class="toc-indentation"><li><a shape="rect" href="#SecuringCXFServices-Securetransports">Secure
transports</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#SecuringCXFServices-HTTPS">HTTPS</a></li></ul>
 </li><li><a shape="rect" href="#SecuringCXFServices-SecuringJAX-WSservices">Securing
JAX-WS services</a>
@@ -220,7 +220,7 @@ div.rbtoc1519037802680 li {margin-left:
 &lt;jaxrs:server&gt;
 
 </pre>
-</div></div><p>When one of the limits is reached, the error is returned.
JAX-WS consumers will receive 500, JAX-RS/HTTP consumers: 413.</p><p>The following
system properties can also be set up for JAX-WS endpoints: "org.apache.cxf.staxutils.innerElementCountThreshold"
and "org.apache.cxf.staxutils.innerElementLevelThreshold".</p><p>Please check
this <a shape="rect" href="https://cwiki.apache.org/confluence/display/CXF20DOC/JAX-RS+Data+Bindings#JAX-RSDataBindings-ControllingLargeJAXBXMLandJSONinputpayloads">section</a>
for the additional information on how JAX-RS JAXB-based providers can be configured.</p><h2
id="SecuringCXFServices-Multiparts">Multiparts</h2><p>The "org.apache.cxf.io.CachedOutputStream.MaxSize"
system property or "attachment-max-size" per-endpoint contextual property can be used to control
the size of large attachments. When the limits is reached, the error is returned. JAX-WS consumers
will receive 500, JAX-RS/HTTP consumers: 413.</p><h1 id="SecuringCXFServices-Lar
 gedatastreamcaching">Large data stream caching</h1><p>A large stream based
message or data will be cached in a temporary file. In default, this caching occurs at data
size larger than 64K bytes and a temporary file is written in the system's temporary directory.
You can change this behavior and other properties of the caching feature by explicitly setting
the following properties.</p><p>To change the default behavior for the entire
system, you can set the following system properties.</p><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Property
Name</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Value</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>org.apache.cxf.io.CachedOutputStream.Threshold</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The threshold value in bytes to switch
from memory to file caching. Note that if you are using attachments, the value (or default
v
 alue) set for the "<code class="java string">attachment-memory-threshold</code>"
property will override this value.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>org.apache.cxf.io.CachedOutputStream.MaxSize</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The data size in bytes to limit the
maximum data size to be cached</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>org.apache.cxf.io.CachedOutputStream.OutputDirectory</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The directory name for storing the
temporary files</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>org.apache.cxf.io.CachedOutputStream.CipherTransformation</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The cipher transformation name for
encryptiing the cached content</p></td></tr></tbody></table></div><p>To
change the default behavior for a specific bus, you can set the corresponding bus.io.CachedOutputStream
propertie
 s (e.g., bus.io.CachedOutputStream.Threshold for org.apache.cxf.io.CachedOutputStream.Threshold).</p><p>The
encryption option, which is available from CXF 2.6.4 and 2.7.1, uses a symmetric encryption
using a generated key and it can be used to protect the cached content from unauthorized access.
To enable encryption, the CipherTransformation property can be set to the name of an appropriate
stream or 8-bit block cipher transformation (e.g., RC4, AES/CTR/NoPadding, etc) that is supported
by the environment. However, it is noted that enabling the encryption will result in an increased
processing time and it is therefore recommended only in specific use cases where other means
to protect the cached content is unavailable.</p></div>
+</div></div><p>When one of the limits is reached, the error is returned.
JAX-WS consumers will receive 500, JAX-RS/HTTP consumers: 413.</p><p>The following
system properties can also be set up for JAX-WS endpoints: "org.apache.cxf.staxutils.innerElementCountThreshold"
and "org.apache.cxf.staxutils.innerElementLevelThreshold".</p><p>Please check
this <a shape="rect" href="https://cwiki.apache.org/confluence/display/CXF20DOC/JAX-RS+Data+Bindings#JAX-RSDataBindings-ControllingLargeJAXBXMLandJSONinputpayloads">section</a>
for the additional information on how JAX-RS JAXB-based providers can be configured.</p><h2
id="SecuringCXFServices-Multiparts">Multiparts</h2><p>The "org.apache.cxf.io.CachedOutputStream.MaxSize"
system property or "attachment-max-size" per-endpoint contextual property can be used to control
the size of large attachments. When the limits is reached, the error is returned. JAX-WS consumers
will receive 500, JAX-RS/HTTP consumers: 413.</p><h1 id="SecuringCXFServices-Lar
 gedatastreamcaching">Large data stream caching</h1><p>A large stream based
message or data will be cached in a temporary file. In default, this caching occurs at data
size larger than 64K bytes and a temporary file is written in the system's temporary directory.
You can change this behavior and other properties of the caching feature by explicitly setting
the following properties.</p><p>To change the default behavior for the entire
system, you can set the following system properties.</p><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Property
Name</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Value</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>org.apache.cxf.io.CachedOutputStream.Threshold</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The threshold value in bytes to switch
from memory to file caching. Note that if you are using attachments, the value (or default
v
 alue) set for the "<code class="java string">attachment-memory-threshold</code>"
property will override this value.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>org.apache.cxf.io.CachedOutputStream.MaxSize</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The data size in bytes to limit the
maximum data size to be cached</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>org.apache.cxf.io.CachedOutputStream.OutputDirectory</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The directory name for storing the
temporary files</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>org.apache.cxf.io.CachedOutputStream.CipherTransformation</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The cipher transformation name for
encrypting the cached content</p></td></tr></tbody></table></div><p>To
change the default behavior for a specific bus, you can set the corresponding bus.io.CachedOutputStream
properties
  (e.g., bus.io.CachedOutputStream.Threshold for org.apache.cxf.io.CachedOutputStream.Threshold).</p><p>The
encryption option, which is available from CXF 2.6.4 and 2.7.1, uses a symmetric encryption
using a generated key and it can be used to protect the cached content from unauthorized access.
To enable encryption, the CipherTransformation property can be set to the name of an appropriate
stream or 8-bit block cipher transformation (e.g., RC4, AES/CTR/NoPadding, etc) that is supported
by the environment. However, it is noted that enabling the encryption will result in an increased
processing time and it is therefore recommended only in specific use cases where other means
to protect the cached content is unavailable.</p></div>
            </div>
            <!-- Content -->
          </td>



Mime
View raw message