public class DeclineSSLResponse extends WireOutput
Signals to client that we do not accept SSL.
Constructors
DeclineSSLResponse(DataOutputStream output)
public DeclineSSLResponse(DataOutputStream output)
Name | Description |
output | DataOutputStream |
Methods
getIdentifier()
public byte getIdentifier()
Override this to specify the byte which represents the protocol for the specific message. Used for logging and by send.
Type | Description |
byte |
getMessageName()
protected String getMessageName()
Used for logging.
Type | Description |
String |
getPayloadString()
protected String getPayloadString()
Used for logging.
Type | Description |
String |
isCompoundResponse()
protected boolean isCompoundResponse()
Whether this response sends more data than just the identifier (i.e.: length). WireOutput items are convoluted in that some do send a large payload, and other (such as DeclineSSLResponse) send only one byte back. Override with false if that is the case.
Type | Description |
boolean |
sendPayload()
public void sendPayload()
Override this method to include post-processing and metadata in the sending process. Template method for send.
Type | Description |
IOException |