Class AcceptSSLResponse (0.23.1)
Stay organized with collections
Save and categorize content based on your preferences.
publicclass AcceptSSLResponseextendsWireOutputSignals to client that we accept SSL.
Inherited Members
Constructors
AcceptSSLResponse(DataOutputStream output)
publicAcceptSSLResponse(DataOutputStreamoutput)| Parameter | |
|---|---|
| Name | Description |
output |
DataOutputStream |
Methods
getIdentifier()
publicbytegetIdentifier()Override this to specify the byte which represents the protocol for the specific message. Used for logging and by send.
| Returns | |
|---|---|
| Type | Description |
byte |
|
getMessageName()
protectedStringgetMessageName()Used for logging.
| Returns | |
|---|---|
| Type | Description |
String |
|
getPayloadString()
protectedStringgetPayloadString()Used for logging.
| Returns | |
|---|---|
| Type | Description |
String |
|
isCompoundResponse()
protectedbooleanisCompoundResponse()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.
| Returns | |
|---|---|
| Type | Description |
boolean |
|
sendPayload()
publicvoidsendPayload()Override this method to include post-processing and metadata in the sending process. Template method for send.
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|