HTTPHeader

io.k8s.api.core.v1.HTTPHeader
See theHTTPHeader companion object
final case class HTTPHeader(name: String, value: String)

HTTPHeader describes a custom header to be used in HTTP probes

Attributes

Companion
object
Source
HTTPHeader.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def mapName(f: String => String): HTTPHeader

transforms name to result of function

transforms name to result of function

Attributes

Source
HTTPHeader.scala
def mapValue(f: String => String): HTTPHeader

transforms value to result of function

transforms value to result of function

Attributes

Source
HTTPHeader.scala
def withName(value: String): HTTPHeader

Returns a new data with name set to new value

Returns a new data with name set to new value

Attributes

Source
HTTPHeader.scala
def withValue(value: String): HTTPHeader

Returns a new data with value set to new value

Returns a new data with value set to new value

Attributes

Source
HTTPHeader.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product