mx4j.tools.remote.caucho
Class CauchoServlet
java.lang.Object
HttpServlet
mx4j.tools.remote.caucho.CauchoServlet
- Direct Known Subclasses:
- BurlapServlet, HessianServlet
- public abstract class CauchoServlet
- extends HttpServlet
- Version:
- $Revision: 1.4 $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CauchoServlet
public CauchoServlet()
init
public void init()
throws ServletException
- Throws:
ServletException
mapMethods
protected void mapMethods(java.lang.Class cls,
java.util.Map methods)
findMethod
protected java.lang.reflect.Method findMethod(java.lang.String methodName)
mangleMethodName
protected java.lang.String mangleMethodName(java.lang.reflect.Method method)
service
protected void service(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
java.io.IOException
- Throws:
ServletException
java.io.IOException
createCauchoInput
protected abstract CauchoInput createCauchoInput(java.io.InputStream stream)
createCauchoOutput
protected abstract CauchoOutput createCauchoOutput(java.io.OutputStream stream)
getService
protected abstract java.lang.Object getService()
invoke
protected void invoke(HttpServletRequest request,
CauchoInput input,
CauchoOutput output)
throws java.io.IOException
- Throws:
java.io.IOException
readHeaders
protected java.util.Map readHeaders(CauchoInput input)
throws java.io.IOException
- Throws:
java.io.IOException
readArguments
protected java.lang.Object[] readArguments(CauchoInput input,
java.lang.reflect.Method method)
throws java.io.IOException
- Throws:
java.io.IOException
invoke
protected java.lang.Object invoke(java.lang.String url,
java.lang.Object target,
java.lang.reflect.Method method,
java.util.Map headers,
java.lang.Object[] values)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.