[aerogear-dev] aeroGear.pipeline not working
Kris Borchers
kris at redhat.com
Fri Mar 29 02:02:40 EDT 2013
On Mar 29, 2013, at 12:57 AM, "soumik.basu" <soumik.basu at accenture.com> wrote:
> Seb,
> So I am returning the string with quotes only .....
>
> Summers Pittman wrote
>>> *Rest Service code :*
>>> @Path("/helloworld")
>>> @RequestScoped
>>> @Stateful
>>> public class RSHelloWorld {
>>>
>>> @GET
>>> @Produces(MediaType.APPLICATION_JSON)
>>> public String sayHello() {
>>> System.out.println("i got hit");
>>>
> *
>> return "Hello";
I believe what you need is:
return "\"Hello\"";
> *
>>> }
>>> }
>
>
> Please let me know, if where I am going wrong...
>
>
>
> --
> View this message in context: http://aerogear-dev.1069024.n5.nabble.com/aeroGear-pipeline-not-working-tp1968p2153.html
> Sent from the aerogear-dev mailing list archive at Nabble.com.
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
More information about the aerogear-dev
mailing list