Skip to content
This repository was archived by the owner on May 28, 2018. It is now read-only.

Commit 3f299c8

Browse files
Michal GajdosGerrit Code Review
authored andcommitted
Merge "J-332: Create documentation for Jersey Rx Client Extension"
2 parents 991998a + 0b21a26 commit 3f299c8

File tree

36 files changed

+4002
-80
lines changed

36 files changed

+4002
-80
lines changed

docs/pom.xml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,17 +74,18 @@
7474
<copy todir="${src.dir}">
7575
<fileset dir="src/main/docbook" />
7676
</copy>
77-
<replace file="${src.dir}/jersey.ent" token="$version" value="${jersey.version}" />
78-
<replace file="${src.dir}/jersey.ent" token="$docs.version" value="${jersey.docs.version}" />
7977
<replace file="${src.dir}/jersey.ent" token="$apidocs.version" value="${jersey.apidocs.version}" />
80-
<replace file="${src.dir}/jersey.ent" token="$src.branch" value="${jersey.src.branch}" />
81-
<replace file="${src.dir}/jersey.ent" token="$repository" value="${javanet.repository.id}" />
82-
<replace file="${src.dir}/jersey.ent" token="$jax-rs-version" value="${jaxrs.version}" />
83-
<replace file="${src.dir}/jersey.ent" token="$javax-el-version" value="${javax.el.version}" />
78+
<replace file="${src.dir}/jersey.ent" token="$docs.version" value="${jersey.docs.version}" />
79+
<replace file="${src.dir}/jersey.ent" token="$guava-version" value="${guava.version}" />
80+
<replace file="${src.dir}/jersey.ent" token="$jackson-version" value="${jackson.version}" />
8481
<replace file="${src.dir}/jersey.ent" token="$javax-el-impl-version" value="${javax.el.impl.version}" />
82+
<replace file="${src.dir}/jersey.ent" token="$javax-el-version" value="${javax.el.version}" />
8583
<replace file="${src.dir}/jersey.ent" token="$jax-rs-api-jar-version" value="${jaxrs.impl.version}" />
84+
<replace file="${src.dir}/jersey.ent" token="$jax-rs-version" value="${jaxrs.version}" />
8685
<replace file="${src.dir}/jersey.ent" token="$jaxb-api-jar-version" value="${jaxb.api.version}" />
87-
<replace file="${src.dir}/jersey.ent" token="$jackson-version" value="${jackson.version}" />
86+
<replace file="${src.dir}/jersey.ent" token="$repository" value="${javanet.repository.id}" />
87+
<replace file="${src.dir}/jersey.ent" token="$src.branch" value="${jersey.src.branch}" />
88+
<replace file="${src.dir}/jersey.ent" token="$version" value="${jersey.version}" />
8889
</tasks>
8990
</configuration>
9091
<id>process-entities</id>
119 KB
Loading
171 KB
Loading
90.5 KB
Loading

docs/src/main/docbook/jersey.ent

Lines changed: 83 additions & 2 deletions
Large diffs are not rendered by default.

docs/src/main/docbook/media.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
55
6-
Copyright (c) 2012-2014 Oracle and/or its affiliates. All rights reserved.
6+
Copyright (c) 2012-2015 Oracle and/or its affiliates. All rights reserved.
77
88
The contents of this file are subject to the terms of either the GNU
99
General Public License Version 2 only ("GPL") or the Common Development
@@ -962,7 +962,7 @@ final Application application = new ResourceConfig()
962962
<title><literal>@JSONP</literal> - JSON with Padding Support</title>
963963

964964
<para>
965-
Jersey provides out-of-the-box support for <link xlink:href='&wikipedia.uri;/JSONP'>JSONP</link>
965+
Jersey provides out-of-the-box support for <link xlink:href='&wikipedia.uri;JSONP'>JSONP</link>
966966
- JSON with padding. The following conditions has to be met to take advantage of this capability:
967967

