org.springframework.web.reactive.function.client

Class ExchangeFilterFunctions.Credentials

  • java.lang.Object
    • org.springframework.web.reactive.function.client.ExchangeFilterFunctions.Credentials
  • Enclosing class:
    ExchangeFilterFunctions

    Deprecated. 
    as of Spring 5.1 in favor of using HttpHeaders.setBasicAuth(String, String) while building the request.

    @Deprecated
    public static final class ExchangeFilterFunctions.Credentials
    extends java.lang.Object
    Stores user and password for HTTP basic authentication.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Credentials(java.lang.String username, java.lang.String password)
      Deprecated. 
      Create a new Credentials instance with the given username and password.