io.quartz.http2.model

Members list

Concise view

Type members

Classlikes

final case class ContentType(value: String) extends AnyVal

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any

An enumeration of HTTP Content-Types. This object provides constants for the standard Content-Types such as application/json, text/html, etc. Additional Content-Types can be added by creating a new instance of the ContentType class.

An enumeration of HTTP Content-Types. This object provides constants for the standard Content-Types such as application/json, text/html, etc. Additional Content-Types can be added by creating a new instance of the ContentType class.

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
object Cookie

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Cookie.type
final case class Cookie(name: String, value: String, domain: Option[String], path: Option[String], expires: Option[ZonedDateTime], maxAge: Option[Long], secure: Boolean, httpOnly: Boolean, sameSite: Option[String])

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object Headers

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Headers.type
class Headers(val tbl: HashMap[String, List[String]])

An immutable collection of HTTP headers, represented as a mapping from header names to lists of values.

An immutable collection of HTTP headers, represented as a mapping from header names to lists of values.

Attributes

tbl

a HashMap containing header names as keys and lists of values as associated values

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
sealed case class Method(name: String)

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object Method

An enumeration of HTTP methods. This object provides constants for the standard HTTP methods such as GET, POST, PUT, DELETE, etc.

An enumeration of HTTP methods. This object provides constants for the standard HTTP methods such as GET, POST, PUT, DELETE, etc.

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Method.type
sealed case class Request(connId: Long, streamId: Int, headers: Headers, stream: Stream[IO, Byte], secure: Boolean, sniServerNames: Option[Array[String]], trailingHeaders: Deferred[IO, Headers])

Represents an HTTP request.

Represents an HTTP request.

Attributes

headers

the request headers

stream

a stream of request body bytes

trailingHeaders

deferred trailing headers

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object Response

A companion object for the Response case class.

A companion object for the Response case class.

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed case class Response(code: StatusCode, headers: Headers, stream: Stream[IO, Byte])

Represents an HTTP response, including the response code, headers, and a response body as a Stream of bytes. Responses are immutable and can be modified using various helper methods.

Represents an HTTP response, including the response code, headers, and a response body as a Stream of bytes. Responses are immutable and can be modified using various helper methods.

Attributes

code

the HTTP response code, such as 200 OK or 404 Not Found.

headers

the HTTP headers associated with the response.

stream

the response body as a Stream of bytes. Defaults to an empty stream.

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
final case class StatusCode(value: Int) extends AnyVal

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
object StatusCode

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type