Package org.apache.jackrabbit.spi2dav
Class ConnectionOptions.Builder
- java.lang.Object
-
- org.apache.jackrabbit.spi2dav.ConnectionOptions.Builder
-
- Enclosing class:
- ConnectionOptions
public static final class ConnectionOptions.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectionOptions.Builder
allowSelfSignedCertificates(boolean isAllowSelfSignedCertificates)
ConnectionOptions
build()
ConnectionOptions.Builder
connectionTimeoutMs(int connectionTimeoutMs)
ConnectionOptions.Builder
disableHostnameVerification(boolean isDisableHostnameVerification)
ConnectionOptions.Builder
maxConnections(int maxConnections)
ConnectionOptions.Builder
proxyHost(String proxyHost)
ConnectionOptions.Builder
proxyPassword(String proxyPassword)
ConnectionOptions.Builder
proxyPort(int proxyPort)
ConnectionOptions.Builder
proxyProtocol(String proxyProtocol)
ConnectionOptions.Builder
proxyUsername(String proxyUsername)
ConnectionOptions.Builder
requestTimeoutMs(int requestTimeoutMs)
ConnectionOptions.Builder
socketTimeoutMs(int socketTimeoutMs)
ConnectionOptions.Builder
useSystemProperties(boolean isUseSystemPropertes)
-
-
-
Method Detail
-
useSystemProperties
public ConnectionOptions.Builder useSystemProperties(boolean isUseSystemPropertes)
-
maxConnections
public ConnectionOptions.Builder maxConnections(int maxConnections)
-
allowSelfSignedCertificates
public ConnectionOptions.Builder allowSelfSignedCertificates(boolean isAllowSelfSignedCertificates)
-
disableHostnameVerification
public ConnectionOptions.Builder disableHostnameVerification(boolean isDisableHostnameVerification)
-
connectionTimeoutMs
public ConnectionOptions.Builder connectionTimeoutMs(int connectionTimeoutMs)
-
requestTimeoutMs
public ConnectionOptions.Builder requestTimeoutMs(int requestTimeoutMs)
-
socketTimeoutMs
public ConnectionOptions.Builder socketTimeoutMs(int socketTimeoutMs)
-
proxyHost
public ConnectionOptions.Builder proxyHost(String proxyHost)
-
proxyPort
public ConnectionOptions.Builder proxyPort(int proxyPort)
-
proxyProtocol
public ConnectionOptions.Builder proxyProtocol(String proxyProtocol)
-
proxyUsername
public ConnectionOptions.Builder proxyUsername(String proxyUsername)
-
proxyPassword
public ConnectionOptions.Builder proxyPassword(String proxyPassword)
-
build
public ConnectionOptions build()
-
-