Package com.caucho.hessian.test
Class TestHessianServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- com.caucho.hessian.server.HessianServlet
-
- com.caucho.hessian.test.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 Summary
Constructors Constructor Description TestHessianServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectecho(Object value)Echos the object to the server.voidfault()Throws an application fault.Stringhello()Hello, World.voidnullCall()Does nothing.intsubtract(int a, int b)Subtraction-
Methods inherited from class com.caucho.hessian.server.HessianServlet
allow, createHessian2Input, deny, getAPIClass, getContextClassLoader, getSerializerFactory, getServletInfo, init, invoke, service, setAPIClass, setDebug, setHome, setHomeAPI, setLogName, setObject, setObjectAPI, setSendCollectionType, setSerializerFactory, setService, setWhitelist
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
-
-
-
-
Method Detail
-
fault
public void fault() throws IOExceptionThrows an application fault.- Specified by:
faultin interfaceTest- Throws:
IOException
-
-