cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r831638 - in /websites/production/cxf/content: cache/docs.pageCache docs/jaxrs-services-configuration.html
Date Mon, 10 Sep 2012 22:47:39 GMT
Author: buildbot
Date: Mon Sep 10 22:47:38 2012
New Revision: 831638

Log:
Production update by buildbot for cxf

Modified:
    websites/production/cxf/content/cache/docs.pageCache
    websites/production/cxf/content/docs/jaxrs-services-configuration.html

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

Modified: websites/production/cxf/content/docs/jaxrs-services-configuration.html
==============================================================================
--- websites/production/cxf/content/docs/jaxrs-services-configuration.html (original)
+++ websites/production/cxf/content/docs/jaxrs-services-configuration.html Mon Sep 10 22:47:38
2012
@@ -124,7 +124,7 @@ Apache CXF -- JAXRS Services Configurati
 <div id="ConfluenceContent"><p><span style="font-size:2em;font-weight:bold">
JAX-RS : Services Configuration </span></p>
 
 <div>
-<ul><li><a shape="rect" href="#JAXRSServicesConfiguration-ConfiguringJAXRSservicesprogrammatically">Configuring
JAX-RS services programmatically</a></li><li><a shape="rect" href="#JAXRSServicesConfiguration-OSGI">OSGI</a></li><ul><li><a
shape="rect" href="#JAXRSServicesConfiguration-Blueprint">Blueprint</a></li><li><a
shape="rect" href="#JAXRSServicesConfiguration-Spring">Spring</a></li></ul><li><a
shape="rect" href="#JAXRSServicesConfiguration-ConfiguringJAXRSendpointsprogrammaticallywithoutSpring">Configuring
JAX-RS endpoints programmatically without Spring</a></li><li><a shape="rect"
href="#JAXRSServicesConfiguration-ConfiguringJAXRSservicesincontainerwithSpringconfigurationfile.">Configuring
JAX-RS services in container with Spring configuration file.</a></li><ul><li><a
shape="rect" href="#JAXRSServicesConfiguration-web.xml">web.xml</a></li><ul><li><a
shape="rect" href="#JAXRSServicesConfiguration-UsingSpringContextLoaderListener">Using
Spring ContextLoaderListener</a></
 li><li><a shape="rect" href="#JAXRSServicesConfiguration-UsingCXFServletinitparameters">Using
CXFServlet init parameters</a></li></ul><li><a shape="rect" href="#JAXRSServicesConfiguration-beans.xml">beans.xml</a></li></ul><li><a
shape="rect" href="#JAXRSServicesConfiguration-ConfiguringJAXRSservicesusingexplicitbeanconfiguration">Configuring
JAX-RS services using explicit bean configuration</a></li><li><a shape="rect"
href="#JAXRSServicesConfiguration-SpringAOP">Spring AOP</a></li><li><a
shape="rect" href="#JAXRSServicesConfiguration-ConfiguringJAXRSservicesincontainerwithoutSpring">Configuring
JAX-RS services in container without Spring</a></li><ul><li><a
shape="rect" href="#JAXRSServicesConfiguration-AttachingJAXRSendpointstoanexistingJettyserver">Attaching
JAXRS endpoints to an existing Jetty server</a></li></ul><li><a
shape="rect" href="#JAXRSServicesConfiguration-JAXRSRuntimeDelegateandApplications">JAX-RS
RuntimeDelegate and Applications</a></li><li><a shape="rect" hre
 f="#JAXRSServicesConfiguration-ConfiguringJAXRSservicesprogrammaticallywithSpringconfigurationfile.">Configuring
JAX-RS services programmatically with Spring configuration file.</a></li><li><a
shape="rect" href="#JAXRSServicesConfiguration-Lifecyclemanagement">Lifecycle management</a></li><ul><li><a
shape="rect" href="#JAXRSServicesConfiguration-FromSpring">From Spring</a></li><li><a
shape="rect" href="#JAXRSServicesConfiguration-WithCXFNonSpringJaxrsServlet">With CXFNonSpringJaxrsServlet</a></li><li><a
shape="rect" href="#JAXRSServicesConfiguration-Programmatically">Programmatically</a></li><li><a
shape="rect" href="#JAXRSServicesConfiguration-PostConstructandPreDestroy">PostConstruct
and PreDestroy</a></li></ul><li><a shape="rect" href="#JAXRSServicesConfiguration-Locatingcustomresourcesinwebapplications">Locating
custom resources in web applications</a></li><li><a shape="rect" href="#JAXRSServicesConfiguration-Multipleendpointsandresourceclasses">Multiple
endpoints and re
 source classes</a></li><li><a shape="rect" href="#JAXRSServicesConfiguration-DynamicservletsandasingleJAXRSendpoint">Dynamic
