|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.caucho.hessian.server.HessianServlet
public class HessianServlet
Servlet for serving Hessian services.
| Constructor Summary | |
|---|---|
HessianServlet()
|
|
| Method Summary | |
|---|---|
protected Hessian2Input |
createHessian2Input(InputStream is)
|
Class<?> |
getAPIClass()
Gets the api-class. |
protected ClassLoader |
getContextClassLoader()
|
SerializerFactory |
getSerializerFactory()
Gets the serializer factory. |
String |
getServletInfo()
|
void |
init(ServletConfig config)
Initialize the service, including the service object. |
protected void |
invoke(InputStream is,
OutputStream os,
String objectId,
SerializerFactory serializerFactory)
|
void |
service(ServletRequest request,
ServletResponse response)
Execute a request. |
void |
setAPIClass(Class<?> api)
Sets the api-class. |
void |
setDebug(boolean isDebug)
Sets the debugging flag. |
void |
setHome(Object home)
Sets the home implementation |
void |
setHomeAPI(Class<?> api)
Sets the home api. |
void |
setLogName(String name)
Sets the debugging log name. |
void |
setObject(Object object)
Sets the object implementation |
void |
setObjectAPI(Class<?> api)
Sets the object api. |
void |
setSendCollectionType(boolean sendType)
Sets the serializer send collection java type. |
void |
setSerializerFactory(SerializerFactory factory)
Sets the serializer factory. |
void |
setService(Object service)
Sets the service class. |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HessianServlet()
| Method Detail |
|---|
public String getServletInfo()
getServletInfo in interface ServletgetServletInfo in class GenericServletpublic void setHomeAPI(Class<?> api)
public void setHome(Object home)
public void setObjectAPI(Class<?> api)
public void setObject(Object object)
public void setService(Object service)
public void setAPIClass(Class<?> api)
public Class<?> getAPIClass()
public void setSerializerFactory(SerializerFactory factory)
public SerializerFactory getSerializerFactory()
public void setSendCollectionType(boolean sendType)
public void setDebug(boolean isDebug)
public void setLogName(String name)
public void init(ServletConfig config)
throws ServletException
init in interface Servletinit in class GenericServletServletExceptionprotected ClassLoader getContextClassLoader()
public void service(ServletRequest request,
ServletResponse response)
throws IOException,
ServletException
service in interface Servletservice in class HttpServletIOException
ServletException
protected void invoke(InputStream is,
OutputStream os,
String objectId,
SerializerFactory serializerFactory)
throws Exception
Exceptionprotected Hessian2Input createHessian2Input(InputStream is)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||