public class HessianFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.logging.Logger |
log |
Constructor and Description |
---|
HessianFactory() |
Modifier and Type | Method and Description |
---|---|
void |
allow(java.lang.String pattern)
Allow a class or package based on a pattern.
|
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 |
deny(java.lang.String pattern)
Deny a class or package based on a pattern.
|
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) |
void |
setWhitelist(boolean isWhitelist)
Enable whitelist deserialization mode.
|
public void setSerializerFactory(SerializerFactory factory)
public SerializerFactory getSerializerFactory()
public void setWhitelist(boolean isWhitelist)
public void allow(java.lang.String pattern)
public void deny(java.lang.String pattern)
public Hessian2Input createHessian2Input(java.io.InputStream is)
public void freeHessian2Input(Hessian2Input in)
public Hessian2StreamingInput createHessian2StreamingInput(java.io.InputStream is)
public void freeHessian2StreamingInput(Hessian2StreamingInput in)
public HessianInput createHessianInput(java.io.InputStream is)
public Hessian2Output createHessian2Output(java.io.OutputStream os)
public Hessian2Output createHessian2Output()
public void freeHessian2Output(Hessian2Output out)
public Hessian2StreamingOutput createHessian2StreamingOutput(java.io.OutputStream os)
public void freeHessian2StreamingOutput(Hessian2StreamingOutput out)
public HessianOutput createHessianOutput(java.io.OutputStream os)
public java.io.OutputStream createHessian2DebugOutput(java.io.OutputStream os, java.util.logging.Logger log, java.util.logging.Level level)