Class WireMockRuleConfiguration

  • All Implemented Interfaces:
    com.github.tomakehurst.wiremock.core.Options

    public class WireMockRuleConfiguration
    extends Object
    implements com.github.tomakehurst.wiremock.core.Options
    • Method Detail

      • 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
      • mappingSource

        public WireMockRuleConfiguration mappingSource​(com.github.tomakehurst.wiremock.standalone.MappingsSource mappingsSource)
      • extensionsOfType

        public <T extends com.github.tomakehurst.wiremock.extension.Extension> Map<String,​T> extensionsOfType​(Class<T> extensionType)
        Specified by:
        extensionsOfType in interface com.github.tomakehurst.wiremock.core.Options
      • 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
      • containerThreads

        public int containerThreads()
        Specified by:
        containerThreads 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
      • jettySettings

        public com.github.tomakehurst.wiremock.common.JettySettings jettySettings()
        Specified by:
        jettySettings in interface com.github.tomakehurst.wiremock.core.Options
      • browserProxyingEnabled

        public boolean browserProxyingEnabled()
        Specified by:
        browserProxyingEnabled 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
      • proxyVia

        public com.github.tomakehurst.wiremock.common.ProxySettings proxyVia()
        Specified by:
        proxyVia 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 wiremock.com.google.common.base.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
      • matchingHeaders

        public List<com.github.tomakehurst.wiremock.http.CaseInsensitiveKey> matchingHeaders()
        Specified by:
        matchingHeaders 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
      • threadPoolFactory

        public com.github.tomakehurst.wiremock.http.ThreadPoolFactory threadPoolFactory()
        Specified by:
        threadPoolFactory in interface com.github.tomakehurst.wiremock.core.Options
      • shouldPreserveHostHeader

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

        public String proxyHostHeader()
        Specified by:
        proxyHostHeader 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
      • getNotMatchedRenderer

        public com.github.tomakehurst.wiremock.verification.notmatched.NotMatchedRenderer getNotMatchedRenderer()
        Specified by:
        getNotMatchedRenderer 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