com.caucho.hessian.server
Class HessianServlet
GenericServlet
com.caucho.hessian.server.HessianServlet
public class HessianServlet
extends GenericServlet
Servlet for serving Hessian services.
Class | getAPIClass() - Gets the api-class.
|
String | getServletInfo()
|
private void | init(Object service)
|
void | init(ServletConfig config) - Initialize the service, including the service object.
|
private Class | loadClass(String className)
|
void | service(ServletRequest request, ServletResponse response) - Execute a request.
|
void | setAPIClass(Class api) - Sets the api-class.
|
void | setHome(Object home) - Sets the home implementation
|
void | setHomeAPI(Class api) - Sets the home api.
|
void | setObject(Object object) - Sets the object implementation
|
void | setObjectAPI(Class api) - Sets the object api.
|
void | setService(Object service) - Sets the service class.
|
_homeAPI
private Class _homeAPI
_homeImpl
private Object _homeImpl
_objectAPI
private Class _objectAPI
_objectImpl
private Object _objectImpl
getAPIClass
public Class getAPIClass()
Gets the api-class.
getServletInfo
public String getServletInfo()
init
private void init(Object service)
throws ServletException
init
public void init(ServletConfig config)
throws ServletException
Initialize the service, including the service object.
loadClass
private Class loadClass(String className)
throws ClassNotFoundException
service
public void service(ServletRequest request,
ServletResponse response)
throws IOException,
ServletException
Execute a request. The path-info of the request selects the bean.
Once the bean's selected, it will be applied.
setAPIClass
public void setAPIClass(Class api)
Sets the api-class.
setHome
public void setHome(Object home)
Sets the home implementation
setHomeAPI
public void setHomeAPI(Class api)
Sets the home api.
setObject
public void setObject(Object object)
Sets the object implementation
setObjectAPI
public void setObjectAPI(Class api)
Sets the object api.
setService
public void setService(Object service)
Sets the service class.