Class WarConfiguration
java.lang.Object
com.github.tomakehurst.wiremock.jetty.servlet.WarConfiguration
- All Implemented Interfaces:
com.github.tomakehurst.wiremock.core.Options
public class WarConfiguration
extends Object
implements com.github.tomakehurst.wiremock.core.Options
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.github.tomakehurst.wiremock.core.Options
com.github.tomakehurst.wiremock.core.Options.ChunkedEncodingPolicy -
Field Summary
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, DEFAULT_WEBHOOK_THREADPOOL_SIZE, DEFAULT_WEBSOCKET_IDLE_TIMEOUT, DEFAULT_WEBSOCKET_MAX_BINARY_MESSAGE_SIZE, DEFAULT_WEBSOCKET_MAX_TEXT_MESSAGE_SIZE, DYNAMIC_PORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.github.tomakehurst.wiremock.common.BrowserProxySettingsintcom.github.tomakehurst.wiremock.common.FileSourcecom.github.tomakehurst.wiremock.security.Authenticatorcom.github.tomakehurst.wiremock.common.AsynchronousResponseSettingscom.github.tomakehurst.wiremock.core.Options.ChunkedEncodingPolicycom.github.tomakehurst.wiremock.common.DataTruncationSettingscom.github.tomakehurst.wiremock.extension.ExtensionDeclarationsbooleanbooleanbooleancom.github.tomakehurst.wiremock.common.filemaker.FilenameMakerbooleanbooleanbooleanbooleanbooleanintcom.github.tomakehurst.wiremock.common.NetworkAddressRulesbooleanbooleancom.github.tomakehurst.wiremock.store.Storesbooleanbooleanbooleanintlonglonglongcom.github.tomakehurst.wiremock.http.client.HttpClientFactorycom.github.tomakehurst.wiremock.http.HttpServerFactorycom.github.tomakehurst.wiremock.common.HttpsSettingsbooleancom.github.tomakehurst.wiremock.standalone.MappingsLoadercom.github.tomakehurst.wiremock.core.MappingsSaverList<com.github.tomakehurst.wiremock.http.CaseInsensitiveKey>com.github.tomakehurst.wiremock.http.trafficlistener.WiremockNetworkTrafficListenercom.github.tomakehurst.wiremock.common.Notifiernotifier()intintcom.github.tomakehurst.wiremock.common.ProxySettingsproxyVia()booleanbooleanbooleanlongtimeout()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.tomakehurst.wiremock.core.Options
getNotMatchedRendererFactory
-
Constructor Details
-
WarConfiguration
public WarConfiguration(jakarta.servlet.ServletContext servletContext)
-
-
Method Details
-
portNumber
public int portNumber()- Specified by:
portNumberin interfacecom.github.tomakehurst.wiremock.core.Options
-
getHttpDisabled
public boolean getHttpDisabled()- Specified by:
getHttpDisabledin interfacecom.github.tomakehurst.wiremock.core.Options
-
getHttp2PlainDisabled
public boolean getHttp2PlainDisabled()- Specified by:
getHttp2PlainDisabledin interfacecom.github.tomakehurst.wiremock.core.Options
-
getHttp2TlsDisabled
public boolean getHttp2TlsDisabled()- Specified by:
getHttp2TlsDisabledin interfacecom.github.tomakehurst.wiremock.core.Options
-
httpsSettings
public com.github.tomakehurst.wiremock.common.HttpsSettings httpsSettings()- Specified by:
httpsSettingsin interfacecom.github.tomakehurst.wiremock.core.Options
-
containerThreads
public int containerThreads()- Specified by:
containerThreadsin interfacecom.github.tomakehurst.wiremock.core.Options
-
browserProxyingEnabled
public boolean browserProxyingEnabled()- Specified by:
browserProxyingEnabledin interfacecom.github.tomakehurst.wiremock.core.Options
-
proxyVia
public com.github.tomakehurst.wiremock.common.ProxySettings proxyVia()- Specified by:
proxyViain interfacecom.github.tomakehurst.wiremock.core.Options
-
getStores
public com.github.tomakehurst.wiremock.store.Stores getStores()- Specified by:
getStoresin interfacecom.github.tomakehurst.wiremock.core.Options
-
filesRoot
public com.github.tomakehurst.wiremock.common.FileSource filesRoot()- Specified by:
filesRootin interfacecom.github.tomakehurst.wiremock.core.Options
-
mappingsLoader
public com.github.tomakehurst.wiremock.standalone.MappingsLoader mappingsLoader()- Specified by:
mappingsLoaderin interfacecom.github.tomakehurst.wiremock.core.Options
-
mappingsSaver
public com.github.tomakehurst.wiremock.core.MappingsSaver mappingsSaver()- Specified by:
mappingsSaverin interfacecom.github.tomakehurst.wiremock.core.Options
-
notifier
public com.github.tomakehurst.wiremock.common.Notifier notifier()- Specified by:
notifierin interfacecom.github.tomakehurst.wiremock.core.Options
-
requestJournalDisabled
public boolean requestJournalDisabled()- Specified by:
requestJournalDisabledin interfacecom.github.tomakehurst.wiremock.core.Options
-
maxRequestJournalEntries
- Specified by:
maxRequestJournalEntriesin interfacecom.github.tomakehurst.wiremock.core.Options
-
bindAddress
- Specified by:
bindAddressin interfacecom.github.tomakehurst.wiremock.core.Options
-
getFilenameMaker
public com.github.tomakehurst.wiremock.common.filemaker.FilenameMaker getFilenameMaker()- Specified by:
getFilenameMakerin interfacecom.github.tomakehurst.wiremock.core.Options
-
matchingHeaders
- Specified by:
matchingHeadersin interfacecom.github.tomakehurst.wiremock.core.Options
-
shouldPreserveHostHeader
public boolean shouldPreserveHostHeader()- Specified by:
shouldPreserveHostHeaderin interfacecom.github.tomakehurst.wiremock.core.Options
-
shouldPreserveUserAgentProxyHeader
public boolean shouldPreserveUserAgentProxyHeader()- Specified by:
shouldPreserveUserAgentProxyHeaderin interfacecom.github.tomakehurst.wiremock.core.Options
-
proxyHostHeader
- Specified by:
proxyHostHeaderin interfacecom.github.tomakehurst.wiremock.core.Options
-
httpServerFactory
public com.github.tomakehurst.wiremock.http.HttpServerFactory httpServerFactory()- Specified by:
httpServerFactoryin interfacecom.github.tomakehurst.wiremock.core.Options
-
httpClientFactory
public com.github.tomakehurst.wiremock.http.client.HttpClientFactory httpClientFactory()- Specified by:
httpClientFactoryin interfacecom.github.tomakehurst.wiremock.core.Options
-
getDeclaredExtensions
public com.github.tomakehurst.wiremock.extension.ExtensionDeclarations getDeclaredExtensions()- Specified by:
getDeclaredExtensionsin interfacecom.github.tomakehurst.wiremock.core.Options
-
isExtensionScanningEnabled
public boolean isExtensionScanningEnabled()- Specified by:
isExtensionScanningEnabledin interfacecom.github.tomakehurst.wiremock.core.Options
-
networkTrafficListener
public com.github.tomakehurst.wiremock.http.trafficlistener.WiremockNetworkTrafficListener networkTrafficListener()- Specified by:
networkTrafficListenerin interfacecom.github.tomakehurst.wiremock.core.Options
-
getAdminAuthenticator
public com.github.tomakehurst.wiremock.security.Authenticator getAdminAuthenticator()- Specified by:
getAdminAuthenticatorin interfacecom.github.tomakehurst.wiremock.core.Options
-
getHttpsRequiredForAdminApi
public boolean getHttpsRequiredForAdminApi()- Specified by:
getHttpsRequiredForAdminApiin interfacecom.github.tomakehurst.wiremock.core.Options
-
getAsynchronousResponseSettings
public com.github.tomakehurst.wiremock.common.AsynchronousResponseSettings getAsynchronousResponseSettings()- Specified by:
getAsynchronousResponseSettingsin interfacecom.github.tomakehurst.wiremock.core.Options
-
getChunkedEncodingPolicy
public com.github.tomakehurst.wiremock.core.Options.ChunkedEncodingPolicy getChunkedEncodingPolicy()- Specified by:
getChunkedEncodingPolicyin interfacecom.github.tomakehurst.wiremock.core.Options
-
getGzipDisabled
public boolean getGzipDisabled()- Specified by:
getGzipDisabledin interfacecom.github.tomakehurst.wiremock.core.Options
-
getStubRequestLoggingDisabled
public boolean getStubRequestLoggingDisabled()- Specified by:
getStubRequestLoggingDisabledin interfacecom.github.tomakehurst.wiremock.core.Options
-
getStubCorsEnabled
public boolean getStubCorsEnabled()- Specified by:
getStubCorsEnabledin interfacecom.github.tomakehurst.wiremock.core.Options
-
timeout
public long timeout()- Specified by:
timeoutin interfacecom.github.tomakehurst.wiremock.core.Options
-
getDisableOptimizeXmlFactoriesLoading
public boolean getDisableOptimizeXmlFactoriesLoading()- Specified by:
getDisableOptimizeXmlFactoriesLoadingin interfacecom.github.tomakehurst.wiremock.core.Options
-
getDisableStrictHttpHeaders
public boolean getDisableStrictHttpHeaders()- Specified by:
getDisableStrictHttpHeadersin interfacecom.github.tomakehurst.wiremock.core.Options
-
getDataTruncationSettings
public com.github.tomakehurst.wiremock.common.DataTruncationSettings getDataTruncationSettings()- Specified by:
getDataTruncationSettingsin interfacecom.github.tomakehurst.wiremock.core.Options
-
getProxyTargetRules
public com.github.tomakehurst.wiremock.common.NetworkAddressRules getProxyTargetRules()- Specified by:
getProxyTargetRulesin interfacecom.github.tomakehurst.wiremock.core.Options
-
browserProxySettings
public com.github.tomakehurst.wiremock.common.BrowserProxySettings browserProxySettings()- Specified by:
browserProxySettingsin interfacecom.github.tomakehurst.wiremock.core.Options
-
proxyTimeout
public int proxyTimeout()- Specified by:
proxyTimeoutin interfacecom.github.tomakehurst.wiremock.core.Options
-
getMaxHttpClientConnections
public int getMaxHttpClientConnections()- Specified by:
getMaxHttpClientConnectionsin interfacecom.github.tomakehurst.wiremock.core.Options
-
getDisableConnectionReuse
public boolean getDisableConnectionReuse()- Specified by:
getDisableConnectionReusein interfacecom.github.tomakehurst.wiremock.core.Options
-
getResponseTemplatingEnabled
public boolean getResponseTemplatingEnabled()- Specified by:
getResponseTemplatingEnabledin interfacecom.github.tomakehurst.wiremock.core.Options
-
getResponseTemplatingGlobal
public boolean getResponseTemplatingGlobal()- Specified by:
getResponseTemplatingGlobalin interfacecom.github.tomakehurst.wiremock.core.Options
-
getMaxTemplateCacheEntries
- Specified by:
getMaxTemplateCacheEntriesin interfacecom.github.tomakehurst.wiremock.core.Options
-
getTemplatePermittedSystemKeys
- Specified by:
getTemplatePermittedSystemKeysin interfacecom.github.tomakehurst.wiremock.core.Options
-
getTemplateEscapingDisabled
public boolean getTemplateEscapingDisabled()- Specified by:
getTemplateEscapingDisabledin interfacecom.github.tomakehurst.wiremock.core.Options
-
getSupportedProxyEncodings
- Specified by:
getSupportedProxyEncodingsin interfacecom.github.tomakehurst.wiremock.core.Options
-
getWebhookThreadPoolSize
public int getWebhookThreadPoolSize()- Specified by:
getWebhookThreadPoolSizein interfacecom.github.tomakehurst.wiremock.core.Options
-
getWebSocketIdleTimeout
public long getWebSocketIdleTimeout()- Specified by:
getWebSocketIdleTimeoutin interfacecom.github.tomakehurst.wiremock.core.Options
-
getWebSocketMaxTextMessageSize
public long getWebSocketMaxTextMessageSize()- Specified by:
getWebSocketMaxTextMessageSizein interfacecom.github.tomakehurst.wiremock.core.Options
-
getWebSocketMaxBinaryMessageSize
public long getWebSocketMaxBinaryMessageSize()- Specified by:
getWebSocketMaxBinaryMessageSizein interfacecom.github.tomakehurst.wiremock.core.Options
-