BlockingServletIo

org.http4s.servlet.BlockingServletIo
final case class BlockingServletIo[F[_]](chunkSize: Int)(implicit evidence$2: Async[F]) extends ServletIo[F]

Use standard blocking reads and writes.

This is more CPU efficient per request than NonBlockingServletIo, but is likely to require a larger request thread pool for the same load.

Attributes

Source:
ServletIo.scala
Graph
Supertypes
trait Product
trait Equals
class ServletIo[F]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

def bodyWriter(servletResponse: HttpServletResponse, dispatcher: Dispatcher[F])(response: Response[F]): F[Unit]

An alias for initWriter. In the future, this will be optimized with the dispatcher.

An alias for initWriter. In the future, this will be optimized with the dispatcher.

Attributes

dispatcher

currently ignored

Inherited from:
ServletIo
Source:
ServletIo.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def requestBody(servletRequest: HttpServletRequest, dispatcher: Dispatcher[F]): Stream[F, Byte]

An alias for reader. In the future, this will be optimized with the dispatcher.

An alias for reader. In the future, this will be optimized with the dispatcher.

Attributes

dispatcher

currently ignored

Inherited from:
ServletIo
Source:
ServletIo.scala