public class TextProtocol.OK extends TextProtocol.ResponseMessage
messagePrefixNocheck, sendVersion| Constructor and Description |
|---|
OK(String line,
String[] tokens) |
OK(TextProtocol.RequestMessage request)
Create an instance with the send version specified by the request.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getMessagePrefix() |
TextProtocol.MessageOp |
getOp() |
String |
wireFormat() |
equals, hashCode, wireFormatPrefixgetCurrentTokenPosition, getProtocol, getSenderId, getSendVersion, hasMoreTokens, nextPayloadToken, setSendVersionpublic OK(TextProtocol.RequestMessage request)
request - the requestpublic OK(String line, String[] tokens) throws TextProtocol.InvalidMessageException
public TextProtocol.MessageOp getOp()
getOp in class TextProtocol.Messageprotected String getMessagePrefix()
getMessagePrefix in class TextProtocol.Messagepublic String wireFormat()
Copyright © 2024. All rights reserved.