MockServerConfiguration

data class MockServerConfiguration(remoteHost: String?, remotePort: Int, proxyConfiguration: ProxyConfiguration?)

This class gives the user a chance to configure the MockServer before it's started. This class is to be returned from an implementation of MockServerConfigurationProvider.

Author

Abhijit Sarkar

Since

1.0.0

Constructors

MockServerConfiguration
Link copied to clipboard
fun MockServerConfiguration(remoteHost: String? = null, remotePort: Int = -1, proxyConfiguration: ProxyConfiguration? = null)

Functions

component1
Link copied to clipboard
operator fun component1(): String?
component2
Link copied to clipboard
operator fun component2(): Int
component3
Link copied to clipboard
operator fun component3(): ProxyConfiguration?
copy
Link copied to clipboard
fun copy(remoteHost: String? = null, remotePort: Int = -1, proxyConfiguration: ProxyConfiguration? = null): MockServerConfiguration
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

proxyConfiguration
Link copied to clipboard
val proxyConfiguration: ProxyConfiguration? = null
remoteHost
Link copied to clipboard
val remoteHost: String? = null
remotePort
Link copied to clipboard
val remotePort: Int