Class ExtendedConnectionOperator
- java.lang.Object
-
- com.sedmelluq.discord.lavaplayer.tools.http.ExtendedConnectionOperator
-
- All Implemented Interfaces:
org.apache.http.conn.HttpClientConnectionOperator
public class ExtendedConnectionOperator extends java.lang.Object implements org.apache.http.conn.HttpClientConnectionOperator
-
-
Constructor Summary
Constructors Constructor Description ExtendedConnectionOperator(org.apache.http.config.Lookup<org.apache.http.conn.socket.ConnectionSocketFactory> socketFactoryRegistry, org.apache.http.conn.SchemePortResolver schemePortResolver, org.apache.http.conn.DnsResolver dnsResolver)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconnect(org.apache.http.conn.ManagedHttpClientConnection connection, org.apache.http.HttpHost host, java.net.InetSocketAddress localAddress, int connectTimeout, org.apache.http.config.SocketConfig socketConfig, org.apache.http.protocol.HttpContext context)static voidsetResolvedAddresses(org.apache.http.protocol.HttpContext context, org.apache.http.HttpHost host, java.net.InetAddress[] addresses)voidupgrade(org.apache.http.conn.ManagedHttpClientConnection connection, org.apache.http.HttpHost host, org.apache.http.protocol.HttpContext context)
-
-
-
Method Detail
-
setResolvedAddresses
public static void setResolvedAddresses(org.apache.http.protocol.HttpContext context, org.apache.http.HttpHost host, java.net.InetAddress[] addresses)
-
connect
public void connect(org.apache.http.conn.ManagedHttpClientConnection connection, org.apache.http.HttpHost host, java.net.InetSocketAddress localAddress, int connectTimeout, org.apache.http.config.SocketConfig socketConfig, org.apache.http.protocol.HttpContext context) throws java.io.IOException- Specified by:
connectin interfaceorg.apache.http.conn.HttpClientConnectionOperator- Throws:
java.io.IOException
-
upgrade
public void upgrade(org.apache.http.conn.ManagedHttpClientConnection connection, org.apache.http.HttpHost host, org.apache.http.protocol.HttpContext context) throws java.io.IOException- Specified by:
upgradein interfaceorg.apache.http.conn.HttpClientConnectionOperator- Throws:
java.io.IOException
-
-