Http4sServlet

org.http4s.servlet.Http4sServlet
abstract class Http4sServlet[F[_]](service: HttpApp[F], servletIo: ServletIo[F], dispatcher: Dispatcher[F])(implicit F: Sync[F]) extends HttpServlet

Attributes

Source:
Http4sServlet.scala
Graph
Supertypes
class HttpServlet
class GenericServlet
trait ServletConfig
trait Servlet
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Type members

Classlikes

Attributes

Source:
Http4sServlet.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

override def init(config: ServletConfig): Unit

Attributes

Definition Classes
GenericServlet -> Servlet
Source:
Http4sServlet.scala
protected def onParseFailure(parseFailure: ParseFailure, servletResponse: HttpServletResponse, bodyWriter: () => F): F[Unit]

Attributes

Source:
Http4sServlet.scala
protected def renderResponse(response: Response[F], servletResponse: HttpServletResponse, bodyWriter: () => F): F[Unit]

Attributes

Source:
Http4sServlet.scala
protected def toHeaders(req: HttpServletRequest): Headers

Attributes

Source:
Http4sServlet.scala
protected def toRequest(req: HttpServletRequest): ParseResult[Request[F]]

Attributes

Source:
Http4sServlet.scala

Inherited methods

def destroy(): Unit

Attributes

Inherited from:
GenericServlet

Attributes

Inherited from:
GenericServlet

Attributes

Inherited from:
GenericServlet
def getServletConfig(): ServletConfig

Attributes

Inherited from:
GenericServlet
def getServletContext(): ServletContext

Attributes

Inherited from:
GenericServlet

Attributes

Inherited from:
GenericServlet

Attributes

Inherited from:
GenericServlet
def init(): Unit

Attributes

Inherited from:
GenericServlet
def log(x$0: String, x$1: Throwable): Unit

Attributes

Inherited from:
GenericServlet
def log(x$0: String): Unit

Attributes

Inherited from:
GenericServlet
def service(x$0: ServletRequest, x$1: ServletResponse): Unit

Attributes

Inherited from:
HttpServlet

Concrete fields

protected val logger: Logger

Attributes

Source:
Http4sServlet.scala
protected val serviceFn: Request[F] => F[Response[F]]

Attributes

Source:
Http4sServlet.scala