toggle menu
spring-framework
6.2.0-SNAPSHOT
jvm
switch theme
search in API
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