Class CommandLineOptions
- java.lang.Object
-
- com.github.tomakehurst.wiremock.standalone.CommandLineOptions
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.github.tomakehurst.wiremock.core.Options
Options.ChunkedEncodingPolicy
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringFILENAME_TEMPLATE-
Fields inherited from interface com.github.tomakehurst.wiremock.core.Options
DEFAULT_BIND_ADDRESS, DEFAULT_CONTAINER_THREADS, DEFAULT_DISABLE_CONNECTION_REUSE, DEFAULT_MAX_HTTP_CONNECTIONS, DEFAULT_MAX_TEMPLATE_CACHE_ENTRIES, DEFAULT_PORT, DEFAULT_TIMEOUT, DYNAMIC_PORT
-
-
Constructor Summary
Constructors Constructor Description CommandLineOptions(java.lang.String... args)
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.github.tomakehurst.wiremock.core.Options
getNotMatchedRendererFactory
-
-
-
-
Field Detail
-
FILENAME_TEMPLATE
public static final java.lang.String FILENAME_TEMPLATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
verboseLoggingEnabled
public boolean verboseLoggingEnabled()
-
recordMappingsEnabled
public boolean recordMappingsEnabled()
-
matchingHeaders
public java.util.List<CaseInsensitiveKey> matchingHeaders()
- Specified by:
matchingHeadersin interfaceOptions
-
httpServerFactory
public HttpServerFactory httpServerFactory()
- Specified by:
httpServerFactoryin interfaceOptions
-
httpClientFactory
public HttpClientFactory httpClientFactory()
- Specified by:
httpClientFactoryin interfaceOptions
-
threadPoolFactory
public ThreadPoolFactory threadPoolFactory()
- Specified by:
threadPoolFactoryin interfaceOptions
-
portNumber
public int portNumber()
- Specified by:
portNumberin interfaceOptions
-
getHttpDisabled
public boolean getHttpDisabled()
- Specified by:
getHttpDisabledin interfaceOptions
-
getHttp2PlainDisabled
public boolean getHttp2PlainDisabled()
- Specified by:
getHttp2PlainDisabledin interfaceOptions
-
getHttp2TlsDisabled
public boolean getHttp2TlsDisabled()
- Specified by:
getHttp2TlsDisabledin interfaceOptions
-
setActualHttpPort
public void setActualHttpPort(int port)
-
setActualHttpsPort
public void setActualHttpsPort(int port)
-
bindAddress
public java.lang.String bindAddress()
- Specified by:
bindAddressin interfaceOptions
-
getFilenameMaker
public FilenameMaker getFilenameMaker()
- Specified by:
getFilenameMakerin interfaceOptions
-
httpsSettings
public HttpsSettings httpsSettings()
- Specified by:
httpsSettingsin interfaceOptions
-
jettySettings
public JettySettings jettySettings()
- Specified by:
jettySettingsin interfaceOptions
-
version
public boolean version()
-
help
public boolean help()
-
helpText
public java.lang.String helpText()
-
specifiesProxyUrl
public boolean specifiesProxyUrl()
-
proxyUrl
public java.lang.String proxyUrl()
-
shouldPreserveHostHeader
public boolean shouldPreserveHostHeader()
- Specified by:
shouldPreserveHostHeaderin interfaceOptions
-
shouldPreserveUserAgentProxyHeader
public boolean shouldPreserveUserAgentProxyHeader()
- Specified by:
shouldPreserveUserAgentProxyHeaderin interfaceOptions
-
proxyHostHeader
public java.lang.String proxyHostHeader()
- Specified by:
proxyHostHeaderin interfaceOptions
-
getDeclaredExtensions
public ExtensionDeclarations getDeclaredExtensions()
- Specified by:
getDeclaredExtensionsin interfaceOptions
-
isExtensionScanningEnabled
public boolean isExtensionScanningEnabled()
- Specified by:
isExtensionScanningEnabledin interfaceOptions
-
networkTrafficListener
public WiremockNetworkTrafficListener networkTrafficListener()
- Specified by:
networkTrafficListenerin interfaceOptions
-
getAdminAuthenticator
public Authenticator getAdminAuthenticator()
- Specified by:
getAdminAuthenticatorin interfaceOptions
-
getHttpsRequiredForAdminApi
public boolean getHttpsRequiredForAdminApi()
- Specified by:
getHttpsRequiredForAdminApiin interfaceOptions
-
browserProxyingEnabled
@Deprecated public boolean browserProxyingEnabled()
Deprecated.- Specified by:
browserProxyingEnabledin interfaceOptions
-
proxyVia
public ProxySettings proxyVia()
-
filesRoot
public FileSource filesRoot()
-
mappingsLoader
public MappingsLoader mappingsLoader()
- Specified by:
mappingsLoaderin interfaceOptions
-
mappingsSaver
public MappingsSaver mappingsSaver()
- Specified by:
mappingsSaverin interfaceOptions
-
requestJournalDisabled
public boolean requestJournalDisabled()
- Specified by:
requestJournalDisabledin interfaceOptions
-
bannerDisabled
public boolean bannerDisabled()
-
maxRequestJournalEntries
public java.util.Optional<java.lang.Integer> maxRequestJournalEntries()
- Specified by:
maxRequestJournalEntriesin interfaceOptions
-
containerThreads
public int containerThreads()
- Specified by:
containerThreadsin interfaceOptions
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getAsynchronousResponseSettings
public AsynchronousResponseSettings getAsynchronousResponseSettings()
- Specified by:
getAsynchronousResponseSettingsin interfaceOptions
-
getChunkedEncodingPolicy
public Options.ChunkedEncodingPolicy getChunkedEncodingPolicy()
- Specified by:
getChunkedEncodingPolicyin interfaceOptions
-
getGzipDisabled
public boolean getGzipDisabled()
- Specified by:
getGzipDisabledin interfaceOptions
-
getStubRequestLoggingDisabled
public boolean getStubRequestLoggingDisabled()
- Specified by:
getStubRequestLoggingDisabledin interfaceOptions
-
getStubCorsEnabled
public boolean getStubCorsEnabled()
- Specified by:
getStubCorsEnabledin interfaceOptions
-
getDisableOptimizeXmlFactoriesLoading
public boolean getDisableOptimizeXmlFactoriesLoading()
- Specified by:
getDisableOptimizeXmlFactoriesLoadingin interfaceOptions
-
getDisableStrictHttpHeaders
public boolean getDisableStrictHttpHeaders()
- Specified by:
getDisableStrictHttpHeadersin interfaceOptions
-
getDataTruncationSettings
public DataTruncationSettings getDataTruncationSettings()
- Specified by:
getDataTruncationSettingsin interfaceOptions
-
getProxyTargetRules
public NetworkAddressRules getProxyTargetRules()
- Specified by:
getProxyTargetRulesin interfaceOptions
-
browserProxySettings
public BrowserProxySettings browserProxySettings()
- Specified by:
browserProxySettingsin interfaceOptions
-
proxyTimeout
public int proxyTimeout()
- Specified by:
proxyTimeoutin interfaceOptions
-
getMaxHttpClientConnections
public int getMaxHttpClientConnections()
- Specified by:
getMaxHttpClientConnectionsin interfaceOptions
-
getResponseTemplatingEnabled
public boolean getResponseTemplatingEnabled()
- Specified by:
getResponseTemplatingEnabledin interfaceOptions
-
getResponseTemplatingGlobal
public boolean getResponseTemplatingGlobal()
- Specified by:
getResponseTemplatingGlobalin interfaceOptions
-
getMaxTemplateCacheEntries
public java.lang.Long getMaxTemplateCacheEntries()
- Specified by:
getMaxTemplateCacheEntriesin interfaceOptions
-
getTemplatePermittedSystemKeys
public java.util.Set<java.lang.String> getTemplatePermittedSystemKeys()
- Specified by:
getTemplatePermittedSystemKeysin interfaceOptions
-
getTemplateEscapingDisabled
public boolean getTemplateEscapingDisabled()
- Specified by:
getTemplateEscapingDisabledin interfaceOptions
-
getSupportedProxyEncodings
public java.util.Set<java.lang.String> getSupportedProxyEncodings()
- Specified by:
getSupportedProxyEncodingsin interfaceOptions
-
getDisableConnectionReuse
public boolean getDisableConnectionReuse()
- Specified by:
getDisableConnectionReusein interfaceOptions
-
-