org.jboss.remoting.marshal.http
Class HTTPUnMarshaller

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

public class HTTPUnMarshaller
extends SerializableUnMarshaller

Author:
Tom Elrod
See Also:
Serialized Form

Field Summary
static String DATATYPE
           
protected  org.jboss.logging.Logger log
           
 
Constructor Summary
HTTPUnMarshaller()
           
 
Method Summary
 Object read(InputStream inputStream, Map metadata)
          Will try to unmarshall data from inputstream.
 
Methods inherited from class org.jboss.remoting.marshal.serializable.SerializableUnMarshaller
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 String DATATYPE
See Also:
Constant Field Values

log

protected final org.jboss.logging.Logger log
Constructor Detail

HTTPUnMarshaller

public HTTPUnMarshaller()
Method Detail

read

public Object read(InputStream inputStream,
                   Map metadata)
            throws IOException,
                   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
Overrides:
read in class SerializableUnMarshaller
Parameters:
inputStream -
metadata -
Returns:
Throws:
IOException
ClassNotFoundException


Copyright © 2004 JBoss Inc. All Rights Reserved.