org.jboss.remoting.marshal.http
Class HTTPUnMarshaller

java.lang.Object
  extended byorg.jboss.remoting.marshal.serializable.SerializableUnMarshaller (src) 
      extended byorg.jboss.remoting.marshal.http.HTTPUnMarshaller
All Implemented Interfaces:
java.io.Serializable, UnMarshaller (src)

public class HTTPUnMarshaller
extends SerializableUnMarshaller (src)

See Also:
Serialized Form

Field Summary
static java.lang.String DATATYPE
           
protected  Logger (src) log
           
 
Constructor Summary
HTTPUnMarshaller()
           
 
Method Summary
 java.lang.Object read(java.io.InputStream inputStream, java.util.Map metadata)
          Will try to unmarshall data from inputstream.
 
Methods inherited from class org.jboss.remoting.marshal.serializable.SerializableUnMarshaller (src)
setClassLoader
 
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)

log

protected final Logger (src)  log
Constructor Detail

HTTPUnMarshaller

public HTTPUnMarshaller()
Method Detail

read

public java.lang.Object read(java.io.InputStream inputStream,
                             java.util.Map metadata)
                      throws java.io.IOException,
                             java.lang.ClassNotFoundException
Will try to unmarshall data from inputstream. Will try to convert to either an object or a string. If there is no data to read, will return null.

Specified by:
read in interface UnMarshaller (src)
Overrides:
read in class SerializableUnMarshaller (src)
Parameters:
inputStream -
metadata -
Returns:
Throws:
java.io.IOException
java.lang.ClassNotFoundException