io.quartz.http2.model
Members list
Type members
Classlikes
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass AnyValtrait Matchableclass AnyShow all
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
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ContentType.type
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
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.
Value parameters
- tbl
-
a HashMap containing header names as keys and lists of values as associated values
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
An enumeration of HTTP methods. This object provides constants for the standard HTTP methods such as GET, POST, PUT, DELETE, etc.
Represents an HTTP request.
Represents an HTTP request.
Value parameters
- headers
-
the request headers
- stream
-
a stream of request body bytes
- trailingHeaders
-
deferred trailing headers
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
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.
Value parameters
- 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.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass AnyValtrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
StatusCode.type