Class ConfigurationDTO
java.lang.Object
org.mockserver.serialization.model.ConfigurationDTO
- All Implemented Interfaces:
DTO<Configuration>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(Configuration target) setActionHandlerThreadCount(Integer actionHandlerThreadCount) setAlwaysCloseSocketConnections(Boolean alwaysCloseSocketConnections) setAssumeAllRequestsAreHttp(Boolean assumeAllRequestsAreHttp) setAttemptToProxyIfNoMatchingExpectation(Boolean attemptToProxyIfNoMatchingExpectation) setCertificateAuthorityCertificate(String certificateAuthorityCertificate) setCertificateAuthorityPrivateKey(String certificateAuthorityPrivateKey) setClientNioEventLoopThreadCount(Integer clientNioEventLoopThreadCount) setCompactLogFormat(Boolean compactLogFormat) setConnectionDelay(DelayDTO connectionDelay) setControlPlaneJWTAuthenticationExpectedAudience(String controlPlaneJWTAuthenticationExpectedAudience) setControlPlaneJWTAuthenticationJWKSource(String controlPlaneJWTAuthenticationJWKSource) setControlPlaneJWTAuthenticationMatchingClaims(Map<String, String> controlPlaneJWTAuthenticationMatchingClaims) setControlPlaneJWTAuthenticationRequired(Boolean controlPlaneJWTAuthenticationRequired) setControlPlaneJWTAuthenticationRequiredClaims(Set<String> controlPlaneJWTAuthenticationRequiredClaims) setControlPlanePrivateKeyPath(String controlPlanePrivateKeyPath) setControlPlaneTLSMutualAuthenticationCAChain(String controlPlaneTLSMutualAuthenticationCAChain) setControlPlaneTLSMutualAuthenticationRequired(Boolean controlPlaneTLSMutualAuthenticationRequired) setControlPlaneX509CertificatePath(String controlPlaneX509CertificatePath) setCorsAllowCredentials(Boolean corsAllowCredentials) setCorsAllowHeaders(String corsAllowHeaders) setCorsAllowMethods(String corsAllowMethods) setCorsAllowOrigin(String corsAllowOrigin) setCorsMaxAgeInSeconds(Integer corsMaxAgeInSeconds) setDetailedMatchFailures(Boolean detailedMatchFailures) setDirectoryToSaveDynamicSSLCertificate(String directoryToSaveDynamicSSLCertificate) setDisableLogging(Boolean disableLogging) setDisableSystemOut(Boolean disableSystemOut) setDynamicallyCreateCertificateAuthorityCertificate(Boolean dynamicallyCreateCertificateAuthorityCertificate) setEnableCORSForAllResponses(Boolean enableCORSForAllResponses) setEnableCORSForAPI(Boolean enableCORSForAPI) setForwardBinaryRequestsWithoutWaitingForResponse(Boolean forwardBinaryRequestsWithoutWaitingForResponse) setForwardHttpProxy(String forwardHttpProxy) setForwardHttpsProxy(String forwardHttpsProxy) setForwardProxyAuthenticationPassword(String forwardProxyAuthenticationPassword) setForwardProxyAuthenticationUsername(String forwardProxyAuthenticationUsername) setForwardProxyCertificateChain(String forwardProxyCertificateChain) setForwardProxyPrivateKey(String forwardProxyPrivateKey) setForwardProxyTLSCustomTrustX509Certificates(String forwardProxyTLSCustomTrustX509Certificates) setForwardProxyTLSX509CertificatesTrustManagerType(String forwardProxyTLSX509CertificatesTrustManagerType) setForwardSocksProxy(String forwardSocksProxy) setInitializationClass(String initializationClass) setInitializationJsonPath(String initializationJsonPath) setInitializationOpenAPIPath(String initializationOpenAPIPath) setJavascriptDisallowedClasses(String javascriptDisallowedClasses) setJavascriptDisallowedText(String javascriptDisallowedText) setLaunchUIForLogLevelDebug(Boolean launchUIForLogLevelDebug) setLivenessHttpGetPath(String livenessHttpGetPath) setLocalBoundIP(String localBoundIP) setLogLevel(String logLevel) setLogLevelOverrides(Map<String, String> logLevelOverrides) setMatchersFailFast(Boolean matchersFailFast) setMaxChunkSize(Integer maxChunkSize) setMaxExpectations(Integer maxExpectations) setMaxFutureTimeoutInMillis(Long maxFutureTimeoutInMillis) setMaxHeaderSize(Integer maxHeaderSize) setMaximumNumberOfRequestToReturnInVerificationFailure(Integer maximumNumberOfRequestToReturnInVerificationFailure) setMaxInitialLineLength(Integer maxInitialLineLength) setMaxLogEntries(Integer maxLogEntries) setMaxSocketTimeoutInMillis(Long maxSocketTimeoutInMillis) setMaxWebSocketExpectations(Integer maxWebSocketExpectations) setMcpEnabled(Boolean mcpEnabled) setMemoryUsageCsvDirectory(String memoryUsageCsvDirectory) setMetricsEnabled(Boolean metricsEnabled) setMustacheDisallowedText(String mustacheDisallowedText) setNioEventLoopThreadCount(Integer nioEventLoopThreadCount) setNoProxyHosts(String noProxyHosts) setOpenAPIContextPathPrefix(String openAPIContextPathPrefix) setOpenAPIResponseValidation(Boolean openAPIResponseValidation) setOutputMemoryUsageCsv(Boolean outputMemoryUsageCsv) setPersistedExpectationsPath(String persistedExpectationsPath) setPersistedRecordedExpectationsPath(String persistedRecordedExpectationsPath) setPersistExpectations(Boolean persistExpectations) setPersistRecordedExpectations(Boolean persistRecordedExpectations) setPreventCertificateDynamicUpdate(Boolean preventCertificateDynamicUpdate) setPrivateKeyPath(String privateKeyPath) setProactivelyInitialiseTLS(Boolean proactivelyInitialiseTLS) setProxyAuthenticationPassword(String proxyAuthenticationPassword) setProxyAuthenticationRealm(String proxyAuthenticationRealm) setProxyAuthenticationUsername(String proxyAuthenticationUsername) setSocketConnectionTimeoutInMillis(Long socketConnectionTimeoutInMillis) setSslCertificateDomainName(String sslCertificateDomainName) setSslSubjectAlternativeNameDomains(Set<String> sslSubjectAlternativeNameDomains) setSslSubjectAlternativeNameIps(Set<String> sslSubjectAlternativeNameIps) setTlsMutualAuthenticationCertificateChain(String tlsMutualAuthenticationCertificateChain) setTlsMutualAuthenticationRequired(Boolean tlsMutualAuthenticationRequired) setTlsProtocols(String tlsProtocols) setUseSemicolonAsQueryParameterSeparator(Boolean useSemicolonAsQueryParameterSeparator) setVelocityDisallowClassLoading(Boolean velocityDisallowClassLoading) setVelocityDisallowedText(String velocityDisallowedText) setWatchInitializationJson(Boolean watchInitializationJson) setWebSocketClientEventLoopThreadCount(Integer webSocketClientEventLoopThreadCount) setX509CertificatePath(String x509CertificatePath)
-
Constructor Details
-
ConfigurationDTO
public ConfigurationDTO() -
ConfigurationDTO
-
-
Method Details
-
buildObject
- Specified by:
buildObjectin interfaceDTO<Configuration>
-
applyTo
-
getLogLevel
-
setLogLevel
-
getDisableSystemOut
-
setDisableSystemOut
-
getDisableLogging
-
setDisableLogging
-
getDetailedMatchFailures
-
setDetailedMatchFailures
-
getLaunchUIForLogLevelDebug
-
setLaunchUIForLogLevelDebug
-
getMetricsEnabled
-
setMetricsEnabled
-
getMcpEnabled
-
setMcpEnabled
-
getLogLevelOverrides
-
setLogLevelOverrides
-
getCompactLogFormat
-
setCompactLogFormat
-
getMaxExpectations
-
setMaxExpectations
-
getMaxLogEntries
-
setMaxLogEntries
-
getMaxWebSocketExpectations
-
setMaxWebSocketExpectations
-
getOutputMemoryUsageCsv
-
setOutputMemoryUsageCsv
-
getMemoryUsageCsvDirectory
-
setMemoryUsageCsvDirectory
-
getNioEventLoopThreadCount
-
setNioEventLoopThreadCount
-
getActionHandlerThreadCount
-
setActionHandlerThreadCount
-
getClientNioEventLoopThreadCount
-
setClientNioEventLoopThreadCount
-
getWebSocketClientEventLoopThreadCount
-
setWebSocketClientEventLoopThreadCount
public ConfigurationDTO setWebSocketClientEventLoopThreadCount(Integer webSocketClientEventLoopThreadCount) -
getMaxFutureTimeoutInMillis
-
setMaxFutureTimeoutInMillis
-
getMatchersFailFast
-
setMatchersFailFast
-
getMaxSocketTimeoutInMillis
-
setMaxSocketTimeoutInMillis
-
getSocketConnectionTimeoutInMillis
-
setSocketConnectionTimeoutInMillis
-
getConnectionDelay
-
setConnectionDelay
-
getAlwaysCloseSocketConnections
-
setAlwaysCloseSocketConnections
-
getLocalBoundIP
-
setLocalBoundIP
-
getMaxInitialLineLength
-
setMaxInitialLineLength
-
getMaxHeaderSize
-
setMaxHeaderSize
-
getMaxChunkSize
-
setMaxChunkSize
-
getUseSemicolonAsQueryParameterSeparator
-
setUseSemicolonAsQueryParameterSeparator
public ConfigurationDTO setUseSemicolonAsQueryParameterSeparator(Boolean useSemicolonAsQueryParameterSeparator) -
getAssumeAllRequestsAreHttp
-
setAssumeAllRequestsAreHttp
-
getForwardBinaryRequestsWithoutWaitingForResponse
-
setForwardBinaryRequestsWithoutWaitingForResponse
public ConfigurationDTO setForwardBinaryRequestsWithoutWaitingForResponse(Boolean forwardBinaryRequestsWithoutWaitingForResponse) -
getEnableCORSForAPI
-
setEnableCORSForAPI
-
getEnableCORSForAllResponses
-
setEnableCORSForAllResponses
-
getCorsAllowOrigin
-
setCorsAllowOrigin
-
getCorsAllowMethods
-
setCorsAllowMethods
-
getCorsAllowHeaders
-
setCorsAllowHeaders
-
getCorsAllowCredentials
-
setCorsAllowCredentials
-
getCorsMaxAgeInSeconds
-
setCorsMaxAgeInSeconds
-
getJavascriptDisallowedClasses
-
setJavascriptDisallowedClasses
-
getJavascriptDisallowedText
-
setJavascriptDisallowedText
-
getVelocityDisallowClassLoading
-
setVelocityDisallowClassLoading
-
getVelocityDisallowedText
-
setVelocityDisallowedText
-
getMustacheDisallowedText
-
setMustacheDisallowedText
-
getInitializationClass
-
setInitializationClass
-
getInitializationJsonPath
-
setInitializationJsonPath
-
getInitializationOpenAPIPath
-
setInitializationOpenAPIPath
-
getOpenAPIContextPathPrefix
-
setOpenAPIContextPathPrefix
-
getOpenAPIResponseValidation
-
setOpenAPIResponseValidation
-
getWatchInitializationJson
-
setWatchInitializationJson
-
getPersistExpectations
-
setPersistExpectations
-
getPersistedExpectationsPath
-
setPersistedExpectationsPath
-
getPersistRecordedExpectations
-
setPersistRecordedExpectations
-
getPersistedRecordedExpectationsPath
-
setPersistedRecordedExpectationsPath
public ConfigurationDTO setPersistedRecordedExpectationsPath(String persistedRecordedExpectationsPath) -
getMaximumNumberOfRequestToReturnInVerificationFailure
-
setMaximumNumberOfRequestToReturnInVerificationFailure
public ConfigurationDTO setMaximumNumberOfRequestToReturnInVerificationFailure(Integer maximumNumberOfRequestToReturnInVerificationFailure) -
getAttemptToProxyIfNoMatchingExpectation
-
setAttemptToProxyIfNoMatchingExpectation
public ConfigurationDTO setAttemptToProxyIfNoMatchingExpectation(Boolean attemptToProxyIfNoMatchingExpectation) -
getForwardHttpProxy
-
setForwardHttpProxy
-
getForwardHttpsProxy
-
setForwardHttpsProxy
-
getForwardSocksProxy
-
setForwardSocksProxy
-
getForwardProxyAuthenticationUsername
-
setForwardProxyAuthenticationUsername
public ConfigurationDTO setForwardProxyAuthenticationUsername(String forwardProxyAuthenticationUsername) -
getForwardProxyAuthenticationPassword
-
setForwardProxyAuthenticationPassword
public ConfigurationDTO setForwardProxyAuthenticationPassword(String forwardProxyAuthenticationPassword) -
getProxyAuthenticationRealm
-
setProxyAuthenticationRealm
-
getProxyAuthenticationUsername
-
setProxyAuthenticationUsername
-
getProxyAuthenticationPassword
-
setProxyAuthenticationPassword
-
getNoProxyHosts
-
setNoProxyHosts
-
getLivenessHttpGetPath
-
setLivenessHttpGetPath
-
getControlPlaneTLSMutualAuthenticationRequired
-
setControlPlaneTLSMutualAuthenticationRequired
public ConfigurationDTO setControlPlaneTLSMutualAuthenticationRequired(Boolean controlPlaneTLSMutualAuthenticationRequired) -
getControlPlaneTLSMutualAuthenticationCAChain
-
setControlPlaneTLSMutualAuthenticationCAChain
public ConfigurationDTO setControlPlaneTLSMutualAuthenticationCAChain(String controlPlaneTLSMutualAuthenticationCAChain) -
getControlPlanePrivateKeyPath
-
setControlPlanePrivateKeyPath
-
getControlPlaneX509CertificatePath
-
setControlPlaneX509CertificatePath
-
getControlPlaneJWTAuthenticationRequired
-
setControlPlaneJWTAuthenticationRequired
public ConfigurationDTO setControlPlaneJWTAuthenticationRequired(Boolean controlPlaneJWTAuthenticationRequired) -
getControlPlaneJWTAuthenticationJWKSource
-
setControlPlaneJWTAuthenticationJWKSource
public ConfigurationDTO setControlPlaneJWTAuthenticationJWKSource(String controlPlaneJWTAuthenticationJWKSource) -
getControlPlaneJWTAuthenticationExpectedAudience
-
setControlPlaneJWTAuthenticationExpectedAudience
public ConfigurationDTO setControlPlaneJWTAuthenticationExpectedAudience(String controlPlaneJWTAuthenticationExpectedAudience) -
getControlPlaneJWTAuthenticationMatchingClaims
-
setControlPlaneJWTAuthenticationMatchingClaims
public ConfigurationDTO setControlPlaneJWTAuthenticationMatchingClaims(Map<String, String> controlPlaneJWTAuthenticationMatchingClaims) -
getControlPlaneJWTAuthenticationRequiredClaims
-
setControlPlaneJWTAuthenticationRequiredClaims
public ConfigurationDTO setControlPlaneJWTAuthenticationRequiredClaims(Set<String> controlPlaneJWTAuthenticationRequiredClaims) -
getProactivelyInitialiseTLS
-
setProactivelyInitialiseTLS
-
getTlsProtocols
-
setTlsProtocols
-
getDynamicallyCreateCertificateAuthorityCertificate
-
setDynamicallyCreateCertificateAuthorityCertificate
public ConfigurationDTO setDynamicallyCreateCertificateAuthorityCertificate(Boolean dynamicallyCreateCertificateAuthorityCertificate) -
getDirectoryToSaveDynamicSSLCertificate
-
setDirectoryToSaveDynamicSSLCertificate
public ConfigurationDTO setDirectoryToSaveDynamicSSLCertificate(String directoryToSaveDynamicSSLCertificate) -
getPreventCertificateDynamicUpdate
-
setPreventCertificateDynamicUpdate
-
getSslCertificateDomainName
-
setSslCertificateDomainName
-
getSslSubjectAlternativeNameDomains
-
setSslSubjectAlternativeNameDomains
public ConfigurationDTO setSslSubjectAlternativeNameDomains(Set<String> sslSubjectAlternativeNameDomains) -
getSslSubjectAlternativeNameIps
-
setSslSubjectAlternativeNameIps
-
getCertificateAuthorityPrivateKey
-
setCertificateAuthorityPrivateKey
-
getCertificateAuthorityCertificate
-
setCertificateAuthorityCertificate
-
getPrivateKeyPath
-
setPrivateKeyPath
-
getX509CertificatePath
-
setX509CertificatePath
-
getTlsMutualAuthenticationRequired
-
setTlsMutualAuthenticationRequired
-
getTlsMutualAuthenticationCertificateChain
-
setTlsMutualAuthenticationCertificateChain
public ConfigurationDTO setTlsMutualAuthenticationCertificateChain(String tlsMutualAuthenticationCertificateChain) -
getForwardProxyTLSX509CertificatesTrustManagerType
-
setForwardProxyTLSX509CertificatesTrustManagerType
public ConfigurationDTO setForwardProxyTLSX509CertificatesTrustManagerType(String forwardProxyTLSX509CertificatesTrustManagerType) -
getForwardProxyTLSCustomTrustX509Certificates
-
setForwardProxyTLSCustomTrustX509Certificates
public ConfigurationDTO setForwardProxyTLSCustomTrustX509Certificates(String forwardProxyTLSCustomTrustX509Certificates) -
getForwardProxyPrivateKey
-
setForwardProxyPrivateKey
-
getForwardProxyCertificateChain
-
setForwardProxyCertificateChain
-