Interface RequestUriFunction
-
- All Superinterfaces:
BiFunction<Invocation,org.springframework.web.util.UriBuilder,URI>
@Immutable @Valid public interface RequestUriFunction extends BiFunction<Invocation,org.springframework.web.util.UriBuilder,URI>
The request uri function.- Author:
- Christian Bremer
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default URI
apply(Invocation invocation, org.springframework.web.util.UriBuilder uriBuilder)
static org.bremersee.apiclient.webflux.contract.ImmutableRequestUriFunction.Builder
builder()
Builder.@NotNull Function<Invocation,Map<String,Object>>
getPathVariablesResolver()
Gets path variables resolver.@NotEmpty List<Function<Invocation,org.springframework.util.MultiValueMap<String,Object>>>
getRequestParametersResolvers()
Gets request parameters resolvers.@NotNull Function<Invocation,String>
getRequestPathResolver()
Gets request path resolver.-
Methods inherited from interface java.util.function.BiFunction
andThen
-
-
-
-
Method Detail
-
builder
static org.bremersee.apiclient.webflux.contract.ImmutableRequestUriFunction.Builder builder()
Builder.- Returns:
- the request uri function builder
-
getRequestPathResolver
@NotNull @NotNull Function<Invocation,String> getRequestPathResolver()
Gets request path resolver.- Returns:
- the request path resolver
-
getPathVariablesResolver
@NotNull @NotNull Function<Invocation,Map<String,Object>> getPathVariablesResolver()
Gets path variables resolver.- Returns:
- the path variables resolver
-
getRequestParametersResolvers
@NotEmpty @NotEmpty List<Function<Invocation,org.springframework.util.MultiValueMap<String,Object>>> getRequestParametersResolvers()
Gets request parameters resolvers.- Returns:
- the request parameters resolvers
-
apply
default URI apply(Invocation invocation, org.springframework.web.util.UriBuilder uriBuilder)
- Specified by:
apply
in interfaceBiFunction<Invocation,org.springframework.web.util.UriBuilder,URI>
-
-