Package org.apache.hc.core5.benchmark
Class BenchmarkConfig
java.lang.Object
org.apache.hc.core5.benchmark.BenchmarkConfig
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final ContentTypeprivate final booleanprivate final booleanprivate final String[]private final booleanprivate final Stringprivate final Stringprivate final booleanprivate final Stringprivate final Fileprivate final Stringprivate final intprivate final Stringprivate final Timeoutprivate final TimeValueprivate final Stringprivate final Stringprivate final URIprivate final booleanprivate final booleanprivate final booleanprivate final int -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateBenchmarkConfig(URI uri, int requests, int concurrencyLevel, TimeValue timeLimit, Timeout socketTimeout, File payloadFile, ContentType contentType, int verbosity, boolean headInsteadOfGet, String[] headers, boolean keepAlive, String method, boolean useChunking, boolean useExpectContinue, boolean useAcceptGZip, String payloadText, String soapAction, boolean forceHttp2, boolean disableSSLVerification, String trustStorePath, String identityStorePath, String trustStorePassword, String identityStorePassword) -
Method Summary
Modifier and TypeMethodDescriptionstatic BenchmarkConfig.Buildercopy(BenchmarkConfig config) static BenchmarkConfig.Buildercustom()intString[]intgetUri()intbooleanbooleanbooleanbooleanbooleanbooleanbooleantoString()
-
Field Details
-
uri
-
requests
private final int requests -
concurrencyLevel
private final int concurrencyLevel -
timeLimit
-
socketTimeout
-
payloadFile
-
contentType
-
verbosity
private final int verbosity -
headInsteadOfGet
private final boolean headInsteadOfGet -
headers
-
keepAlive
private final boolean keepAlive -
method
-
useChunking
private final boolean useChunking -
useExpectContinue
private final boolean useExpectContinue -
useAcceptGZip
private final boolean useAcceptGZip -
payloadText
-
soapAction
-
forceHttp2
private final boolean forceHttp2 -
disableSSLVerification
private final boolean disableSSLVerification -
trustStorePath
-
identityStorePath
-
trustStorePassword
-
identityStorePassword
-
-
Constructor Details
-
BenchmarkConfig
private BenchmarkConfig(URI uri, int requests, int concurrencyLevel, TimeValue timeLimit, Timeout socketTimeout, File payloadFile, ContentType contentType, int verbosity, boolean headInsteadOfGet, String[] headers, boolean keepAlive, String method, boolean useChunking, boolean useExpectContinue, boolean useAcceptGZip, String payloadText, String soapAction, boolean forceHttp2, boolean disableSSLVerification, String trustStorePath, String identityStorePath, String trustStorePassword, String identityStorePassword)
-
-
Method Details
-
getUri
-
getRequests
public int getRequests() -
getConcurrencyLevel
public int getConcurrencyLevel() -
isKeepAlive
public boolean isKeepAlive() -
getVerbosity
public int getVerbosity() -
isHeadInsteadOfGet
public boolean isHeadInsteadOfGet() -
getPayloadFile
-
getContentType
-
getHeaders
-
getSocketTimeout
-
getMethod
-
isUseChunking
public boolean isUseChunking() -
isUseExpectContinue
public boolean isUseExpectContinue() -
isUseAcceptGZip
public boolean isUseAcceptGZip() -
getPayloadText
-
getSoapAction
-
isForceHttp2
public boolean isForceHttp2() -
isDisableSSLVerification
public boolean isDisableSSLVerification() -
getTrustStorePath
-
getIdentityStorePath
-
getTrustStorePassword
-
getIdentityStorePassword
-
getTimeLimit
-
toString
-
custom
-
copy
-