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
  • Constructor Details

    • WarConfiguration

      public WarConfiguration(jakarta.servlet.ServletContext servletContext)
  • Method Details

    • portNumber

      public int portNumber()
      Specified by:
      portNumber in interface com.github.tomakehurst.wiremock.core.Options
    • getHttpDisabled

      public boolean getHttpDisabled()
      Specified by:
      getHttpDisabled in interface com.github.tomakehurst.wiremock.core.Options
    • getHttp2PlainDisabled

      public boolean getHttp2PlainDisabled()
      Specified by:
      getHttp2PlainDisabled in interface com.github.tomakehurst.wiremock.core.Options
    • getHttp2TlsDisabled

      public boolean getHttp2TlsDisabled()
      Specified by:
      getHttp2TlsDisabled in interface com.github.tomakehurst.wiremock.core.Options
    • httpsSettings

      public com.github.tomakehurst.wiremock.common.HttpsSettings httpsSettings()
      Specified by:
      httpsSettings in interface com.github.tomakehurst.wiremock.core.Options
    • containerThreads

      public int containerThreads()
      Specified by:
      containerThreads in interface com.github.tomakehurst.wiremock.core.Options
    • browserProxyingEnabled

      public boolean browserProxyingEnabled()
      Specified by:
      browserProxyingEnabled in interface com.github.tomakehurst.wiremock.core.Options
    • proxyVia

      public com.github.tomakehurst.wiremock.common.ProxySettings proxyVia()
      Specified by:
      proxyVia in interface com.github.tomakehurst.wiremock.core.Options
    • getStores

      public com.github.tomakehurst.wiremock.store.Stores getStores()
      Specified by:
      getStores in interface com.github.tomakehurst.wiremock.core.Options
    • filesRoot

      public com.github.tomakehurst.wiremock.common.FileSource filesRoot()
      Specified by:
      filesRoot in interface com.github.tomakehurst.wiremock.core.Options
    • mappingsLoader

      public com.github.tomakehurst.wiremock.standalone.MappingsLoader mappingsLoader()
      Specified by:
      mappingsLoader in interface com.github.tomakehurst.wiremock.core.Options
    • mappingsSaver

      public com.github.tomakehurst.wiremock.core.MappingsSaver mappingsSaver()
      Specified by:
      mappingsSaver in interface com.github.tomakehurst.wiremock.core.Options
    • notifier

      public com.github.tomakehurst.wiremock.common.Notifier notifier()
      Specified by:
      notifier in interface com.github.tomakehurst.wiremock.core.Options
    • requestJournalDisabled

      public boolean requestJournalDisabled()
      Specified by:
      requestJournalDisabled in interface com.github.tomakehurst.wiremock.core.Options
    • maxRequestJournalEntries

      public Optional<Integer> maxRequestJournalEntries()
      Specified by:
      maxRequestJournalEntries in interface com.github.tomakehurst.wiremock.core.Options
    • bindAddress

      public String bindAddress()
      Specified by:
      bindAddress in interface com.github.tomakehurst.wiremock.core.Options
    • getFilenameMaker

      public com.github.tomakehurst.wiremock.common.filemaker.FilenameMaker getFilenameMaker()
      Specified by:
      getFilenameMaker in interface com.github.tomakehurst.wiremock.core.Options
    • matchingHeaders

      public List<com.github.tomakehurst.wiremock.http.CaseInsensitiveKey> matchingHeaders()
      Specified by:
      matchingHeaders in interface com.github.tomakehurst.wiremock.core.Options
    • shouldPreserveHostHeader

      public boolean shouldPreserveHostHeader()
      Specified by:
      shouldPreserveHostHeader in interface com.github.tomakehurst.wiremock.core.Options
    • shouldPreserveUserAgentProxyHeader

      public boolean shouldPreserveUserAgentProxyHeader()
      Specified by:
      shouldPreserveUserAgentProxyHeader in interface com.github.tomakehurst.wiremock.core.Options
    • proxyHostHeader

      public String proxyHostHeader()
      Specified by:
      proxyHostHeader in interface com.github.tomakehurst.wiremock.core.Options
    • httpServerFactory

      public com.github.tomakehurst.wiremock.http.HttpServerFactory httpServerFactory()
      Specified by:
      httpServerFactory in interface com.github.tomakehurst.wiremock.core.Options
    • httpClientFactory

      public com.github.tomakehurst.wiremock.http.client.HttpClientFactory httpClientFactory()
      Specified by:
      httpClientFactory in interface com.github.tomakehurst.wiremock.core.Options
    • getDeclaredExtensions

      public com.github.tomakehurst.wiremock.extension.ExtensionDeclarations getDeclaredExtensions()
      Specified by:
      getDeclaredExtensions in interface com.github.tomakehurst.wiremock.core.Options
    • isExtensionScanningEnabled

      public boolean isExtensionScanningEnabled()
      Specified by:
      isExtensionScanningEnabled in interface com.github.tomakehurst.wiremock.core.Options
    • networkTrafficListener

      public com.github.tomakehurst.wiremock.http.trafficlistener.WiremockNetworkTrafficListener networkTrafficListener()
      Specified by:
      networkTrafficListener in interface com.github.tomakehurst.wiremock.core.Options
    • getAdminAuthenticator

      public com.github.tomakehurst.wiremock.security.Authenticator getAdminAuthenticator()
      Specified by:
      getAdminAuthenticator in interface com.github.tomakehurst.wiremock.core.Options
    • getHttpsRequiredForAdminApi

      public boolean getHttpsRequiredForAdminApi()
      Specified by:
      getHttpsRequiredForAdminApi in interface com.github.tomakehurst.wiremock.core.Options
    • getAsynchronousResponseSettings

      public com.github.tomakehurst.wiremock.common.AsynchronousResponseSettings getAsynchronousResponseSettings()
      Specified by:
      getAsynchronousResponseSettings in interface com.github.tomakehurst.wiremock.core.Options
    • getChunkedEncodingPolicy

      public com.github.tomakehurst.wiremock.core.Options.ChunkedEncodingPolicy getChunkedEncodingPolicy()
      Specified by:
      getChunkedEncodingPolicy in interface com.github.tomakehurst.wiremock.core.Options
    • getGzipDisabled

      public boolean getGzipDisabled()
      Specified by:
      getGzipDisabled in interface com.github.tomakehurst.wiremock.core.Options
    • getStubRequestLoggingDisabled

      public boolean getStubRequestLoggingDisabled()
      Specified by:
      getStubRequestLoggingDisabled in interface com.github.tomakehurst.wiremock.core.Options
    • getStubCorsEnabled

      public boolean getStubCorsEnabled()
      Specified by:
      getStubCorsEnabled in interface com.github.tomakehurst.wiremock.core.Options
    • timeout

      public long timeout()
      Specified by:
      timeout in interface com.github.tomakehurst.wiremock.core.Options
    • getDisableOptimizeXmlFactoriesLoading

      public boolean getDisableOptimizeXmlFactoriesLoading()
      Specified by:
      getDisableOptimizeXmlFactoriesLoading in interface com.github.tomakehurst.wiremock.core.Options
    • getDisableStrictHttpHeaders

      public boolean getDisableStrictHttpHeaders()
      Specified by:
      getDisableStrictHttpHeaders in interface com.github.tomakehurst.wiremock.core.Options
    • getDataTruncationSettings

      public com.github.tomakehurst.wiremock.common.DataTruncationSettings getDataTruncationSettings()
      Specified by:
      getDataTruncationSettings in interface com.github.tomakehurst.wiremock.core.Options
    • getProxyTargetRules

      public com.github.tomakehurst.wiremock.common.NetworkAddressRules getProxyTargetRules()
      Specified by:
      getProxyTargetRules in interface com.github.tomakehurst.wiremock.core.Options
    • browserProxySettings

      public com.github.tomakehurst.wiremock.common.BrowserProxySettings browserProxySettings()
      Specified by:
      browserProxySettings in interface com.github.tomakehurst.wiremock.core.Options
    • proxyTimeout

      public int proxyTimeout()
      Specified by:
      proxyTimeout in interface com.github.tomakehurst.wiremock.core.Options
    • getMaxHttpClientConnections

      public int getMaxHttpClientConnections()
      Specified by:
      getMaxHttpClientConnections in interface com.github.tomakehurst.wiremock.core.Options
    • getDisableConnectionReuse

      public boolean getDisableConnectionReuse()
      Specified by:
      getDisableConnectionReuse in interface com.github.tomakehurst.wiremock.core.Options
    • getResponseTemplatingEnabled

      public boolean getResponseTemplatingEnabled()
      Specified by:
      getResponseTemplatingEnabled in interface com.github.tomakehurst.wiremock.core.Options
    • getResponseTemplatingGlobal

      public boolean getResponseTemplatingGlobal()
      Specified by:
      getResponseTemplatingGlobal in interface com.github.tomakehurst.wiremock.core.Options
    • getMaxTemplateCacheEntries

      public Long getMaxTemplateCacheEntries()
      Specified by:
      getMaxTemplateCacheEntries in interface com.github.tomakehurst.wiremock.core.Options
    • getTemplatePermittedSystemKeys

      public Set<String> getTemplatePermittedSystemKeys()
      Specified by:
      getTemplatePermittedSystemKeys in interface com.github.tomakehurst.wiremock.core.Options
    • getTemplateEscapingDisabled

      public boolean getTemplateEscapingDisabled()
      Specified by:
      getTemplateEscapingDisabled in interface com.github.tomakehurst.wiremock.core.Options
    • getSupportedProxyEncodings

      public Set<String> getSupportedProxyEncodings()
      Specified by:
      getSupportedProxyEncodings in interface com.github.tomakehurst.wiremock.core.Options
    • getWebhookThreadPoolSize

      public int getWebhookThreadPoolSize()
      Specified by:
      getWebhookThreadPoolSize in interface com.github.tomakehurst.wiremock.core.Options
    • getWebSocketIdleTimeout

      public long getWebSocketIdleTimeout()
      Specified by:
      getWebSocketIdleTimeout in interface com.github.tomakehurst.wiremock.core.Options
    • getWebSocketMaxTextMessageSize

      public long getWebSocketMaxTextMessageSize()
      Specified by:
      getWebSocketMaxTextMessageSize in interface com.github.tomakehurst.wiremock.core.Options
    • getWebSocketMaxBinaryMessageSize

      public long getWebSocketMaxBinaryMessageSize()
      Specified by:
      getWebSocketMaxBinaryMessageSize in interface com.github.tomakehurst.wiremock.core.Options