Class EchoService


  • @Path("/EchoService")
    public class EchoService
    extends java.lang.Object
    EchoService resource class.
    • Constructor Summary

      Constructors 
      Constructor Description
      EchoService()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String echo​(java.lang.String body)  
      java.lang.String fileWrite​(java.lang.String body)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EchoService

        public EchoService()
    • Method Detail

      • echo

        @POST
        @Path("echo")
        @Consumes("text/plain")
        @Produces("text/plain")
        public java.lang.String echo​(java.lang.String body)
      • fileWrite

        @POST
        @Path("fileecho")
        @Consumes("text/plain")
        @Produces("text/plain")
        public java.lang.String fileWrite​(java.lang.String body)
                                   throws java.lang.InterruptedException,
                                          java.io.IOException
        Throws:
        java.lang.InterruptedException
        java.io.IOException