Package

org.http4s

servlet

Permalink

package servlet

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. servlet
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract class AbstractAsyncListener extends AsyncListener

    Permalink
    Attributes
    protected
  2. class AsyncHttp4sServlet[F[_]] extends Http4sServlet[F]

    Permalink
  3. class BlockingHttp4sServlet[F[_]] extends Http4sServlet[F]

    Permalink
  4. final case class BlockingServletIo[F[_]](chunkSize: Int, blockingExecutionContext: ExecutionContext)(implicit evidence$2: Effect[F], evidence$3: ContextShift[F]) extends ServletIo[F] with Product with Serializable

    Permalink

    Use standard blocking reads and writes.

    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.

  5. type BodyWriter[F[_]] = (Response[F]) ⇒ F[Unit]

    Permalink
    Attributes
    protected
  6. trait DefaultFilter extends Filter

    Permalink

    Mainly a convenience for our servlet examples, but, hey, why not.

  7. abstract class Http4sServlet[F[_]] extends HttpServlet

    Permalink
  8. final case class NonBlockingServletIo[F[_]](chunkSize: Int)(implicit evidence$4: Effect[F]) extends ServletIo[F] with Product with Serializable

    Permalink

    Use non-blocking reads and writes.

    Use non-blocking reads and writes. Available only on containers that support Servlet 3.1.

    This can support more concurrent connections on a smaller request thread pool than BlockingServletIo, but consumes more CPU per request. It is also known to cause IllegalStateExceptions in the logs under high load up through at least Tomcat 8.0.15. These appear to be harmless, but are operationally annoying.

  9. final case class ServletApiVersion(major: Int, minor: Int) extends Ordered[ServletApiVersion] with Product with Serializable

    Permalink
  10. abstract class ServletContainer[F[_]] extends ServerBuilder[F]

    Permalink
  11. sealed abstract class ServletIo[F[_]] extends AnyRef

    Permalink

    Determines the mode of I/O used for reading request bodies and writing response bodies.

Value Members

  1. object AsyncHttp4sServlet extends Serializable

    Permalink
  2. object BlockingHttp4sServlet extends Serializable

    Permalink
  3. val DefaultChunkSize: Int

    Permalink
    Attributes
    protected
  4. def NullBodyWriter[F[_]](implicit F: Async[F]): BodyWriter[F]

    Permalink
    Attributes
    protected
  5. object ServletApiVersion extends Serializable

    Permalink
  6. object ServletContainer

    Permalink
  7. package syntax

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped