wvlet.airframe.http
package wvlet.airframe.http
Members list
Concise view
Type members
Classlikes
Attributes
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait AutoCloseableclass Objecttrait Matchableclass Any
- Known subtypes
- class InMemoryAccessLogWriterclass JSONHttpAccessLogWriter
object HttpAccessLogWriter
Attributes
- Companion:
- trait
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- HttpAccessLogWriter.type
case class Router(surface: Option[Surface], children: Seq[Router], localRoutes: Seq[Route], filterSurface: Option[Surface], filterInstance: Option[HttpFilterType]) extends RouterBase with LogSupport
Router defines mappings from HTTP requests to Routes.
Router defines mappings from HTTP requests to Routes.
Router can be nested
- Router1 with Filter1
- Router2: endpoints e1, e2
- Router3: endpoints e3 with Filter2
- Router4: endpoints e4
From this router definition, the backend HTTP server specific implementation will build a mapping table like this: e1 -> Filter1 andThen process(e1) e2 -> Filter1 andThen process(e2) e3 -> Filter1 andThen Filter2 andThen process(e3) e4 -> process(e4)
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait Producttrait Equalstrait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializabletrait RouterBaseclass Objecttrait Matchableclass Any
Attributes
- Companion:
- class
- Graph
- Supertypes
- trait Producttrait Mirrortrait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializabletrait RouterObjectBaseclass Objecttrait Matchableclass Any
- Self type
- Router.type