object VertxCatsServerOptions extends Serializable
- Alphabetic
- By Inheritance
- VertxCatsServerOptions
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
customInterceptors[F[_]](exceptionHandler: Option[ExceptionHandler] = Some(DefaultExceptionHandler), serverLog: Option[ServerLog[Unit]] = ..., additionalInterceptors: List[Interceptor[F, (RoutingContext) ⇒ Unit]] = Nil, unsupportedMediaTypeInterceptor: Option[UnsupportedMediaTypeInterceptor[F, (RoutingContext) ⇒ Unit]] = ..., decodeFailureHandler: DecodeFailureHandler = DefaultDecodeFailureHandler.handler)(implicit arg0: Applicative[F]): VertxCatsServerOptions[F]
Creates default VertxCatsServerOptions with custom interceptors, sitting between two interceptor groups: 1.
Creates default VertxCatsServerOptions with custom interceptors, sitting between two interceptor groups: 1. the optional exception interceptor and the optional logging interceptor (which should typically be first when processing the request, and last when processing the response)), 2. the optional unsupported media type interceptor and the decode failure handling interceptor (which should typically be last when processing the request).
The options can be then further customised using copy constructors or the methods to append/prepend interceptors.
- exceptionHandler
Whether to respond to exceptions, or propagate them to vertx.
- serverLog
The server log using which an interceptor will be created, if any. To keep the default, use
VertxEndpointOptions.defaultServerLog- additionalInterceptors
Additional interceptors, e.g. handling decode failures, or providing alternate responses.
- unsupportedMediaTypeInterceptor
Whether to return 415 (unsupported media type) if there's no body in the endpoint's outputs, which can satisfy the constraints from the
Acceptheader.- decodeFailureHandler
The decode failure handler, from which an interceptor will be created.
- implicit def default[F[_]](implicit arg0: Applicative[F]): VertxCatsServerOptions[F]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated