HttpRequest

case class HttpRequest(method: Method, url: Url, majorVersion: Int, minorVersion: Int, headers: Headers, body: BodyReader)

Standard HTTP request

Value Params
body

function which returns the next chunk of the request body. Termination is signaled by an empty ByteBuffer as determined by ByteBuffer.hasRemaining().

headers

request headers

method

HTTP request method

url

request url

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def sensitiveToString: String

A String representation of this request that includes the headers

A String representation of this request that includes the headers

Note

it is generally a security flaw to log headers as they may contain sensitive user data. As such, this method should be used sparingly and almost never in a production environment.

override def toString: String
Definition Classes
Any

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product