org.jboss.remoting.marshal.http
Class HTTPMarshaller

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

public class HTTPMarshaller
extends SerializableMarshaller (src)

See Also:
Serialized Form

Field Summary
static java.lang.String DATATYPE
           
 
Constructor Summary
HTTPMarshaller()
           
 
Method Summary
 void write(java.lang.Object dataObject, java.io.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 java.lang.String DATATYPE
See Also:
Constant Field Values (src)
Constructor Detail

HTTPMarshaller

public HTTPMarshaller()
Method Detail

write

public void write(java.lang.Object dataObject,
                  java.io.OutputStream output)
           throws java.io.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 (src)
Overrides:
write in class SerializableMarshaller (src)
Parameters:
dataObject - Object to be writen to output
output - The data output to write the object data to.
Throws:
java.io.IOException