CXF-RS Hiding JAXRS Service Endpoints Listing

You may come across a scenario where you want to stop listing of the exposed service from given endpoint. This can be achieved by setting the property "org.apache.cxf.endpoint.private" to true as shown in following snippet:

<jaxrs:server id="serivceId" address="/test">
.
.
.
<jaxrs:properties>
<entry key="org.apache.cxf.endpoint.private" value="true"/>
</jaxrs:properties>
</jaxrs:server>


This will stop the listing of the service when url http://server:port/test is typed in the browser.

Comments

  1. no se ve el codigo capo

    ReplyDelete
  2. (Google translator) gracias, he actualizado el blog. Espero que esto sea útil ...

    ReplyDelete

Post a Comment

Popular posts from this blog

java.net.SocketException: Connection reset

Hide empty last column from Table/Tree Viewer

Spring: implements interface not working in @Controller