All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.redis.runtime.client.config.ProxyConfig Maven / Gradle / Ivy

There is a newer version: 3.17.5
Show newest version
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