Object/Class

org.http4s.server.tomcat

TomcatBuilder

Related Docs: class TomcatBuilder | package tomcat

Permalink

object TomcatBuilder extends TomcatBuilder

Source
TomcatBuilder.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TomcatBuilder
  2. TomcatBuilder
  3. SSLSupport
  4. IdleTimeoutSupport
  5. ServletContainer
  6. AsyncTimeoutSupport
  7. ServerBuilder
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Self = TomcatBuilder

    Permalink
    Definition Classes
    TomcatBuilderServletContainerServerBuilder

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. final def bindAny(host: String = DefaultHost): Self

    Permalink
    Definition Classes
    ServerBuilder
  6. final def bindHttp(port: Int = DefaultHttpPort, host: String = DefaultHost): Self

    Permalink
    Definition Classes
    ServerBuilder
  7. final def bindLocal(port: Int): Self

    Permalink
    Definition Classes
    ServerBuilder
  8. def bindSocketAddress(socketAddress: InetSocketAddress): TomcatBuilder

    Permalink
    Definition Classes
    TomcatBuilderServerBuilder
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def mountFilter(filter: Filter, urlMapping: String, name: Option[String], dispatches: EnumSet[DispatcherType]): TomcatBuilder

    Permalink

    Mounts a filter to the server.

    Mounts a filter to the server.

    The http4s way is to create a middleware around an HttpService, which runs not just on servlet containers, but all supported backends. This method is good for legacy scenarios, or for reusing parts of the servlet ecosystem for an app that is committed to running on a servlet container.

    Definition Classes
    TomcatBuilderServletContainer
  17. def mountService(service: HttpService, prefix: String): TomcatBuilder

    Permalink
    Definition Classes
    TomcatBuilderServerBuilder
  18. def mountServlet(servlet: HttpServlet, urlMapping: String, name: Option[String] = None): TomcatBuilder

    Permalink

    Mounts a servlet to the server.

    Mounts a servlet to the server.

    The http4s way is to create an HttpService, which runs not just on servlet containers, but all supported backends. This method is good for legacy scenarios, or for reusing parts of the servlet ecosystem for an app that is committed to running on a servlet container.

    Definition Classes
    TomcatBuilderServletContainer
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def run: Server

    Permalink

    Convenience method to run a server.

    Convenience method to run a server. The method blocks until the server is started.

    Definition Classes
    ServerBuilder
  23. def start: Task[Server]

    Permalink

    Returns a task to start a server.

    Returns a task to start a server. The task completes with a reference to the server when it has started.

    Definition Classes
    TomcatBuilderServerBuilder
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def withAsyncTimeout(asyncTimeout: Duration): TomcatBuilder

    Permalink
    Definition Classes
    TomcatBuilderAsyncTimeoutSupport
  30. def withIdleTimeout(idleTimeout: Duration): TomcatBuilder

    Permalink
    Definition Classes
    TomcatBuilderIdleTimeoutSupport
  31. def withSSL(keyStore: StoreInfo, keyManagerPassword: String, protocol: String, trustStore: Option[StoreInfo], clientAuth: Boolean): Self

    Permalink
    Definition Classes
    TomcatBuilderSSLSupport
  32. def withServiceExecutor(serviceExecutor: ExecutorService): TomcatBuilder

    Permalink
    Definition Classes
    TomcatBuilderServerBuilder
  33. def withServletIo(servletIo: ServletIo): Self

    Permalink

    Sets the servlet I/O mode for reads and writes within the servlet.

    Sets the servlet I/O mode for reads and writes within the servlet. Not to be confused with the server connectors.

    Definition Classes
    TomcatBuilderServletContainer
    See also

    org.http4s.servlet.ServletIo

Inherited from TomcatBuilder

Inherited from SSLSupport

Inherited from IdleTimeoutSupport

Inherited from ServletContainer

Inherited from AsyncTimeoutSupport

Inherited from ServerBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped