HttpRequest

org.http4s.blaze.http.HttpRequest
case class HttpRequest(method: Method, url: Url, majorVersion: Int, minorVersion: Int, headers: Headers, body: BodyReader)

Standard HTTP request

Value parameters

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

Attributes

Source
HttpRequest.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

A String representation of this request that includes the headers

A String representation of this request that includes the headers

Attributes

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.

Source
HttpRequest.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
HttpRequest.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product