object ServerDefaults
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ServerDefaults
- AnyRef
- Any
- Hide All
- Show All
Visibility
- 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()
-
def
decodeFailureHandler: DecodeFailureHandler[Any]
By default, a 400 (bad request) is returned if a query, header or body input can't be decoded (for any reason), or if decoding a path capture ends with an error.
By default, a 400 (bad request) is returned if a query, header or body input can't be decoded (for any reason), or if decoding a path capture ends with an error.
Otherwise (e.g. if the method, a path segment, or path capture is missing or there's a mismatch), a "no match" is returned, which is a signal to try the next endpoint.
-
def
decodeFailureHandlerUsingResponse(response: (StatusCode, String) ⇒ DecodeFailureHandling, badRequestOnPathFailureIfPathShapeMatches: Boolean, validationErrorToMessage: (ValidationError[_]) ⇒ String): DecodeFailureHandler[Any]
- badRequestOnPathFailureIfPathShapeMatches
Should a status 400 be returned if the shape of the path of the request matches, but decoding some path segment fails. This assumes that the only way decoding a path segment might fail is with a DecodeResult.Error.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val errorStatusCode: StatusCode
- val failureOutput: EndpointOutput[(StatusCode, String)]
- def failureResponse(statusCode: StatusCode, message: String): DecodeFailureHandling
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val successStatusCode: StatusCode
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def validationErrorToMessage(ve: ValidationError[_]): String
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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()