harness-http-server
harness-http-server
API
harness.http.server
error
DecodingFailure
Cookie
Cookie
SameSite
ErrorHandler
Handler
HttpRequest
HttpRequest
Lookup
builder
Stage1
cookie
header
query
HttpResponse
HttpResponse
Found
NotFound
Return
ReturnInputStreamKnownSize
ReturnInputStreamUnknownSize
ReturnNothing
ReturnString
Return
fromHttpCode
Route
Route
Result
Found
NotFound
Result
RouteMatcher
RouteMatcher
*
*
**
Result
FailedToDecode
NotFound
Success
Result
Server
ServerConfig
ServerConfig
SslConfig
SslConfig
RefType
RefType
harness-http-server
/
harness.http.server
/
RouteMatcher
RouteMatcher
harness.http.server.RouteMatcher
See the
RouteMatcher
companion object
trait
RouteMatcher
[
+
O
]
Attributes
Companion
object
Graph
Reset zoom
Hide graph
Show graph
Supertypes
class
Object
trait
Matchable
class
Any
Self type
RouteMatcher
[
O
]
Members list
Clear all
Value members
Abstract methods
def
routeInternal
(
method
:
HttpMethod
,
path
:
List
[
String
]):
Result
[
O
]
Concrete methods
final
def
/
[
O2
](
other
:
RouteMatcher
[
O2
])(
implicit
zip
:
Zippable
[
O
,
O2
]):
RouteMatcher
[
Out
]
final
def
implement
[
R
,
DomainError
,
ApiError
](
f
:
O
=>
ZIO
[
HarnessEnv
&
BuiltInRequestEnv
&
R
,
DomainError
,
Found
])(
implicit
handler
:
ErrorHandler
[
DomainError
,
ApiError
]):
Route
[
R
]
final
def
implementGenericError
[
R
](
f
:
O
=>
RIO
[
HarnessEnv
&
BuiltInRequestEnv
&
R
,
Found
]):
Route
[
R
]
final
def
map
[
O2
](
f
:
O
=>
O2
):
RouteMatcher
[
O2
]
In this article
Attributes
Members list
Value members
Abstract methods
Concrete methods