spring-framework
6.1.14-SNAPSHOT
jvm
spring-webmvc
/
org.springframework.web.servlet.function
/
RouterFunctionDsl
/
resource
resource
fun
resource
(
predicate
:
RequestPredicate
,
resource
:
Resource
)
Route requests that match the given predicate to the given resource.
Since
6.1.4
See also
Router
Functions.
resource