org.directwebremoting.extend
Class RealRawData

java.lang.Object
  extended by org.directwebremoting.extend.RealRawData
All Implemented Interfaces:
RawData

public class RealRawData
extends java.lang.Object
implements RawData

Sometimes DWR can't know at runtime the type of the inbound data, this class allows us to defer conversion until we know more about the type we should be converting to.

Author:
Joe Walker [joe at getahead dot ltd dot uk]

Constructor Summary
RealRawData(InboundVariable inboundVariable, InboundContext inboundContext)
          RawData is immutable.
 
Method Summary
 InboundContext getInboundContext()
           
 InboundVariable getInboundVariable()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RealRawData

public RealRawData(InboundVariable inboundVariable,
                   InboundContext inboundContext)
RawData is immutable. Setup the raw string data that we wrap

Parameters:
inboundContext - The context variables that could be associated with this
inboundVariable - The variable we are delaying marshalling
Method Detail

getInboundContext

public InboundContext getInboundContext()
Returns:
The context variables that could be associated with this

getInboundVariable

public InboundVariable getInboundVariable()
Returns:
The variable we are delaying marshalling

Copyright 2008