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 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 interface BiFunction<Invocation,​org.springframework.web.util.UriBuilder,​URI>