Top Description Inners Fields Constructors Methods
reactor.netty.transport

public final Class ProxyProvider

extends Object
Class Inheritance
Imports
java.net.InetSocketAddress, .SocketAddress, java.nio.charset.Charset, java.util.Objects, .Properties, java.util.function.Consumer, .Function, .Predicate, .Supplier, java.util.regex.Pattern, io.netty.channel.Channel, .ChannelHandler, .ChannelHandlerContext, .ChannelOutboundHandlerAdapter, .ChannelPipeline, .ChannelPromise, io.netty.handler.codec.http.DefaultHttpHeaders, .HttpHeaders, io.netty.handler.logging.LogLevel, .LoggingHandler, io.netty.handler.proxy.HttpProxyHandler, .ProxyHandler, .Socks4ProxyHandler, .Socks5ProxyHandler, io.netty.util.internal.StringUtil, reactor.netty.NettyPipeline, reactor.netty.transport.logging.AdvancedByteBufFormat, reactor.util.annotation.Nullable

Proxy configuration.
Author
Violeta Georgieva

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface
pack-priv static class
public static interface
public static enum
pack-priv static class
public static interface
pack-priv static class

Field Summary

Modifier and TypeField and Description
pack-priv final Supplier<? extends InetSocketAddress>
pack-priv final long
pack-priv static final String
pack-priv static final String
pack-priv static final String
pack-priv static final String
pack-priv static final String
pack-priv static final String
pack-priv final Supplier<? extends HttpHeaders>
pack-priv static final String
pack-priv static final String
pack-priv static final String
pack-priv static final String
pack-priv static final LoggingHandler
pack-priv final Predicate<SocketAddress>
pack-priv final Function<? super String, ? extends String>
pack-priv static final String
pack-priv static final String
pack-priv static final String
pack-priv static final String
pack-priv static final String
pack-priv static final String
pack-priv static final String
pack-priv final ProxyProvider.Proxy
pack-priv final String

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
public static ProxyProvider.TypeSpec

Returns:

a new ProxyProvider builder
builder
()

Creates a builder for ProxyProvider.

pack-priv static ProxyProvider
createFrom(Properties properties)

pack-priv static ProxyProvider
pack-priv static ProxyProvider
public boolean
equals(Object
the reference object with which to compare.
o
)

Overrides java.lang.Object.equals.

Indicates whether some other object is "equal to" this one.
public final Supplier<? extends InetSocketAddress>

Returns:

The supplier for the address to connect to.
getAddress
()

The supplier for the address to connect to.

public final Predicate<SocketAddress>

Returns:

The predicate Predicate to test the incoming SocketAddress if it should be reached directly, bypassing the proxy
getNonProxyHostsPredicate
()

A predicate Predicate on SocketAddress that returns true when the provided address should be reached directly, bypassing the proxy.

private boolean
private String
public final ProxyProvider.Proxy

Returns:

The proxy type
getType
()

The proxy type.

public int
hashCode()

Overrides java.lang.Object.hashCode.

Returns a hash code value for the object.
public final ProxyHandler

Returns:

a new eventual ProxyHandler
newProxyHandler
()

Return a new eventual ProxyHandler.

pack-priv static int
parsePort(String port, String propertyName)

public boolean

Returns:

true if of type InetSocketAddress and hostname candidate to proxy
shouldProxy
(SocketAddress
the address to test
address
)

Returns true when the given SocketAddress should be reached via the configured proxy.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
clonefinalizegetClassnotifynotifyAllwaitwaitwait