io.quarkus.redis.runtime.client.config.ProxyConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-redis-client Show documentation
Show all versions of quarkus-redis-client Show documentation
Connect to Redis in either imperative or reactive style
package io.quarkus.redis.runtime.client.config;
import java.util.Optional;
import io.quarkus.runtime.annotations.ConfigGroup;
import io.smallrye.config.WithDefault;
import io.vertx.core.net.ProxyType;
@ConfigGroup
public interface ProxyConfig {
/**
* Set proxy username.
*/
Optional username();
/**
* Set proxy password.
*/
Optional password();
/**
* Set proxy port. Defaults to 3128.
*/
@WithDefault("3128")
int port();
/**
* Set proxy host.
*/
Optional host();
/**
* Set proxy type.
* Accepted values are: {@code HTTP} (default), {@code SOCKS4} and {@code SOCKS5}.
*/
@WithDefault("http")
ProxyType type();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy