NettyFutureServerOptions

sttp.tapir.server.netty.NettyFutureServerOptions
See theNettyFutureServerOptions companion object
case class NettyFutureServerOptions(interceptors: List[Interceptor[Future]], createFile: ServerRequest => Future[TapirFile], deleteFile: TapirFile => Future[Unit])

Options configuring the NettyFutureServerInterpreter, which is being used by NettyFutureServer to interpret tapir's sttp.tapir.server.ServerEndpoints so that they can be served using a Netty server. Contains the interceptors stack and functions for file handling.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def appendInterceptor(i: Interceptor[Future]): NettyFutureServerOptions
def prependInterceptor(i: Interceptor[Future]): NettyFutureServerOptions

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product