|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.handle.hdllib.AbstractMessage
net.handle.hdllib.AbstractResponse
public abstract class AbstractResponse
Field Summary | |
---|---|
java.io.InputStream |
stream
|
boolean |
streaming
|
Constructor Summary | |
---|---|
AbstractResponse()
|
|
AbstractResponse(AbstractRequest req,
int responseCode)
|
|
AbstractResponse(int opCode,
int responseCode)
|
Method Summary | |
---|---|
AbstractResponse |
getContinuedResponse()
If this message is to-be-continued, this method is called to get subsequent messages until it returns null which will indicate that the current message is the last. |
void |
streamResponse(java.io.OutputStream out)
Write the response to the specified output stream. |
Methods inherited from class net.handle.hdllib.AbstractMessage |
---|
clearBuffers, decryptMessage, encryptMessage, getEncodedMessage, getEncodedMessageBody, getResponseCodeMessage, hasEqualOrGreaterVersion, signMessage, signMessage, signMessage, takeValuesFrom, toString, verifyMessage, verifyMessage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.io.InputStream stream
public boolean streaming
Constructor Detail |
---|
public AbstractResponse()
public AbstractResponse(int opCode, int responseCode)
public AbstractResponse(AbstractRequest req, int responseCode) throws HandleException
HandleException
Method Detail |
---|
public AbstractResponse getContinuedResponse()
public void streamResponse(java.io.OutputStream out) throws HandleException
HandleException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |