|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.services.server.AbstractSkeleton
com.caucho.hessian.server.HessianSkeleton
public class HessianSkeleton
Proxy class for Hessian services.
| Constructor Summary | |
|---|---|
HessianSkeleton(Class<?> apiClass)
Create a new hessian skeleton. |
|
HessianSkeleton(Object service,
Class<?> apiClass)
Create a new hessian skeleton. |
|
| Method Summary | |
|---|---|
protected PrintWriter |
createDebugPrintWriter()
Creates the PrintWriter for debug output. |
void |
invoke(AbstractHessianInput in,
AbstractHessianOutput out)
Invoke the object with the request from the input stream. |
void |
invoke(InputStream is,
OutputStream os)
Invoke the object with the request from the input stream. |
void |
invoke(InputStream is,
OutputStream os,
SerializerFactory serializerFactory)
Invoke the object with the request from the input stream. |
void |
invoke(Object service,
AbstractHessianInput in,
AbstractHessianOutput out)
Invoke the object with the request from the input stream. |
boolean |
isDebug()
|
protected boolean |
isDebugInvoke()
|
void |
setDebug(boolean isDebug)
|
void |
setHessianFactory(HessianFactory factory)
|
| Methods inherited from class com.caucho.services.server.AbstractSkeleton |
|---|
getAPIClassName, getHomeClassName, getMethod, getObjectClassName, mangleClass, mangleName, setHomeClass, setObjectClass, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HessianSkeleton(Object service,
Class<?> apiClass)
service - the underlying service object.apiClass - the API interfacepublic HessianSkeleton(Class<?> apiClass)
service - the underlying service object.apiClass - the API interface| Method Detail |
|---|
public void setDebug(boolean isDebug)
public boolean isDebug()
public void setHessianFactory(HessianFactory factory)
public void invoke(InputStream is,
OutputStream os)
throws Exception
in - the Hessian input streamout - the Hessian output stream
Exception
public void invoke(InputStream is,
OutputStream os,
SerializerFactory serializerFactory)
throws Exception
in - the Hessian input streamout - the Hessian output stream
Exception
public void invoke(AbstractHessianInput in,
AbstractHessianOutput out)
throws Exception
in - the Hessian input streamout - the Hessian output stream
Exception
public void invoke(Object service,
AbstractHessianInput in,
AbstractHessianOutput out)
throws Exception
in - the Hessian input streamout - the Hessian output stream
Exceptionprotected boolean isDebugInvoke()
protected PrintWriter createDebugPrintWriter()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||