net.sf.dict4j.command
Class AbstractDataCommand
java.lang.Object
net.sf.dict4j.command.AbstractCommand
net.sf.dict4j.command.AbstractDataCommand
- All Implemented Interfaces:
- Command, DataCommand
- Direct Known Subclasses:
- AbstractListDataCommand, DefineCommand, HelpCommand, ShowServerCommand
public abstract class AbstractDataCommand
- extends AbstractCommand
- implements DataCommand
Methods inherited from class net.sf.dict4j.command.AbstractCommand |
checkResponseCodeForServerException, getResponseCode, getResponseEnum, getResponseHeaderCodes, getResponseHeaderEnum, getResponseStatus, getString, parseResponse, parseResponseHeader, receiveHeader, stripQuotes, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
responseText
protected java.lang.String responseText
AbstractDataCommand
public AbstractDataCommand()
send
public void send(DictTransport transport)
- Specified by:
send
in interface Command
- Overrides:
send
in class AbstractCommand
receiveBody
protected void receiveBody(DictTransport transport)
receiveFooter
protected void receiveFooter(DictTransport transport)
getResponseFooterEnum
protected ResponseEnum getResponseFooterEnum(int code)
getResponseText
public java.lang.String getResponseText()
- Specified by:
getResponseText
in interface DataCommand
doesResponseHaveBody
protected boolean doesResponseHaveBody()