Class SSLMessage (0.5.1)

public class SSLMessage extends BootstrapMessage

Handles SSL bootstrap message. Since we do not do SSL (connection is expected to be through localhost after all), we decline the first message, and send an error for subsequent ones.

Inheritance

java.lang.Object > WireMessage > BootstrapMessage > SSLMessage

Static Fields

IDENTIFIER

public static final int IDENTIFIER
Field Value
TypeDescription
int

Constructors

SSLMessage(ConnectionHandler connection)

public SSLMessage(ConnectionHandler connection)
Parameter
NameDescription
connectionConnectionHandler

Methods

getIdentifier()

protected String getIdentifier()

Used for logging.

Returns
TypeDescription
String
Overrides

getMessageName()

protected String getMessageName()

Used for logging.

Returns
TypeDescription
String
Overrides

getPayloadString()

protected String getPayloadString()

Used for logging.

Returns
TypeDescription
String
Overrides

nextHandler()

public void nextHandler()

Here we send another bootstrap factory, since we ignore SSL.

Overrides Exceptions
TypeDescription
Exception

sendPayload()

protected void sendPayload()

Override this method to include post-processing and metadata in the sending process. Template method for send.

Overrides Exceptions
TypeDescription
Exception