Package org.apache.hc.core5.benchmark
Class BenchmarkConfig.Builder
java.lang.Object
org.apache.hc.core5.benchmark.BenchmarkConfig.Builder
- Enclosing class:
BenchmarkConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private ContentType
private boolean
private boolean
private String[]
private boolean
private String
private String
private boolean
private String
private File
private String
private int
private String
private Timeout
private TimeValue
private String
private String
private URI
private boolean
private boolean
private boolean
private int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
setConcurrencyLevel
(int concurrencyLevel) setContentType
(ContentType contentType) setDisableSSLVerification
(boolean disableSSLVerification) setForceHttp2
(boolean forceHttp2) setHeaders
(String[] headers) setHeadInsteadOfGet
(boolean headInsteadOfGet) setIdentityStorePassword
(String identityStorePassword) setIdentityStorePath
(String identityStorePath) setKeepAlive
(boolean keepAlive) setPayloadFile
(File payloadFile) setPayloadText
(String payloadText) setRequests
(int requests) setSoapAction
(String soapAction) setSocketTimeout
(Timeout socketTimeout) setTimeLimit
(TimeValue timeLimit) setTrustStorePassword
(String trustStorePassword) setTrustStorePath
(String trustStorePath) setUseAcceptGZip
(boolean useAcceptGZip) setUseChunking
(boolean useChunking) setUseExpectContinue
(boolean useExpectContinue) setVerbosity
(int verbosity)
-
Field Details
-
uri
-
requests
private int requests -
concurrencyLevel
private int concurrencyLevel -
timeLimit
-
socketTimeout
-
payloadFile
-
contentType
-
verbosity
private int verbosity -
headInsteadOfGet
private boolean headInsteadOfGet -
headers
-
keepAlive
private boolean keepAlive -
method
-
useChunking
private boolean useChunking -
useExpectContinue
private boolean useExpectContinue -
useAcceptGZip
private boolean useAcceptGZip -
payloadText
-
soapAction
-
forceHttp2
private boolean forceHttp2 -
disableSSLVerification
private boolean disableSSLVerification -
trustStorePath
-
identityStorePath
-
trustStorePassword
-
identityStorePassword
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setUri
-
setRequests
-
setConcurrencyLevel
-
setKeepAlive
-
setVerbosity
-
setHeadInsteadOfGet
-
setContentType
-
setHeaders
-
setSocketTimeout
-
setMethod
-
setUseChunking
-
setUseExpectContinue
-
setUseAcceptGZip
-
setPayloadFile
-
setPayloadText
-
setSoapAction
-
setTimeLimit
-
setForceHttp2
-
setDisableSSLVerification
-
setTrustStorePath
-
setIdentityStorePath
-
setTrustStorePassword
-
setIdentityStorePassword
-
build
-