Class TestHessianServlet

  • All Implemented Interfaces:
    Test, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class TestHessianServlet
    extends HessianServlet
    implements Test
    The test service is a Hessian 2.0 protocol test for developers of Hessian 2.0 clients. For a new client the recommended order is:
    • methodNull
    • methodHello
    See Also:
    Serialized Form
    • Constructor Detail

      • TestHessianServlet

        public TestHessianServlet()
    • Method Detail

      • nullCall

        public void nullCall()
        Does nothing.
        Specified by:
        nullCall in interface Test
      • hello

        public String hello()
        Hello, World.
        Specified by:
        hello in interface Test
      • subtract

        public int subtract​(int a,
                            int b)
        Subtraction
        Specified by:
        subtract in interface Test
      • echo

        public Object echo​(Object value)
        Echos the object to the server.
        Specified by:
        echo in interface Test