Interface Options

All Known Implementing Classes:
WireMockConfiguration

public interface Options
  • Field Details

    • DEFAULT_PORT

      static final int DEFAULT_PORT
      See Also:
    • DYNAMIC_PORT

      static final int DYNAMIC_PORT
      See Also:
    • DEFAULT_TIMEOUT

      static final int DEFAULT_TIMEOUT
      See Also:
    • DEFAULT_CONTAINER_THREADS

      static final int DEFAULT_CONTAINER_THREADS
      See Also:
    • DEFAULT_BIND_ADDRESS

      static final String DEFAULT_BIND_ADDRESS
      See Also:
    • DEFAULT_MAX_HTTP_CONNECTIONS

      static final int DEFAULT_MAX_HTTP_CONNECTIONS
      See Also:
    • DEFAULT_WEBHOOK_THREADPOOL_SIZE

      static final int DEFAULT_WEBHOOK_THREADPOOL_SIZE
      See Also:
    • DEFAULT_DISABLE_CONNECTION_REUSE

      static final boolean DEFAULT_DISABLE_CONNECTION_REUSE
      See Also:
    • DEFAULT_MAX_TEMPLATE_CACHE_ENTRIES

      static final Long DEFAULT_MAX_TEMPLATE_CACHE_ENTRIES
    • DEFAULT_WEBSOCKET_IDLE_TIMEOUT

      static final long DEFAULT_WEBSOCKET_IDLE_TIMEOUT
      See Also:
    • DEFAULT_WEBSOCKET_MAX_TEXT_MESSAGE_SIZE

      static final long DEFAULT_WEBSOCKET_MAX_TEXT_MESSAGE_SIZE
      See Also:
    • DEFAULT_WEBSOCKET_MAX_BINARY_MESSAGE_SIZE

      static final long DEFAULT_WEBSOCKET_MAX_BINARY_MESSAGE_SIZE
      See Also:
  • Method Details

    • portNumber

      int portNumber()
    • getHttpDisabled

      boolean getHttpDisabled()
    • getHttp2PlainDisabled

      boolean getHttp2PlainDisabled()
    • getHttp2TlsDisabled

      boolean getHttp2TlsDisabled()
    • httpsSettings

      HttpsSettings httpsSettings()
    • containerThreads

      int containerThreads()
    • browserProxyingEnabled

      @Deprecated boolean browserProxyingEnabled()
    • browserProxySettings

      BrowserProxySettings browserProxySettings()
    • proxyVia

      ProxySettings proxyVia()
    • getStores

      Stores getStores()
    • filesRoot

      FileSource filesRoot()
    • mappingsLoader

      MappingsLoader mappingsLoader()
    • mappingsSaver

      MappingsSaver mappingsSaver()
    • notifier

      Notifier notifier()
    • requestJournalDisabled

      boolean requestJournalDisabled()
    • maxRequestJournalEntries

      Optional<Integer> maxRequestJournalEntries()
    • bindAddress

      String bindAddress()
    • getFilenameMaker

      FilenameMaker getFilenameMaker()
    • matchingHeaders

      List<CaseInsensitiveKey> matchingHeaders()
    • shouldPreserveHostHeader

      boolean shouldPreserveHostHeader()
    • shouldPreserveUserAgentProxyHeader

      boolean shouldPreserveUserAgentProxyHeader()
    • proxyHostHeader

      String proxyHostHeader()
    • httpServerFactory

      HttpServerFactory httpServerFactory()
    • httpClientFactory

      HttpClientFactory httpClientFactory()
    • getDeclaredExtensions

      ExtensionDeclarations getDeclaredExtensions()
    • isExtensionScanningEnabled

      boolean isExtensionScanningEnabled()
    • networkTrafficListener

      WiremockNetworkTrafficListener networkTrafficListener()
    • getAdminAuthenticator

      Authenticator getAdminAuthenticator()
    • getHttpsRequiredForAdminApi

      boolean getHttpsRequiredForAdminApi()
    • getNotMatchedRendererFactory

      default Function<Extensions,NotMatchedRenderer> getNotMatchedRendererFactory()
    • getAsynchronousResponseSettings

      AsynchronousResponseSettings getAsynchronousResponseSettings()
    • getChunkedEncodingPolicy

      Options.ChunkedEncodingPolicy getChunkedEncodingPolicy()
    • getGzipDisabled

      boolean getGzipDisabled()
    • getStubRequestLoggingDisabled

      boolean getStubRequestLoggingDisabled()
    • getStubCorsEnabled

      boolean getStubCorsEnabled()
    • timeout

      long timeout()
    • getDisableOptimizeXmlFactoriesLoading

      boolean getDisableOptimizeXmlFactoriesLoading()
    • getDisableStrictHttpHeaders

      boolean getDisableStrictHttpHeaders()
    • getDataTruncationSettings

      DataTruncationSettings getDataTruncationSettings()
    • getProxyTargetRules

      NetworkAddressRules getProxyTargetRules()
    • proxyTimeout

      int proxyTimeout()
    • getMaxHttpClientConnections

      int getMaxHttpClientConnections()
    • getResponseTemplatingEnabled

      boolean getResponseTemplatingEnabled()
    • getResponseTemplatingGlobal

      boolean getResponseTemplatingGlobal()
    • getMaxTemplateCacheEntries

      Long getMaxTemplateCacheEntries()
    • getTemplatePermittedSystemKeys

      Set<String> getTemplatePermittedSystemKeys()
    • getTemplateEscapingDisabled

      boolean getTemplateEscapingDisabled()
    • getSupportedProxyEncodings

      Set<String> getSupportedProxyEncodings()
    • getDisableConnectionReuse

      boolean getDisableConnectionReuse()
    • getWebhookThreadPoolSize

      int getWebhookThreadPoolSize()
    • getWebSocketIdleTimeout

      long getWebSocketIdleTimeout()
    • getWebSocketMaxTextMessageSize

      long getWebSocketMaxTextMessageSize()
    • getWebSocketMaxBinaryMessageSize

      long getWebSocketMaxBinaryMessageSize()