Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/jharting/seam-rest
Browse files Browse the repository at this point in the history
  • Loading branch information
jharting committed Jan 13, 2011
2 parents c5dce4a + 7cdaede commit 03e0ae1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/reference/src/main/docbook/en-US/client.xml
Expand Up @@ -32,12 +32,12 @@
<example>
<title>Sample JAX-RS annotated interface</title>
<programlisting role="JAVA"><![CDATA[@Path("/task")
@Produces(application/xml)
@Produces("application/xml")
public interface TaskService
{
@GET
@Path(/{id})
Task getTask(@PathParam”(“id”)long id);
@Path("/{id}")
Task getTask(@PathParam("id")long id);
}]]></programlisting>
</example>

Expand Down
4 changes: 2 additions & 2 deletions docs/reference/src/main/docbook/en-US/installation.xml
Expand Up @@ -63,7 +63,7 @@
</para>

<para>
These components registered by default if classpath scanning
These components are registered by default if classpath scanning
of JAX-RS resources and providers is enabled (an empty <literal>javax.ws.rs.coreApplication</literal> is provided).
</para>

Expand All @@ -72,7 +72,7 @@ public class MyApplication extends Application {}]]></programlisting>

<para>
Otherwise, if the Application's <literal>getClasses()</literal> method is overriden to select resources and providers explicitly,
<literal>SeamExceptionMapper</literal> must be selected as well.
add <literal>SeamExceptionMapper</literal> and <literal>TemplatingMessageBodyWriter</literal>.
</para>

<programlisting role="JAVA"><![CDATA[@ApplicationPath("/api/*")
Expand Down

0 comments on commit 03e0ae1

Please sign in to comment.