org.jboss.remoting.marshal.http
Class HTTPMarshaller

java.lang.Object
  extended byorg.jboss.remoting.marshal.serializable.SerializableMarshaller
      extended byorg.jboss.remoting.marshal.http.HTTPMarshaller
All Implemented Interfaces:
Marshaller, Serializable

public class HTTPMarshaller
extends SerializableMarshaller

Author:
Tom Elrod
See Also:
Serialized Form

Field Summary
static String DATATYPE
           
 
Constructor Summary
HTTPMarshaller()
           
 
Method Summary
 void write(Object dataObject, OutputStream output)
          Take the data object and write to the output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATATYPE

public static final String DATATYPE
See Also:
Constant Field Values
Constructor Detail

HTTPMarshaller

public HTTPMarshaller()
Method Detail

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 output
output - The data output to write the object data to.
Throws:
IOException


Copyright © 2004 JBoss Inc. All Rights Reserved.