DEFAULT_BIND_ADDRESS, DEFAULT_CONTAINER_THREADS, DEFAULT_PORT, DYNAMIC_PORT
Constructor and Description |
---|
WarConfiguration(javax.servlet.ServletContext servletContext) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
bindAddress() |
boolean |
browserProxyingEnabled() |
int |
containerThreads() |
<T extends Extension> |
extensionsOfType(java.lang.Class<T> extensionType) |
FileSource |
filesRoot() |
Authenticator |
getAdminAuthenticator() |
AsynchronousResponseSettings |
getAsynchronousResponseSettings() |
boolean |
getHttpsRequiredForAdminApi() |
NotMatchedRenderer |
getNotMatchedRenderer() |
HttpServerFactory |
httpServerFactory() |
HttpsSettings |
httpsSettings() |
JettySettings |
jettySettings() |
MappingsLoader |
mappingsLoader() |
MappingsSaver |
mappingsSaver() |
java.util.List<CaseInsensitiveKey> |
matchingHeaders() |
com.google.common.base.Optional<java.lang.Integer> |
maxRequestJournalEntries() |
WiremockNetworkTrafficListener |
networkTrafficListener() |
Notifier |
notifier() |
int |
portNumber() |
java.lang.String |
proxyHostHeader() |
ProxySettings |
proxyVia() |
boolean |
requestJournalDisabled() |
boolean |
shouldPreserveHostHeader() |
ThreadPoolFactory |
threadPoolFactory() |
public WarConfiguration(javax.servlet.ServletContext servletContext)
public int portNumber()
portNumber
in interface Options
public HttpsSettings httpsSettings()
httpsSettings
in interface Options
public JettySettings jettySettings()
jettySettings
in interface Options
public int containerThreads()
containerThreads
in interface Options
public boolean browserProxyingEnabled()
browserProxyingEnabled
in interface Options
public ProxySettings proxyVia()
public FileSource filesRoot()
public MappingsLoader mappingsLoader()
mappingsLoader
in interface Options
public MappingsSaver mappingsSaver()
mappingsSaver
in interface Options
public boolean requestJournalDisabled()
requestJournalDisabled
in interface Options
public com.google.common.base.Optional<java.lang.Integer> maxRequestJournalEntries()
maxRequestJournalEntries
in interface Options
public java.lang.String bindAddress()
bindAddress
in interface Options
public java.util.List<CaseInsensitiveKey> matchingHeaders()
matchingHeaders
in interface Options
public boolean shouldPreserveHostHeader()
shouldPreserveHostHeader
in interface Options
public java.lang.String proxyHostHeader()
proxyHostHeader
in interface Options
public HttpServerFactory httpServerFactory()
httpServerFactory
in interface Options
public ThreadPoolFactory threadPoolFactory()
threadPoolFactory
in interface Options
public <T extends Extension> java.util.Map<java.lang.String,T> extensionsOfType(java.lang.Class<T> extensionType)
extensionsOfType
in interface Options
public WiremockNetworkTrafficListener networkTrafficListener()
networkTrafficListener
in interface Options
public Authenticator getAdminAuthenticator()
getAdminAuthenticator
in interface Options
public boolean getHttpsRequiredForAdminApi()
getHttpsRequiredForAdminApi
in interface Options
public NotMatchedRenderer getNotMatchedRenderer()
getNotMatchedRenderer
in interface Options
public AsynchronousResponseSettings getAsynchronousResponseSettings()
getAsynchronousResponseSettings
in interface Options