HTTP

@SerialVersionUID(0L) final case
class HTTP(method: Method, host: String, path: String, requestHeaders: Map[String, Values], responseHeaders: Map[String, Values], statusCode: Int, secure: Boolean, protocol: String, unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[HTTP]
Value Params
protocol

by convention "HTTP/1.0", "HTTP/1.1", "HTTP/2" or "h2"

requestHeaders

Should exclude manual blacklist ("Auth" by default)

secure

TLS was used

Companion
object
trait Updatable[HTTP]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def addAllRequestHeaders(`__vs`: Iterable[(String, Values)]): HTTP
def addAllResponseHeaders(`__vs`: Iterable[(String, Values)]): HTTP
def addRequestHeaders(`__vs`: (String, Values)*): HTTP
def addResponseHeaders(`__vs`: (String, Values)*): HTTP
def getField(`__field`: FieldDescriptor): PValue
def getFieldByNumber(`__fieldNumber`: Int): Any
override
Definition Classes
GeneratedMessage
def toProtoString: String
def withHost(`__v`: String): HTTP
def withMethod(`__v`: Method): HTTP
def withPath(`__v`: String): HTTP
def withProtocol(`__v`: String): HTTP
def withRequestHeaders(`__v`: Map[String, Values]): HTTP
def withResponseHeaders(`__v`: Map[String, Values]): HTTP
def withSecure(`__v`: Boolean): HTTP
def withStatusCode(`__v`: Int): HTTP
def withUnknownFields(`__v`: UnknownFieldSet): HTTP
def writeTo(`_output__`: CodedOutputStream): Unit

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
final
def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Inherited from
GeneratedMessage
final
def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Inherited from
GeneratedMessage
final
def toPMessage: PMessage
Inherited from
GeneratedMessage
def update(ms: Lens[HTTP, HTTP] => () => HTTP*): HTTP
Inherited from
Updatable
final
def writeDelimitedTo(output: OutputStream): Unit
Inherited from
GeneratedMessage
final
def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Inherited from
GeneratedMessage