RouterFunctions#resource(RequestPredicate, Resource) and
RouterFunctions#resource(RequestPredicate, Resource, java.util.function.BiConsumer) .
| Modifier and Type | Field and Description |
|---|---|
| private final RequestPredicate | |
| private final Resource |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Optional | apply(ServerRequest
the function argument serverRequest)Implements java. Applies this function to the given argument. |
| predicate | back to summary |
|---|---|
| private final RequestPredicate predicate | |
| resource | back to summary |
|---|---|
| private final Resource resource | |
| PredicateResourceLookupFunction | back to summary |
|---|---|
| public PredicateResourceLookupFunction(RequestPredicate predicate, Resource resource) | |
| apply | back to summary |
|---|---|
| public Optional Implements java. Doc from java. Applies this function to the given argument.
| |