com.caucho.hessian.io
Class HessianFactory

java.lang.Object
  extended by com.caucho.hessian.io.HessianFactory

public class HessianFactory
extends java.lang.Object

Factory for creating HessianInput and HessianOutput streams.


Field Summary
static java.util.logging.Logger log
           
 
Constructor Summary
HessianFactory()
           
 
Method Summary
 java.io.OutputStream createHessian2DebugOutput(java.io.OutputStream os, java.util.logging.Logger log, java.util.logging.Level level)
           
 Hessian2Input createHessian2Input(java.io.InputStream is)
          Creates a new Hessian 2.0 deserializer.
 Hessian2Output createHessian2Output()
          Creates a new Hessian 2.0 serializer.
 Hessian2Output createHessian2Output(java.io.OutputStream os)
          Creates a new Hessian 2.0 serializer.
 Hessian2StreamingInput createHessian2StreamingInput(java.io.InputStream is)
          Creates a new Hessian 2.0 deserializer.
 Hessian2StreamingOutput createHessian2StreamingOutput(java.io.OutputStream os)
          Creates a new Hessian 2.0 serializer.
 HessianInput createHessianInput(java.io.InputStream is)
          Creates a new Hessian 1.0 deserializer.
 HessianOutput createHessianOutput(java.io.OutputStream os)
          Creates a new Hessian 1.0 serializer.
 void freeHessian2Input(Hessian2Input in)
          Frees a Hessian 2.0 deserializer
 void freeHessian2Output(Hessian2Output out)
          Frees a Hessian 2.0 serializer
 void freeHessian2StreamingInput(Hessian2StreamingInput in)
          Frees a Hessian 2.0 deserializer
 void freeHessian2StreamingOutput(Hessian2StreamingOutput out)
          Frees a Hessian 2.0 serializer
 SerializerFactory getSerializerFactory()
           
 void setSerializerFactory(SerializerFactory factory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final java.util.logging.Logger log
Constructor Detail

HessianFactory

public HessianFactory()
Method Detail

setSerializerFactory

public void setSerializerFactory(SerializerFactory factory)

getSerializerFactory

public SerializerFactory getSerializerFactory()

createHessian2Input

public Hessian2Input createHessian2Input(java.io.InputStream is)
Creates a new Hessian 2.0 deserializer.


freeHessian2Input

public void freeHessian2Input(Hessian2Input in)
Frees a Hessian 2.0 deserializer


createHessian2StreamingInput

public Hessian2StreamingInput createHessian2StreamingInput(java.io.InputStream is)
Creates a new Hessian 2.0 deserializer.


freeHessian2StreamingInput

public void freeHessian2StreamingInput(Hessian2StreamingInput in)
Frees a Hessian 2.0 deserializer


createHessianInput

public HessianInput createHessianInput(java.io.InputStream is)
Creates a new Hessian 1.0 deserializer.


createHessian2Output

public Hessian2Output createHessian2Output(java.io.OutputStream os)
Creates a new Hessian 2.0 serializer.


createHessian2Output

public Hessian2Output createHessian2Output()
Creates a new Hessian 2.0 serializer.


freeHessian2Output

public void freeHessian2Output(Hessian2Output out)
Frees a Hessian 2.0 serializer


createHessian2StreamingOutput

public Hessian2StreamingOutput createHessian2StreamingOutput(java.io.OutputStream os)
Creates a new Hessian 2.0 serializer.


freeHessian2StreamingOutput

public void freeHessian2StreamingOutput(Hessian2StreamingOutput out)
Frees a Hessian 2.0 serializer


createHessianOutput

public HessianOutput createHessianOutput(java.io.OutputStream os)
Creates a new Hessian 1.0 serializer.


createHessian2DebugOutput

public java.io.OutputStream createHessian2DebugOutput(java.io.OutputStream os,
                                                      java.util.logging.Logger log,
                                                      java.util.logging.Level level)