EngineConnectorBuilder

open class EngineConnectorBuilder(val type: ConnectorType = ConnectorType.HTTP) : EngineConnectorConfig(source)

Mutable implementation of EngineConnectorConfig for building connectors programmatically

Report a problem

Constructors

Link copied to clipboard
constructor(type: ConnectorType = ConnectorType.HTTP)

Properties

Link copied to clipboard
open override var host: String

The network interface this host binds to as an IP address or a hostname. If null or 0.0.0.0, then bind to all interfaces.

Link copied to clipboard
open override var port: Int

The port this application should be bound to.

Link copied to clipboard
open override val type: ConnectorType

Type of the connector, e.g HTTP or HTTPS.

Functions

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard

Returns new instance of EngineConnectorConfig based on this with modified port

Returns new instance of EngineConnectorConfig based on this with modified port