public class ExceptionResponseMarshaller extends ResponseMarshaller
STACK_TRACE_ELEMENT_CONSTRUCTOR| Constructor and Description |
|---|
ExceptionResponseMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
DataStructure |
createObject() |
byte |
getDataStructureType()
Return the type of Data Structure we marshal
|
void |
looseMarshal(OpenWireFormat wireFormat,
Object o,
org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut)
Write the booleans that this object uses to a BooleanStream
|
void |
looseUnmarshal(OpenWireFormat wireFormat,
Object o,
org.fusesource.hawtbuf.DataByteArrayInputStream dataIn)
Un-marshal an object instance from the data input stream
|
int |
tightMarshal1(OpenWireFormat wireFormat,
Object o,
BooleanStream bs)
Write the booleans that this object uses to a BooleanStream
|
void |
tightMarshal2(OpenWireFormat wireFormat,
Object o,
org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut,
BooleanStream bs)
Write a object instance to data output stream
|
void |
tightUnmarshal(OpenWireFormat wireFormat,
Object o,
org.fusesource.hawtbuf.DataByteArrayInputStream dataIn,
BooleanStream bs)
Un-marshal an object instance from the data input stream
|
looseMarshalBuffer, looseMarshalByteArray, looseMarshalCachedObject, looseMarshalConstByteArray, looseMarshalLong, looseMarshalNestedObject, looseMarshalObjectArray, looseMarshalString, looseMarshalThrowable, looseUnmarsalCachedObject, looseUnmarsalNestedObject, looseUnmarsalThrowable, looseUnmarshalBuffer, looseUnmarshalByteArray, looseUnmarshalConstByteArray, looseUnmarshalLong, looseUnmarshalString, tightMarshalBuffer1, tightMarshalBuffer2, tightMarshalByteArray1, tightMarshalByteArray2, tightMarshalCachedObject1, tightMarshalCachedObject2, tightMarshalConstByteArray1, tightMarshalConstByteArray2, tightMarshalLong1, tightMarshalLong2, tightMarshalNestedObject1, tightMarshalNestedObject2, tightMarshalObjectArray1, tightMarshalObjectArray2, tightMarshalString1, tightMarshalString2, tightMarshalThrowable1, tightMarshalThrowable2, tightUnmarsalCachedObject, tightUnmarsalNestedObject, tightUnmarsalThrowable, tightUnmarshalBuffer, tightUnmarshalByteArray, tightUnmarshalConstByteArray, tightUnmarshalLong, tightUnmarshalString, toLong, toLongpublic byte getDataStructureType()
getDataStructureType in interface DataStreamMarshallergetDataStructureType in class ResponseMarshallerpublic DataStructure createObject()
createObject in interface DataStreamMarshallercreateObject in class ResponseMarshallerpublic void tightUnmarshal(OpenWireFormat wireFormat, Object o, org.fusesource.hawtbuf.DataByteArrayInputStream dataIn, BooleanStream bs) throws IOException
tightUnmarshal in interface DataStreamMarshallertightUnmarshal in class ResponseMarshallero - the object to un-marshaldataIn - the data input stream to build the object fromIOExceptionpublic int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException
tightMarshal1 in interface DataStreamMarshallertightMarshal1 in class ResponseMarshallerIOExceptionpublic void tightMarshal2(OpenWireFormat wireFormat, Object o, org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut, BooleanStream bs) throws IOException
tightMarshal2 in interface DataStreamMarshallertightMarshal2 in class ResponseMarshallero - the instance to be marshaleddataOut - the output streamIOException - thrown if an error occurspublic void looseUnmarshal(OpenWireFormat wireFormat, Object o, org.fusesource.hawtbuf.DataByteArrayInputStream dataIn) throws IOException
looseUnmarshal in interface DataStreamMarshallerlooseUnmarshal in class ResponseMarshallero - the object to un-marshaldataIn - the data input stream to build the object fromIOExceptionpublic void looseMarshal(OpenWireFormat wireFormat, Object o, org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut) throws IOException
looseMarshal in interface DataStreamMarshallerlooseMarshal in class ResponseMarshallerIOExceptionCopyright © 2011–2014 Red Hat. All rights reserved.