
com.chavaillaz.client.common.security.AnonymousAuthentication Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common-client Show documentation
Show all versions of common-client Show documentation
Library for the creation of asynchronous clients supporting multiple HTTP clients
package com.chavaillaz.client.common.security;
import java.util.function.BiConsumer;
/**
* Anonymous authentication which is not adding anything to headers and/or cookies.
*/
public class AnonymousAuthentication extends Authentication {
@Override
public void fillHeaders(BiConsumer addHeader) {
// Nothing to do
}
@Override
public void fillCookies(BiConsumer addCookie) {
// Nothing to do
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy