gigahorse.ProxyServer.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gigahorse-core_2.13 Show documentation
Show all versions of gigahorse-core_2.13 Show documentation
Gigahorse is an HTTP client for Scala with multiple backend support.
The newest version!
/**
* This code is generated using [[https://www.scala-sbt.org/contraband/ sbt-contraband]].
*/
// DO NOT EDIT MANUALLY
package gigahorse
abstract class ProxyServer(
val host: String,
val port: Int,
val securedPort: Option[Int],
val authOpt: Option[Realm],
val nonProxyHosts: List[String]) extends Serializable {
def this(host: String, port: Int, securedPort: Option[Int]) = this(host, port, securedPort, None, List())
override def equals(o: Any): Boolean = o match {
case x: ProxyServer => (this.host == x.host) && (this.port == x.port) && (this.securedPort == x.securedPort) && (this.authOpt == x.authOpt) && (this.nonProxyHosts == x.nonProxyHosts)
case _ => false
}
override def hashCode: Int = {
37 * (37 * (37 * (37 * (37 * (37 * (17 + "gigahorse.ProxyServer".##) + host.##) + port.##) + securedPort.##) + authOpt.##) + nonProxyHosts.##)
}
override def toString: String = {
"ProxyServer(" + host + ", " + port + ", " + securedPort + ", " + authOpt + ", " + nonProxyHosts + ")"
}
}
object ProxyServer {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy