org.apache.james.jspf.executor
Class IResponseImpl

java.lang.Object
  extended by org.apache.james.jspf.executor.IResponseImpl
All Implemented Interfaces:
IResponse

public class IResponseImpl
extends Object
implements IResponse

Implementation of an IRespone Object


Constructor Summary
IResponseImpl(Object id, Exception e)
           
IResponseImpl(Object id, List<String> result)
           
 
Method Summary
 Exception getException()
          Return the exception which was stored for the IResponse object
 Object getId()
          Get id of the IResponse object
 List<String> getValue()
          Get the value which is stored in the IResponse object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IResponseImpl

public IResponseImpl(Object id,
                     Exception e)

IResponseImpl

public IResponseImpl(Object id,
                     List<String> result)
Method Detail

getException

public Exception getException()
Description copied from interface: IResponse
Return the exception which was stored for the IResponse object

Specified by:
getException in interface IResponse
Returns:
exception
See Also:
IResponse.getException()

getId

public Object getId()
Description copied from interface: IResponse
Get id of the IResponse object

Specified by:
getId in interface IResponse
Returns:
id
See Also:
IResponse.getId()

getValue

public List<String> getValue()
Description copied from interface: IResponse
Get the value which is stored in the IResponse object

Specified by:
getValue in interface IResponse
Returns:
object
See Also:
IResponse.getValue()


Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.