org.jboss.remoting.marshal.http
Class HTTPMarshaller
java.lang.Object
org.jboss.remoting.marshal.serializable.SerializableMarshaller
org.jboss.remoting.marshal.http.HTTPMarshaller
- All Implemented Interfaces:
- Marshaller, Serializable
- public class HTTPMarshaller
- extends SerializableMarshaller
- Author:
- Tom Elrod
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DATATYPE
public static final String DATATYPE
- See Also:
- Constant Field Values
HTTPMarshaller
public HTTPMarshaller()
write
public void write(Object dataObject,
OutputStream output)
throws IOException
- Take the data object and write to the output.
If the data object is of type String, will just
write the bytes of the String, otherwise will
use the SerializableMarshaller implementation.
- Specified by:
write
in interface Marshaller
- Overrides:
write
in class SerializableMarshaller
- Parameters:
dataObject
- Object to be writen to outputoutput
- The data output to write the object
data to.
- Throws:
IOException
Copyright © 2004 JBoss Inc. All Rights Reserved.