servlets and a single JAX-RS endpoint</a></li></ul></div>
+<ul><li><a shape="rect" href="#JAXRSServicesConfiguration-ConfiguringJAXRSservicesprogrammatically">Configuring
JAX-RS services programmatically</a></li><li><a shape="rect" href="#JAXRSServicesConfiguration-OSGI">OSGI</a></li><ul><li><a
shape="rect" href="#JAXRSServicesConfiguration-Blueprint">Blueprint</a></li><li><a
shape="rect" href="#JAXRSServicesConfiguration-Spring">Spring</a></li></ul><li><a
shape="rect" href="#JAXRSServicesConfiguration-ConfiguringJAXRSendpointsprogrammaticallywithoutSpring">Configuring
JAX-RS endpoints programmatically without Spring</a></li><li><a shape="rect"
href="#JAXRSServicesConfiguration-ConfiguringJAXRSservicesincontainerwithSpringconfigurationfile.">Configuring
JAX-RS services in container with Spring configuration file.</a></li><ul><li><a
shape="rect" href="#JAXRSServicesConfiguration-web.xml">web.xml</a></li><ul><li><a
shape="rect" href="#JAXRSServicesConfiguration-UsingSpringContextLoaderListener">Using
Spring ContextLoaderListener</a></
 li><li><a shape="rect" href="#JAXRSServicesConfiguration-UsingCXFServletinitparameters">Using
CXFServlet init parameters</a></li></ul><li><a shape="rect" href="#JAXRSServicesConfiguration-beans.xml">beans.xml</a></li></ul><li><a
shape="rect" href="#JAXRSServicesConfiguration-ConfiguringJAXRSservicesusingexplicitbeanconfiguration">Configuring
JAX-RS services using explicit bean configuration</a></li><li><a shape="rect"
href="#JAXRSServicesConfiguration-SpringAOP">Spring AOP</a></li><li><a
shape="rect" href="#JAXRSServicesConfiguration-ConfiguringJAXRSservicesincontainerwithoutSpring">Configuring
JAX-RS services in container without Spring</a></li><ul><li><a
shape="rect" href="#JAXRSServicesConfiguration-AttachingJAXRSendpointstoanexistingJettyserver">Attaching
JAXRS endpoints to an existing Jetty server</a></li></ul><li><a
shape="rect" href="#JAXRSServicesConfiguration-JAXRSRuntimeDelegateandApplications">JAX-RS
RuntimeDelegate and Applications</a></li><li><a shape="rect" hre
 f="#JAXRSServicesConfiguration-ConfiguringJAXRSservicesprogrammaticallywithSpringconfigurationfile.">Configuring
JAX-RS services programmatically with Spring configuration file.</a></li><li><a
shape="rect" href="#JAXRSServicesConfiguration-Lifecyclemanagement">Lifecycle management</a></li><ul><li><a
shape="rect" href="#JAXRSServicesConfiguration-FromSpring">From Spring</a></li><li><a
shape="rect" href="#JAXRSServicesConfiguration-WithCXFNonSpringJaxrsServlet">With CXFNonSpringJaxrsServlet</a></li><li><a
shape="rect" href="#JAXRSServicesConfiguration-Programmatically">Programmatically</a></li><li><a
shape="rect" href="#JAXRSServicesConfiguration-PostConstructandPreDestroy">PostConstruct
and PreDestroy</a></li></ul><li><a shape="rect" href="#JAXRSServicesConfiguration-Locatingcustomresourcesinwebapplications">Locating
custom resources in web applications</a></li><li><a shape="rect" href="#JAXRSServicesConfiguration-Multipleendpointsandresourceclasses">Multiple
endpoints and re
 source classes</a></li><li><a shape="rect" href="#JAXRSServicesConfiguration-DynamicservletsandasingleJAXRSendpoint">Dynamic
servlets and a single JAX-RS endpoint</a></li><li><a shape="rect" href="#JAXRSServicesConfiguration-ServletContainerConfiguration">Servlet
Container Configuration</a></li><ul><li><a shape="rect" href="#JAXRSServicesConfiguration-Tomcat">Tomcat</a></li></ul></ul></div>
 
 <h1><a shape="rect" name="JAXRSServicesConfiguration-ConfiguringJAXRSservicesprogrammatically"></a>Configuring
JAX-RS services programmatically</h1>
 
@@ -932,7 +932,18 @@ Since CXF 2.2.3 one can put them directl
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
 <pre class="code-java"></pre>
-</div></div></div>
+</div></div>
+
+<h1><a shape="rect" name="JAXRSServicesConfiguration-ServletContainerConfiguration"></a>Servlet
Container Configuration</h1>
+
+<p>In some cases servlet containers may have to be configured to get URI containing
various encoded characters passed to the JAX-RS runtime unchanged.</p>
+
+<h2><a shape="rect" name="JAXRSServicesConfiguration-Tomcat"></a>Tomcat</h2>
+
+<p>1. System "org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH"<br clear="none">
+and "org.apache.catalina.connector.CoyoteAdapter.ALLOW_BACKSLASH" properties may have to
be set to "true" to support URIs containing encoded forward or backward slashes.<br clear="none">
+2. When using mod_jk - ensure that the JkOptions setting has +ForwardURICompatUnparsed set.
</p>
+</div>
            </div>
            <!-- Content -->
          </td>



Mime
View raw message