Class Hello
- java.lang.Object
-
- jadex.webservice.examples.rs.hello.Hello
-
@Path("") public class Hello extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Hello()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getJSON2(A a)
A
getXML()
static void
main(java.lang.String[] args)
Main for testing.java.lang.String
sayHTMLHello()
java.lang.String
sayPlainTextHello()
java.lang.String
sayXMLHello()
-
-
-
Method Detail
-
sayPlainTextHello
@GET @Produces("text/plain") public java.lang.String sayPlainTextHello()
-
sayXMLHello
@GET @Produces("text/xml") public java.lang.String sayXMLHello()
-
sayHTMLHello
@GET @Produces("text/html") public java.lang.String sayHTMLHello()
-
getJSON2
@POST @Path("getJSON") @Consumes("application/json") @Produces("text/plain") public java.lang.String getJSON2(A a)
-
getXML
@GET @Path("getXML") @Produces("application/xml") public A getXML()
-
main
public static void main(java.lang.String[] args)
Main for testing.
-
-