|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.anwrt.commons.hessian.model.HessianValue
com.anwrt.commons.hessian.model.HessianSimple
com.anwrt.commons.hessian.model.HessianEnvelope
public class HessianEnvelope
This class wrap a serialized message into a list of chunks. The envelope
syntax enables compression, encryption, signatures or context headers to wrap
a Hessian message.
creation : 26 sept. 2008
| Field Summary | |
|---|---|
static java.lang.String |
IDENTITY
Encryption mode 0: ,o encryption |
static byte |
version_major
Hessian current major version byte |
static byte |
version_minor
Hessian current minor version byte |
| Constructor Summary | |
|---|---|
HessianEnvelope()
Default constructor |
|
HessianEnvelope(java.lang.String method)
Constructor |
|
| Method Summary | |
|---|---|
void |
addChunk(HessianEnvelopeChunk chunk)
|
java.util.List |
getChunks()
|
java.lang.String |
getMethod()
|
void |
render(java.io.OutputStream os,
AwtHessianSerializer ser)
Renders the HessianValue to the given
OutputStream. |
void |
setMethod(java.lang.String method)
|
| Methods inherited from class com.anwrt.commons.hessian.model.HessianValue |
|---|
getTypeString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String IDENTITY
public static final byte version_major
public static final byte version_minor
| Constructor Detail |
|---|
public HessianEnvelope()
public HessianEnvelope(java.lang.String method)
method - compression mode| Method Detail |
|---|
public void render(java.io.OutputStream os,
AwtHessianSerializer ser)
throws AwtHessianSerializerException
HessianValueHessianValue to the given
OutputStream.
render in class HessianValueos - to which to renderser - an AwtHessianSerializer instance
AwtHessianSerializerExceptionpublic void addChunk(HessianEnvelopeChunk chunk)
public java.util.List getChunks()
public java.lang.String getMethod()
public void setMethod(java.lang.String method)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||