All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gigahorse.ProxyServer.scala Maven / Gradle / Ivy

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