proai.service
Class ResponseDataImpl

java.lang.Object
  extended by proai.service.ResponseDataImpl
All Implemented Interfaces:
ResponseData, Writable

public class ResponseDataImpl
extends java.lang.Object
implements ResponseData


Constructor Summary
ResponseDataImpl(Writable writable)
           
ResponseDataImpl(Writable writable, java.lang.String resumptionToken)
           
 
Method Summary
 java.lang.String getResumptionToken()
          Get the resumption token for the next part if this is one in a series of incomplete list responses (and not the last part).
 void release()
          Release any resources (such as files or locks on other resources) associated with the response data.
 void write(java.io.PrintWriter out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseDataImpl

public ResponseDataImpl(Writable writable)

ResponseDataImpl

public ResponseDataImpl(Writable writable,
                        java.lang.String resumptionToken)
Method Detail

write

public void write(java.io.PrintWriter out)
           throws ServerException
Specified by:
write in interface Writable
Throws:
ServerException

getResumptionToken

public java.lang.String getResumptionToken()
Description copied from interface: ResponseData
Get the resumption token for the next part if this is one in a series of incomplete list responses (and not the last part).

Specified by:
getResumptionToken in interface ResponseData

release

public void release()
Description copied from interface: ResponseData
Release any resources (such as files or locks on other resources) associated with the response data.

Specified by:
release in interface ResponseData