968968
<itemizedlist>
@@ -1532,9 +1532,9 @@ final Application application = new ResourceConfig()
15321532
<para>
15331533
&jersey.media.multipart.MultiPart; class (or it's subclasses) can be used as an entry point to using
15341534
&lit.jersey-media-multipart; module on the client side. This class represents a
1535-
<link xlink:href='&wikipedia.uri;/MIME#Multipart_messages'>MIME multipart message</link> and is able
1535+
<link xlink:href='&wikipedia.uri;MIME#Multipart_messages'>MIME multipart message</link> and is able
15361536
to hold an arbitrary number of &jersey.media.multipart.BodyPart;s. Default media type is
1537-
<link xlink:href='&wikipedia.uri;/MIME#Mixed'>multipart/mixed</link>
1537+
<link xlink:href='&wikipedia.uri;MIME#Mixed'>multipart/mixed</link>
15381538
for &lit.jersey.media.multipart.MultiPart; entity and <literal>text/plain</literal> for
15391539
&lit.jersey.media.multipart.BodyPart;.
15401540

docs/src/main/docbook/monitoring.xml

Lines changed: 41 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,45 @@
11
<?xml version="1.0"?>
22
<!--
3-
~ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
4-
~
5-
~ Copyright (c) 2013-2014 Oracle and/or its affiliates. All rights reserved.
6-
~
7-
~ The contents of this file are subject to the terms of either the GNU
8-
~ General Public License Version 2 only ("GPL") or the Common Development
9-
~ and Distribution License("CDDL") (collectively, the "License"). You
10-
~ may not use this file except in compliance with the License. You can
11-
~ obtain a copy of the License at
12-
~ http://glassfish.java.net/public/CDDL+GPL_1_1.html
13-
~ or packager/legal/LICENSE.txt. See the License for the specific
14-
~ language governing permissions and limitations under the License.
15-
~
16-
~ When distributing the software, include this License Header Notice in each
17-
~ file and include the License file at packager/legal/LICENSE.txt.
18-
~
19-
~ GPL Classpath Exception:
20-
~ Oracle designates this particular file as subject to the "Classpath"
21-
~ exception as provided by Oracle in the GPL Version 2 section of the License
22-
~ file that accompanied this code.
23-
~
24-
~ Modifications:
25-
~ If applicable, add the following below the License Header, with the fields
26-
~ enclosed by brackets [] replaced by your own identifying information:
27-
~ "Portions Copyright [year] [name of copyright owner]"
28-
~
29-
~ Contributor(s):
30-
~ If you wish your version of this file to be governed by only the CDDL or
31-
~ only the GPL Version 2, indicate your decision by adding "[Contributor]
32-
~ elects to include this software in this distribution under the [CDDL or GPL
33-
~ Version 2] license." If you don't indicate a single choice of license, a
34-
~ recipient has the option to distribute your version of this file under
35-
~ either the CDDL, the GPL Version 2 or to extend the choice of license to
36-
~ its licensees as provided above. However, if you add GPL Version 2 code
37-
~ and therefore, elected the GPL Version 2 license, then the option applies
38-
~ only if the new code is made subject to such option by the copyright
39-
~ holder.
40-
-->
3+
4+
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
5+
6+
Copyright (c) 2013-2015 Oracle and/or its affiliates. All rights reserved.
7+
8+
The contents of this file are subject to the terms of either the GNU
9+
General Public License Version 2 only ("GPL") or the Common Development
10+
and Distribution License("CDDL") (collectively, the "License"). You
11+
may not use this file except in compliance with the License. You can
12+
obtain a copy of the License at
13+
http://glassfish.java.net/public/CDDL+GPL_1_1.html
14+
or packager/legal/LICENSE.txt. See the License for the specific
15+
language governing permissions and limitations under the License.
16+
17+
When distributing the software, include this License Header Notice in each
18+
file and include the License file at packager/legal/LICENSE.txt.
19+
20+
GPL Classpath Exception:
21+
Oracle designates this particular file as subject to the "Classpath"
22+
exception as provided by Oracle in the GPL Version 2 section of the License
23+
file that accompanied this code.
24+
25+
Modifications:
26+
If applicable, add the following below the License Header, with the fields
27+
enclosed by brackets [] replaced by your own identifying information:
28+
"Portions Copyright [year] [name of copyright owner]"
29+
30+
Contributor(s):
31+
If you wish your version of this file to be governed by only the CDDL or
32+
only the GPL Version 2, indicate your decision by adding "[Contributor]
33+
elects to include this software in this distribution under the [CDDL or GPL
34+
Version 2] license." If you don't indicate a single choice of license, a
35+
recipient has the option to distribute your version of this file under
36+
either the CDDL, the GPL Version 2 or to extend the choice of license to
37+
its licensees as provided above. However, if you add GPL Version 2 code
38+
and therefore, elected the GPL Version 2 license, then the option applies
39+
only if the new code is made subject to such option by the copyright
40+
holder.
41+
42+
-->
4143
<!DOCTYPE chapter [<!ENTITY % ents SYSTEM "jersey.ent" > %ents;]>
4244
<chapter xmlns="http://docbook.org/ns/docbook"
4345
version="5.0"
@@ -299,7 +301,7 @@ Application my-monitored-application destroyed.</programlisting>
299301
Implement event listeners as thread safe. While individual events will be arriving serially,
300302
individual listener invocations may occur from different threads. Thus make sure that your listeners
301303
are processing data safely with respect to their
302-
<link xlink:href='&wikipedia.uri;/Java_Memory_Model'>Java Memory Model</link> visibility (in the example
304+
<link xlink:href='&wikipedia.uri;Java_Memory_Model'>Java Memory Model</link> visibility (in the example
303305
above the fields <literal>requestNumber</literal>, <literal>startTime</literal> of
304306
<literal>MyRequestEventListener</literal> are final and therefore the same value is
305307
visible for all threads executing the <literal>onEvent()</literal> method).

0 commit comments

Comments
 (0)