AsyncHttp4sServlet

org.http4s.servlet.AsyncHttp4sServlet
See theAsyncHttp4sServlet companion object
class AsyncHttp4sServlet[F[_]](httpApp: HttpApp[F], asyncTimeout: Duration, servletIo: ServletIo[F], serviceErrorHandler: () => F, dispatcher: Dispatcher[F])(implicit F: Async[F]) extends Http4sServlet[F]

Attributes

Companion:
object
Source:
AsyncHttp4sServlet.scala
Graph
Supertypes
class Http4sServlet[F]
class HttpServlet
class GenericServlet
trait ServletConfig
trait Servlet
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Inherited classlikes

Attributes

Inherited from:
Http4sServlet
Source:
Http4sServlet.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

override def init(config: ServletConfig): Unit

Attributes

Definition Classes
Http4sServlet -> GenericServlet -> Servlet
Source:
AsyncHttp4sServlet.scala
override def service(servletRequest: HttpServletRequest, servletResponse: HttpServletResponse): Unit

Attributes

Definition Classes
HttpServlet
Source:
AsyncHttp4sServlet.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
protected def onParseFailure(parseFailure: ParseFailure, servletResponse: HttpServletResponse): F[Unit]

Attributes

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

Attributes

Inherited from:
Http4sServlet
Source:
Http4sServlet.scala
def service(x$0: ServletRequest, x$1: ServletResponse): Unit

Attributes

Inherited from:
HttpServlet
protected def toHeaders(req: HttpServletRequest): Headers

Attributes

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

Attributes

Inherited from:
Http4sServlet
Source:
Http4sServlet.scala

Deprecated and Inherited methods

protected def onParseFailure(parseFailure: ParseFailure, servletResponse: HttpServletResponse, bodyWriter: () => F): F[Unit]

Attributes

Deprecated
true
Inherited from:
Http4sServlet
Source:
Http4sServlet.scala

Inherited fields

protected val logger: Logger

Attributes

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

Attributes

Inherited from:
Http4sServlet
Source:
Http4sServlet.scala

Attributes

Inherited from:
Http4sServlet
Source:
Http4sServlet.scala