com
.
sksamuel
.
scruffy
.
client
ScruffyClientConfig
Related Doc:
package client
case class
ScruffyClientConfig
(
acceptAnyCertificate:
Boolean
=
false
,
allowPoolingConnection:
Boolean
=
true
,
allowSslConnectionPool:
Boolean
=
true
,
connectTimeOutInMs:
Int
=
60 * 1000
,
enabledCipherSuites:
Seq
[
String
] =
Nil
,
executionContext:
ExecutorService
=
Executors.newCachedThreadPool()
,
followRedirect:
Boolean
=
true
,
hostnameVerifier:
HostnameVerifier
=
new DefaultHostnameVerifier()
,
ioThreadMultiplier:
Int
=
1
,
pooledConnectionIdleTimeout:
Int
=
60 * 1000
,
maxConnectionPerHost:
Int
=
1
,
maxDefaultRedirects:
Int
=
5
,
maxRequestRetry:
Int
=
5
,
maxTotalConnections:
Int
=
1
,
realm:
Realm
=
null
,
readTimeout:
Int
=
60 * 1000
,
requestTimeoutInMs:
Int
=
60 * 1000
,
sslContext:
SSLContext
=
null
,
strict302Handling:
Boolean
=
false
,
userAgent:
String
=
"scruffy-client/1.11"
,
useRelativeURIsWithSSLProxies:
Boolean
=
false
)
extends
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
ScruffyClientConfig
Serializable
Serializable
Product
Equals
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
ScruffyClientConfig
(
acceptAnyCertificate:
Boolean
=
false
,
allowPoolingConnection:
Boolean
=
true
,
allowSslConnectionPool:
Boolean
=
true
,
connectTimeOutInMs:
Int
=
60 * 1000
,
enabledCipherSuites:
Seq
[
String
] =
Nil
,
executionContext:
ExecutorService
=
Executors.newCachedThreadPool()
,
followRedirect:
Boolean
=
true
,
hostnameVerifier:
HostnameVerifier
=
new DefaultHostnameVerifier()
,
ioThreadMultiplier:
Int
=
1
,
pooledConnectionIdleTimeout:
Int
=
60 * 1000
,
maxConnectionPerHost:
Int
=
1
,
maxDefaultRedirects:
Int
=
5
,
maxRequestRetry:
Int
=
5
,
maxTotalConnections:
Int
=
1
,
realm:
Realm
=
null
,
readTimeout:
Int
=
60 * 1000
,
requestTimeoutInMs:
Int
=
60 * 1000
,
sslContext:
SSLContext
=
null
,
strict302Handling:
Boolean
=
false
,
userAgent:
String
=
"scruffy-client/1.11"
,
useRelativeURIsWithSSLProxies:
Boolean
=
false
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
val
acceptAnyCertificate
:
Boolean
val
allowPoolingConnection
:
Boolean
val
allowSslConnectionPool
:
Boolean
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
connectTimeOutInMs
:
Int
val
enabledCipherSuites
:
Seq
[
String
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
val
executionContext
:
ExecutorService
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
val
followRedirect
:
Boolean
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
val
hostnameVerifier
:
HostnameVerifier
val
ioThreadMultiplier
:
Int
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
maxConnectionPerHost
:
Int
val
maxDefaultRedirects
:
Int
val
maxRequestRetry
:
Int
val
maxTotalConnections
:
Int
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
pooledConnectionIdleTimeout
:
Int
val
readTimeout
:
Int
val
realm
:
Realm
val
requestTimeoutInMs
:
Int
val
sslContext
:
SSLContext
val
strict302Handling
:
Boolean
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toAsyncConfig
:
AsyncHttpClientConfig
val
useRelativeURIsWithSSLProxies
:
Boolean
val
userAgent
:
String
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
withLentientSsl
:
ScruffyClientConfig
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
AnyRef
Inherited from
Any
Ungrouped