Uses of Class
software.xdev.mockserver.configuration.ServerConfiguration
Packages that use ServerConfiguration
Package
Description
-
Uses of ServerConfiguration in software.xdev.mockserver.codec
Constructors in software.xdev.mockserver.codec with parameters of type ServerConfigurationModifierConstructorDescriptionExpandedParameterDecoder(ServerConfiguration configuration) MockServerHttpServerCodec(ServerConfiguration configuration, Integer port) MockServerHttpServerCodec(ServerConfiguration configuration, SocketAddress socketAddress) NettyHttpToMockServerHttpRequestDecoder(ServerConfiguration configuration, Integer port) -
Uses of ServerConfiguration in software.xdev.mockserver.configuration
Methods in software.xdev.mockserver.configuration that return ServerConfigurationModifier and TypeMethodDescriptionServerConfiguration.actionHandlerThreadCount(Integer actionHandlerThreadCount) Number of threads for the action handler thread poolServerConfiguration.alwaysCloseSocketConnections(Boolean alwaysCloseSocketConnections) If true socket connections will always be closed after a response is returned, if false connection is only closed if request header indicate connection should be closed.ServerConfiguration.assumeAllRequestsAreHttp(Boolean assumeAllRequestsAreHttp) If false requests are assumed as binary if the method isn't one of "GET", "POST", "PUT", "HEAD", "OPTIONS", "PATCH", "DELETE", "TRACE" or "CONNECT"ServerConfiguration.binaryProxyListener(BinaryProxyListener binaryProxyListener) Set a software.xdev.mockserver.model.BinaryProxyListener called when binary content is proxiedstatic ServerConfigurationServerConfiguration.configuration()ServerConfiguration.corsAllowCredentials(Boolean corsAllowCredentials) The value used for CORS in the access-control-allow-credentials header.ServerConfiguration.corsAllowHeaders(String corsAllowHeaders) the value used for CORS in the access-control-allow-headers and access-control-expose-headers headers.ServerConfiguration.corsAllowMethods(String corsAllowMethods) the value used for CORS in the access-control-allow-methods header.ServerConfiguration.corsAllowOrigin(String corsAllowOrigin) the value used for CORS in the access-control-allow-origin header.ServerConfiguration.corsMaxAgeInSeconds(Integer corsMaxAgeInSeconds) The value used for CORS in the access-control-max-age header.ServerConfiguration.detailedMatchFailures(Boolean detailedMatchFailures) If true (the default) the log event recording that a request matcher did not match will include a detailed reason why each non-matching field did not match.ServerConfiguration.enableCORSForAllResponses(Boolean enableCORSForAllResponses) Enable CORS for all responses from MockServer, including the REST API and expectation responsesServerConfiguration.enableCORSForAPI(Boolean enableCORSForAPI) Enable CORS for MockServer REST API so that the API can be used for javascript running in browsers, such as seleniumServerConfiguration.livenessHttpGetPath(String livenessHttpGetPath) Path to support HTTP GET requests for status response (also available on PUT /mockserver/status).ServerConfiguration.localBoundIP(String localBoundIP) The local IP address to bind to for accepting new socket connectionsServerConfiguration.matchersFailFast(Boolean matchersFailFast) If true (the default) request matchers will fail on the first non-matching field, if false request matchers will compare all fields.ServerConfiguration.maxChunkSize(Integer maxChunkSize) Maximum size of HTTP chunks in request or responsesServerConfiguration.maxExpectations(Integer maxExpectations) Maximum number of expectations stored in memory.ServerConfiguration.maxHeaderSize(Integer maxHeaderSize) Maximum size of HTTP request headersServerConfiguration.maximumNumberOfRequestToReturnInVerificationFailure(Integer maximumNumberOfRequestToReturnInVerificationFailure) The maximum number of requests to return in verification failure result, if more expectations are found the failure result does not list them separatelyServerConfiguration.maxInitialLineLength(Integer maxInitialLineLength) Maximum size of the first line of an HTTP requestServerConfiguration.maxLogEntries(Integer maxLogEntries) Maximum number of log entries stored in memory.ServerConfiguration.nioEventLoopThreadCount(Integer nioEventLoopThreadCount) Netty worker thread pool size for handling requests and response.ServerConfiguration.noProxyHosts(String noProxyHosts) The list of hostnames to not use the configured proxy.ServerConfiguration.proxyAuthenticationPassword(String proxyAuthenticationPassword) The required password for proxy authentication to MockServerServerConfiguration.proxyAuthenticationRealm(String proxyAuthenticationRealm) The authentication realm for proxy authentication to MockServerServerConfiguration.proxyAuthenticationUsername(String proxyAuthenticationUsername) The required username for proxy authentication to MockServerServerConfiguration.useSemicolonAsQueryParameterSeparator(Boolean useSemicolonAsQueryParameterSeparator) If true semicolons are treated as a separator for a query parameter string, if false the semicolon is treated as a normal character that is part of a query parameter value. -
Uses of ServerConfiguration in software.xdev.mockserver.cors
Methods in software.xdev.mockserver.cors with parameters of type ServerConfigurationModifier and TypeMethodDescriptionstatic booleanCORSHeaders.isPreflightRequest(ServerConfiguration configuration, HttpRequest request) Constructors in software.xdev.mockserver.cors with parameters of type ServerConfiguration -
Uses of ServerConfiguration in software.xdev.mockserver.event
Constructors in software.xdev.mockserver.event with parameters of type ServerConfigurationModifierConstructorDescriptionEventBus(ServerConfiguration configuration, Scheduler scheduler, boolean asynchronousEventProcessing) -
Uses of ServerConfiguration in software.xdev.mockserver.lifecycle
Constructors in software.xdev.mockserver.lifecycle with parameters of type ServerConfiguration -
Uses of ServerConfiguration in software.xdev.mockserver.mappers
Constructors in software.xdev.mockserver.mappers with parameters of type ServerConfigurationModifierConstructorDescriptionFullHttpRequestToMockServerHttpRequest(ServerConfiguration configuration, Integer port) -
Uses of ServerConfiguration in software.xdev.mockserver.matchers
Fields in software.xdev.mockserver.matchers declared as ServerConfigurationModifier and TypeFieldDescriptionprotected final ServerConfigurationAbstractHttpRequestMatcher.configurationConstructors in software.xdev.mockserver.matchers with parameters of type ServerConfigurationModifierConstructorDescriptionprotectedAbstractHttpRequestMatcher(ServerConfiguration configuration) HttpRequestPropertiesMatcher(ServerConfiguration configuration) MatcherBuilder(ServerConfiguration configuration) -
Uses of ServerConfiguration in software.xdev.mockserver.mock
Constructors in software.xdev.mockserver.mock with parameters of type ServerConfigurationModifierConstructorDescriptionHttpState(ServerConfiguration configuration, Scheduler scheduler) RequestMatchers(ServerConfiguration configuration, Scheduler scheduler, WebSocketClientRegistry webSocketClientRegistry) -
Uses of ServerConfiguration in software.xdev.mockserver.mock.action.http
Constructors in software.xdev.mockserver.mock.action.http with parameters of type ServerConfigurationModifierConstructorDescriptionHttpActionHandler(ServerConfiguration configuration, io.netty.channel.EventLoopGroup eventLoopGroup, HttpState httpStateHandler, List<ProxyConfiguration> proxyConfigurations) -
Uses of ServerConfiguration in software.xdev.mockserver.netty
Constructors in software.xdev.mockserver.netty with parameters of type ServerConfigurationModifierConstructorDescriptionHttpRequestHandler(ServerConfiguration configuration, LifeCycle server, HttpState httpState, HttpActionHandler httpActionHandler) MockServer(ServerConfiguration configuration, Integer... localPorts) Start the instance using the ports providedMockServer(ServerConfiguration configuration, Integer remotePort, String remoteHost, Integer... localPorts) Start the instance using the ports providedMockServer(ServerConfiguration configuration, List<ProxyConfiguration> proxyConfigurations, Integer... localPorts) Start the instance using the ports provided configuring forwarded or proxied requests to go via an additional proxyMockServer(ServerConfiguration configuration, List<ProxyConfiguration> proxyConfigurations, String remoteHost, Integer remotePort, Integer... localPorts) Start the instance using the ports provided configuring forwarded or proxied requests to go via an additional proxyMockServer(ServerConfiguration configuration, ProxyConfiguration proxyConfiguration, String remoteHost, Integer remotePort, Integer... localPorts) Start the instance using the ports provided configuring forwarded or proxied requests to go via an additional proxyMockServerUnificationInitializer(ServerConfiguration configuration, LifeCycle server, HttpState httpState, HttpActionHandler actionHandler) -
Uses of ServerConfiguration in software.xdev.mockserver.netty.proxy
Constructors in software.xdev.mockserver.netty.proxy with parameters of type ServerConfigurationModifierConstructorDescriptionBinaryRequestProxyingHandler(ServerConfiguration configuration, Scheduler scheduler, NettyHttpClient httpClient, EventBus eventBus) -
Uses of ServerConfiguration in software.xdev.mockserver.netty.proxy.connect
Constructors in software.xdev.mockserver.netty.proxy.connect with parameters of type ServerConfigurationModifierConstructorDescriptionHttpConnectHandler(ServerConfiguration configuration, LifeCycle server, String host, int port) -
Uses of ServerConfiguration in software.xdev.mockserver.netty.proxy.relay
Constructors in software.xdev.mockserver.netty.proxy.relay with parameters of type ServerConfigurationModifierConstructorDescriptionprotectedRelayConnectHandler(ServerConfiguration configuration, LifeCycle server, String host, int port) -
Uses of ServerConfiguration in software.xdev.mockserver.netty.proxy.socks
Fields in software.xdev.mockserver.netty.proxy.socks declared as ServerConfigurationModifier and TypeFieldDescriptionprotected final ServerConfigurationSocksProxyHandler.configurationConstructors in software.xdev.mockserver.netty.proxy.socks with parameters of type ServerConfigurationModifierConstructorDescriptionSocks4ConnectHandler(ServerConfiguration configuration, LifeCycle server, String host, int port) Socks4ProxyHandler(ServerConfiguration configuration, LifeCycle server) Socks5ConnectHandler(ServerConfiguration configuration, LifeCycle server, String host, int port) Socks5ProxyHandler(ServerConfiguration configuration, LifeCycle server) protectedSocksConnectHandler(ServerConfiguration configuration, LifeCycle server, String host, int port) protectedSocksProxyHandler(ServerConfiguration configuration, LifeCycle server) -
Uses of ServerConfiguration in software.xdev.mockserver.netty.responsewriter
Constructors in software.xdev.mockserver.netty.responsewriter with parameters of type ServerConfigurationModifierConstructorDescriptionNettyResponseWriter(ServerConfiguration configuration, io.netty.channel.ChannelHandlerContext ctx, Scheduler scheduler) -
Uses of ServerConfiguration in software.xdev.mockserver.netty.unification
Constructors in software.xdev.mockserver.netty.unification with parameters of type ServerConfigurationModifierConstructorDescriptionPortUnificationHandler(ServerConfiguration configuration, LifeCycle server, HttpState httpState, HttpActionHandler actionHandler) -
Uses of ServerConfiguration in software.xdev.mockserver.responsewriter
Fields in software.xdev.mockserver.responsewriter declared as ServerConfigurationModifier and TypeFieldDescriptionprotected final ServerConfigurationResponseWriter.configurationConstructors in software.xdev.mockserver.responsewriter with parameters of type ServerConfiguration -
Uses of ServerConfiguration in software.xdev.mockserver.scheduler
Constructors in software.xdev.mockserver.scheduler with parameters of type ServerConfigurationModifierConstructorDescriptionScheduler(ServerConfiguration configuration) Scheduler(ServerConfiguration configuration, boolean synchronous)