harness.http.server

Members list

Concise view

Type members

Classlikes

final case class Cookie

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
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 EarlyReturn(response: HttpResponse) extends Single

Attributes

Graph
Supertypes
trait Product
trait Equals
class Single
class HError
class Throwable
trait Serializable
class Object
trait Matchable
class Any
final case class ErrorWithHTTPCode(httpCode: HttpCode, child: HError) extends Single

Attributes

Graph
Supertypes
trait Product
trait Equals
class Single
class HError
class Throwable
trait Serializable
class Object
trait Matchable
class Any
final case class Handler[ServerEnv, ReqEnv](serverRuntime: Runtime[HarnessEnv & ServerEnv], reqLayer: HRLayer[ServerEnv & Scope, ReqEnv], route: Route[ServerEnv & ReqEnv])(using evidence$1: Tag[ReqEnv]) extends HttpHandler

Attributes

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

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Handler.type
final case class HttpRequest(requestId: UUID, method: HttpMethod, path: List[String], queries: Map[String, String], headers: Map[String, List[String]], cookies: Map[String, String], rawInputStream: InputStream, remoteAddress: InetSocketAddress)

Attributes

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

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait HttpResponse

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Found
object NotFound.type

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
trait Route[-R]

Attributes

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

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Route.type
trait RouteMatcher[+O]

Attributes

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

Attributes

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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Server.type
final case class ServerConfig(port: Option[Int], resDir: String, useJarResource: Boolean, sslConfig: Option[SslConfig])

Attributes

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

Attributes

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

Types

Givens

Givens

given `given_Conversion_**_type_RouteMatcher`: Conversion[**.type, RouteMatcher[List[String]]]
given `given_Conversion_*_RouteMatcher`[A]: Conversion[*[A], RouteMatcher[A]]
given given_Conversion_HttpMethod_RouteMatcher: Conversion[HttpMethod, RouteMatcher[Unit]]
given given_Conversion_String_RouteMatcher: Conversion[String, RouteMatcher[Unit]]

Extensions

Extensions

extension (hError: HError)
def withHTTPCode(httpCode: HttpCode): HError