public class CorsDirectives$
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static CorsDirectives$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
CorsDirectives$() |
Modifier and Type | Method and Description |
---|---|
Route |
cors(CorsSettings settings,
java.util.function.Supplier<Route> inner) |
Route |
cors(java.util.function.Supplier<Route> inner) |
RejectionHandler |
corsRejectionHandler() |
public static final CorsDirectives$ MODULE$
public Route cors(CorsSettings settings, java.util.function.Supplier<Route> inner)
public RejectionHandler corsRejectionHandler()