Package org.apache.qpid.server.util
Class ConnectionBuilder
- java.lang.Object
-
- org.apache.qpid.server.util.ConnectionBuilder
-
public class ConnectionBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description ConnectionBuilder(URL url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpURLConnection
build()
ConnectionBuilder
setConnectTimeout(int timeout)
ConnectionBuilder
setReadTimeout(int readTimeout)
ConnectionBuilder
setTlsCipherSuiteAllowList(List<String> tlsCipherSuiteAllowList)
ConnectionBuilder
setTlsCipherSuiteDenyList(List<String> tlsCipherSuiteDenyList)
ConnectionBuilder
setTlsProtocolAllowList(List<String> tlsProtocolAllowList)
ConnectionBuilder
setTlsProtocolDenyList(List<String> tlsProtocolDenyList)
ConnectionBuilder
setTrustMangers(TrustManager[] trustMangers)
-
-
-
Constructor Detail
-
ConnectionBuilder
public ConnectionBuilder(URL url)
-
-
Method Detail
-
setConnectTimeout
public ConnectionBuilder setConnectTimeout(int timeout)
-
setReadTimeout
public ConnectionBuilder setReadTimeout(int readTimeout)
-
setTrustMangers
public ConnectionBuilder setTrustMangers(TrustManager[] trustMangers)
-
setTlsProtocolAllowList
public ConnectionBuilder setTlsProtocolAllowList(List<String> tlsProtocolAllowList)
-
setTlsProtocolDenyList
public ConnectionBuilder setTlsProtocolDenyList(List<String> tlsProtocolDenyList)
-
setTlsCipherSuiteAllowList
public ConnectionBuilder setTlsCipherSuiteAllowList(List<String> tlsCipherSuiteAllowList)
-
setTlsCipherSuiteDenyList
public ConnectionBuilder setTlsCipherSuiteDenyList(List<String> tlsCipherSuiteDenyList)
-
build
public HttpURLConnection build() throws IOException
- Throws:
IOException
-
-