HttpHeaders.setBasicAuth(String, String)
を使用することを推奨。@DeprecatedSE public static final class ExchangeFilterFunctions.Credentials extends ObjectSE
コンストラクターと説明 |
---|
Credentials(StringSE username, StringSE password) 使用すべきではありません。 指定されたユーザー名とパスワードで新しい Credentials インスタンスを作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
static ConsumerSE<MapSE<StringSE, ObjectSE>> | basicAuthenticationCredentials(StringSE username, StringSE password) 使用すべきではありません。 指定されたユーザー名とパスワードを Credentials 型のリクエスト属性として格納するコンシューマーを返します。これは ExchangeFilterFunctions.basicAuthentication() によって順に使用されます。 |
boolean | equals(ObjectSE other) 使用すべきではありません。 |
int | hashCode() 使用すべきではありません。 |
cloneSE, finalizeSE, getClassSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public static ConsumerSE<MapSE<StringSE,ObjectSE>> basicAuthenticationCredentials(StringSE username, StringSE password)
Credentials
型のリクエスト属性として格納するコンシューマーを返します。これは ExchangeFilterFunctions.basicAuthentication()
によって順に使用されます。username
- ユーザー名 password
- パスワード ClientRequest.Builder.attributes(java.util.function.Consumer)
, ExchangeFilterFunctions.BASIC_AUTHENTICATION_CREDENTIALS_ATTRIBUTE
public int hashCode()
ObjectSE
の hashCodeSE