A B C D E F G H I L M O P R S U W

A

apply(Statement, Description) - Method in class org.mockserver.junit.MockServerRule
 
apply(Statement, Description) - Method in class org.mockserver.junit.ProxyRule
 

B

bind(ChannelHandlerContext, SocketAddress, ChannelPromise) - Method in class org.mockserver.logging.LoggingHandler
 
build() - Method in class org.mockserver.mockserver.MockServerBuilder
Build an instance of the HttpProxy
build() - Method in class org.mockserver.proxy.ProxyBuilder
Build an instance of the HttpProxy

C

channelActive(ChannelHandlerContext) - Method in class org.mockserver.logging.LoggingHandler
 
channelActive(ChannelHandlerContext) - Method in class org.mockserver.proxy.relay.DownstreamProxyRelayHandler
 
channelActive(ChannelHandlerContext) - Method in class org.mockserver.proxy.relay.UpstreamProxyRelayHandler
 
channelInactive(ChannelHandlerContext) - Method in class org.mockserver.logging.LoggingHandler
 
channelInactive(ChannelHandlerContext) - Method in class org.mockserver.proxy.direct.DirectProxyUpstreamHandler
 
channelInactive(ChannelHandlerContext) - Method in class org.mockserver.proxy.relay.DownstreamProxyRelayHandler
 
channelInactive(ChannelHandlerContext) - Method in class org.mockserver.proxy.relay.UpstreamProxyRelayHandler
 
channelRead(ChannelHandlerContext, Object) - Method in class org.mockserver.logging.LoggingHandler
 
channelRead0(ChannelHandlerContext, HttpRequest) - Method in class org.mockserver.mockserver.MockServerHandler
 
channelRead0(ChannelHandlerContext, FullHttpRequest) - Method in class org.mockserver.proxy.direct.DirectProxyUpstreamHandler
 
channelRead0(ChannelHandlerContext, HttpRequest) - Method in class org.mockserver.proxy.http.HttpProxyHandler
 
channelRead0(ChannelHandlerContext, FullHttpResponse) - Method in class org.mockserver.proxy.relay.DownstreamProxyRelayHandler
 
channelRead0(ChannelHandlerContext, T) - Method in class org.mockserver.proxy.relay.RelayConnectHandler
 
channelRead0(ChannelHandlerContext, FullHttpRequest) - Method in class org.mockserver.proxy.relay.UpstreamProxyRelayHandler
 
channelRead0(ChannelHandlerContext, SocksRequest) - Method in class org.mockserver.proxy.socks.SocksProxyHandler
 
channelRead0(ChannelHandlerContext, ByteBuf) - Method in class org.mockserver.proxy.unification.PortUnificationHandler
 
channelReadComplete(ChannelHandlerContext) - Method in class org.mockserver.mockserver.MockServerHandler
 
channelReadComplete(ChannelHandlerContext) - Method in class org.mockserver.proxy.http.HttpProxyHandler
 
channelReadComplete(ChannelHandlerContext) - Method in class org.mockserver.proxy.socks.SocksProxyHandler
 
channelRegistered(ChannelHandlerContext) - Method in class org.mockserver.logging.LoggingHandler
 
channelUnregistered(ChannelHandlerContext) - Method in class org.mockserver.logging.LoggingHandler
 
ClientAndProxy - Class in org.mockserver.integration
 
ClientAndProxy(Integer) - Constructor for class org.mockserver.integration.ClientAndProxy
 
ClientAndServer - Class in org.mockserver.integration
 
ClientAndServer() - Constructor for class org.mockserver.integration.ClientAndServer
 
ClientAndServer(Integer) - Constructor for class org.mockserver.integration.ClientAndServer
 
ClientAndServer(Integer, Integer) - Constructor for class org.mockserver.integration.ClientAndServer
 
close(ChannelHandlerContext, ChannelPromise) - Method in class org.mockserver.logging.LoggingHandler
 
closeOnFlush(Channel) - Static method in class org.mockserver.proxy.direct.DirectProxyUpstreamHandler
Closes the specified channel after all queued write requests are flushed.
closeOnFlush(Channel) - Static method in class org.mockserver.proxy.relay.DownstreamProxyRelayHandler
Closes the specified channel after all queued write requests are flushed.
closeOnFlush(Channel) - Static method in class org.mockserver.proxy.relay.UpstreamProxyRelayHandler
Closes the specified channel after all queued write requests are flushed.
configurePipeline(ChannelHandlerContext, ChannelPipeline) - Method in class org.mockserver.proxy.direct.DirectProxyUnificationHandler
 
configurePipeline(ChannelHandlerContext, ChannelPipeline) - Method in class org.mockserver.proxy.http.HttpProxyUnificationHandler
 
configurePipeline(ChannelHandlerContext, ChannelPipeline) - Method in class org.mockserver.proxy.unification.PortUnificationHandler
 
connect(ChannelHandlerContext, SocketAddress, SocketAddress, ChannelPromise) - Method in class org.mockserver.logging.LoggingHandler
 
content() - Method in class org.mockserver.mockserver.MappedRequest
 

D

decode(ChannelHandlerContext, FullHttpRequest, List<Object>) - Method in class org.mockserver.codec.MockServerRequestDecoder
 
deregister(ChannelHandlerContext, ChannelPromise) - Method in class org.mockserver.logging.LoggingHandler
 
DirectProxy - Class in org.mockserver.proxy.direct
This class should not be constructed directly instead use HttpProxyBuilder to build and configure this class
DirectProxy(Integer, String, Integer) - Constructor for class org.mockserver.proxy.direct.DirectProxy
 
DirectProxyUnificationHandler - Class in org.mockserver.proxy.direct
 
DirectProxyUnificationHandler() - Constructor for class org.mockserver.proxy.direct.DirectProxyUnificationHandler
 
DirectProxyUpstreamHandler - Class in org.mockserver.proxy.direct
 
DirectProxyUpstreamHandler() - Constructor for class org.mockserver.proxy.direct.DirectProxyUpstreamHandler
 
disconnect(ChannelHandlerContext, ChannelPromise) - Method in class org.mockserver.logging.LoggingHandler
 
DownstreamProxyRelayHandler - Class in org.mockserver.proxy.relay
 
DownstreamProxyRelayHandler(Channel, Logger) - Constructor for class org.mockserver.proxy.relay.DownstreamProxyRelayHandler
 

E

encode(ChannelHandlerContext, HttpResponse, List<Object>) - Method in class org.mockserver.codec.MockServerResponseEncoder
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.mockserver.logging.LoggingHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.mockserver.mockserver.MockServerHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.mockserver.proxy.direct.DirectProxyUpstreamHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.mockserver.proxy.http.HttpProxyHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.mockserver.proxy.relay.DownstreamProxyRelayHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.mockserver.proxy.relay.RelayConnectHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.mockserver.proxy.relay.UpstreamProxyRelayHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.mockserver.proxy.socks.SocksProxyHandler
 

F

failureResponse(Object) - Method in class org.mockserver.proxy.connect.HttpConnectHandler
 
failureResponse(Object) - Method in class org.mockserver.proxy.relay.RelayConnectHandler
 
failureResponse(Object) - Method in class org.mockserver.proxy.socks.SocksConnectHandler
 
flush(ChannelHandlerContext) - Method in class org.mockserver.logging.LoggingHandler
 
format(ChannelHandlerContext, String) - Method in class org.mockserver.logging.LoggingHandler
 

G

getHttpPort() - Method in class org.mockserver.junit.MockServerRule
 
getHttpPort() - Method in class org.mockserver.junit.ProxyRule
 
getHttpsPort() - Method in class org.mockserver.junit.MockServerRule
 
getLocalPort() - Method in class org.mockserver.proxy.direct.DirectProxy
 
getPort() - Method in class org.mockserver.mockserver.MockServer
 
getPort() - Method in class org.mockserver.proxy.http.HttpProxy
 
getRemoteHost() - Method in class org.mockserver.proxy.direct.DirectProxy
 
getRemotePort() - Method in class org.mockserver.proxy.direct.DirectProxy
 
getSecurePort() - Method in class org.mockserver.mockserver.MockServer
 

H

HTTP_PROXY - Static variable in interface org.mockserver.proxy.Proxy
 
HttpConnectHandler - Class in org.mockserver.proxy.connect
 
HttpConnectHandler() - Constructor for class org.mockserver.proxy.connect.HttpConnectHandler
 
HttpProxy - Class in org.mockserver.proxy.http
This class should not be constructed directly instead use HttpProxyBuilder to build and configure this class
HttpProxy(Integer) - Constructor for class org.mockserver.proxy.http.HttpProxy
 
HttpProxyHandler - Class in org.mockserver.proxy.http
 
HttpProxyHandler(Proxy, LogFilter) - Constructor for class org.mockserver.proxy.http.HttpProxyHandler
 
HttpProxyUnificationHandler - Class in org.mockserver.proxy.http
 
HttpProxyUnificationHandler() - Constructor for class org.mockserver.proxy.http.HttpProxyUnificationHandler
 

I

initChannel(SocketChannel) - Method in class org.mockserver.mockserver.MockServerInitializer
 
isRunning() - Method in class org.mockserver.integration.ClientAndProxy
 
isRunning() - Method in class org.mockserver.integration.ClientAndServer
 
isRunning() - Method in class org.mockserver.mockserver.MockServer
 
isRunning() - Method in class org.mockserver.proxy.direct.DirectProxy
 
isRunning() - Method in class org.mockserver.proxy.http.HttpProxy
 
isRunning() - Method in interface org.mockserver.proxy.Proxy
 
isSslEnabled(ChannelHandlerContext) - Static method in class org.mockserver.proxy.unification.PortUnificationHandler
 

L

LOG_FILTER - Static variable in class org.mockserver.mockserver.MockServer
 
LOG_FILTER - Static variable in interface org.mockserver.proxy.Proxy
 
logger - Variable in class org.mockserver.logging.LoggingHandler
 
logger - Variable in class org.mockserver.proxy.relay.RelayConnectHandler
 
Logging - Class in org.mockserver.logging
 
Logging() - Constructor for class org.mockserver.logging.Logging
 
LoggingHandler - Class in org.mockserver.logging
 
LoggingHandler() - Constructor for class org.mockserver.logging.LoggingHandler
 
LoggingHandler(String) - Constructor for class org.mockserver.logging.LoggingHandler
 
LoggingHandler(Logger) - Constructor for class org.mockserver.logging.LoggingHandler
 

M

Main - Class in org.mockserver.cli
 
Main() - Constructor for class org.mockserver.cli.Main
 
main(String...) - Static method in class org.mockserver.cli.Main
Run the MockServer directly providing the parseArguments for the server and httpProxyBuilder as the only input parameters (if not provided the server port defaults to 8080 and the httpProxyBuilder is not started).
MappedRequest - Class in org.mockserver.mockserver
 
MappedRequest(FullHttpRequest) - Constructor for class org.mockserver.mockserver.MappedRequest
 
matches(HttpMethod, String) - Method in class org.mockserver.mockserver.MappedRequest
 
method() - Method in class org.mockserver.mockserver.MappedRequest
 
MockServer - Class in org.mockserver.mockserver
An HTTP server that sends back the content of the received HTTP request in a pretty plaintext form.
MockServer(Integer, Integer) - Constructor for class org.mockserver.mockserver.MockServer
Start the instance using the ports provided
MockServerBuilder - Class in org.mockserver.mockserver
 
MockServerBuilder() - Constructor for class org.mockserver.mockserver.MockServerBuilder
 
MockServerHandler - Class in org.mockserver.mockserver
 
MockServerHandler(MockServer, MockServerMatcher, LogFilter) - Constructor for class org.mockserver.mockserver.MockServerHandler
 
MockServerInitializer - Class in org.mockserver.mockserver
 
MockServerInitializer(MockServerMatcher, MockServer, boolean) - Constructor for class org.mockserver.mockserver.MockServerInitializer
 
MockServerRequestDecoder - Class in org.mockserver.codec
 
MockServerRequestDecoder(boolean) - Constructor for class org.mockserver.codec.MockServerRequestDecoder
 
MockServerResponseEncoder - Class in org.mockserver.codec
 
MockServerResponseEncoder() - Constructor for class org.mockserver.codec.MockServerResponseEncoder
 
MockServerRule - Class in org.mockserver.junit
 
MockServerRule(Object) - Constructor for class org.mockserver.junit.MockServerRule
Start the MockServer prior to test execution and stop the MockServer after the tests have completed.
MockServerRule(Object, boolean) - Constructor for class org.mockserver.junit.MockServerRule
Start the MockServer prior to test execution and stop the MockServer after the tests have completed.
MockServerRule(Integer, Object) - Constructor for class org.mockserver.junit.MockServerRule
Start the proxy prior to test execution and stop the proxy after the tests have completed.
MockServerRule(Integer, Object, boolean) - Constructor for class org.mockserver.junit.MockServerRule
Start the proxy prior to test execution and stop the proxy after the tests have completed.
MockServerRule(Integer, Integer, Object, boolean) - Constructor for class org.mockserver.junit.MockServerRule
Start the proxy prior to test execution and stop the proxy after the tests have completed.
MockServerServerCodec - Class in org.mockserver.codec
 
MockServerServerCodec(boolean) - Constructor for class org.mockserver.codec.MockServerServerCodec
 

O

org.mockserver.cli - package org.mockserver.cli
 
org.mockserver.codec - package org.mockserver.codec
 
org.mockserver.integration - package org.mockserver.integration
 
org.mockserver.junit - package org.mockserver.junit
 
org.mockserver.logging - package org.mockserver.logging
 
org.mockserver.mockserver - package org.mockserver.mockserver
 
org.mockserver.proxy - package org.mockserver.proxy
 
org.mockserver.proxy.connect - package org.mockserver.proxy.connect
 
org.mockserver.proxy.direct - package org.mockserver.proxy.direct
 
org.mockserver.proxy.http - package org.mockserver.proxy.http
 
org.mockserver.proxy.relay - package org.mockserver.proxy.relay
 
org.mockserver.proxy.socks - package org.mockserver.proxy.socks
 
org.mockserver.proxy.unification - package org.mockserver.proxy.unification
 
overrideLogLevel(String) - Static method in class org.mockserver.logging.Logging
Override the debug WARN logging level

P

parameters() - Method in class org.mockserver.mockserver.MappedRequest
 
PortUnificationHandler - Class in org.mockserver.proxy.unification
 
PortUnificationHandler() - Constructor for class org.mockserver.proxy.unification.PortUnificationHandler
 
Proxy - Interface in org.mockserver.proxy
This class should not be constructed directly instead use HttpProxyBuilder to build and configure this class
PROXY_PORT_KEY - Static variable in class org.mockserver.cli.Main
 
ProxyBuilder - Class in org.mockserver.proxy
This class should be used to configure the HttpProxy, using this class is the simplest way to create an HttpProxy instance
ProxyBuilder() - Constructor for class org.mockserver.proxy.ProxyBuilder
 
ProxyRule - Class in org.mockserver.junit
 
ProxyRule(Object) - Constructor for class org.mockserver.junit.ProxyRule
Start the proxy prior to test execution and stop the proxy after the tests have completed.
ProxyRule(Object, boolean) - Constructor for class org.mockserver.junit.ProxyRule
Start the proxy prior to test execution and stop the proxy after the tests have completed.
ProxyRule(Integer, Object) - Constructor for class org.mockserver.junit.ProxyRule
Start the proxy prior to test execution and stop the proxy after the tests have completed.
ProxyRule(Integer, Object, boolean) - Constructor for class org.mockserver.junit.ProxyRule
Start the proxy prior to test execution and stop the proxy after the tests have completed.
proxyStarted(Integer) - Method in class org.mockserver.proxy.http.HttpProxy
 
proxyStopping() - Method in class org.mockserver.proxy.http.HttpProxy
 

R

RelayConnectHandler<T> - Class in org.mockserver.proxy.relay
 
RelayConnectHandler() - Constructor for class org.mockserver.proxy.relay.RelayConnectHandler
 
REMOTE_SOCKET - Static variable in interface org.mockserver.proxy.Proxy
 
removeCodecSupport(ChannelHandlerContext) - Method in class org.mockserver.proxy.connect.HttpConnectHandler
 
removeCodecSupport(ChannelHandlerContext) - Method in class org.mockserver.proxy.relay.RelayConnectHandler
 
removeCodecSupport(ChannelHandlerContext) - Method in class org.mockserver.proxy.socks.SocksConnectHandler
 

S

SERVER_PORT_KEY - Static variable in class org.mockserver.cli.Main
 
SERVER_SECURE_PORT_KEY - Static variable in class org.mockserver.cli.Main
 
SocksConnectHandler - Class in org.mockserver.proxy.socks
 
SocksConnectHandler() - Constructor for class org.mockserver.proxy.socks.SocksConnectHandler
 
SocksProxyHandler - Class in org.mockserver.proxy.socks
 
SocksProxyHandler() - Constructor for class org.mockserver.proxy.socks.SocksProxyHandler
 
SSL_ENABLED - Static variable in class org.mockserver.proxy.unification.PortUnificationHandler
 
startClientAndProxy(Integer) - Static method in class org.mockserver.integration.ClientAndProxy
 
startClientAndServer(Integer) - Static method in class org.mockserver.integration.ClientAndServer
 
startClientAndServer(Integer, Integer) - Static method in class org.mockserver.integration.ClientAndServer
 
stop() - Method in class org.mockserver.mockserver.MockServer
 
stop() - Method in class org.mockserver.proxy.direct.DirectProxy
 
stop() - Method in class org.mockserver.proxy.http.HttpProxy
 
stop() - Method in interface org.mockserver.proxy.Proxy
 
successResponse(Object) - Method in class org.mockserver.proxy.connect.HttpConnectHandler
 
successResponse(Object) - Method in class org.mockserver.proxy.relay.RelayConnectHandler
 
successResponse(Object) - Method in class org.mockserver.proxy.socks.SocksConnectHandler
 

U

UpstreamProxyRelayHandler - Class in org.mockserver.proxy.relay
 
UpstreamProxyRelayHandler(Channel, Logger) - Constructor for class org.mockserver.proxy.relay.UpstreamProxyRelayHandler
 
USAGE - Static variable in class org.mockserver.cli.Main
 
userEventTriggered(ChannelHandlerContext, Object) - Method in class org.mockserver.logging.LoggingHandler
 

W

withDirect(String, Integer) - Method in class org.mockserver.proxy.ProxyBuilder
Configure a direct proxy that forwards all requests from the localPort to the remoteHost and remotePort
withHTTPPort(Integer) - Method in class org.mockserver.mockserver.MockServerBuilder
Configure HTTP port for proxy, setting this value will ensure HTTP is supported
withHTTPSPort(Integer) - Method in class org.mockserver.mockserver.MockServerBuilder
Configure HTTP/SSL (HTTPS) port for proxy, setting this value will ensure HTTPS is supported, clients that use HTTP -> HTTPS CONNECT request also require the HTTP port to be set using HttpProxyBuilder#withHTTPPort(Integer port)
withLocalPort(Integer) - Method in class org.mockserver.proxy.ProxyBuilder
Configure the local port for the proxy, this will be the same port for all traffic including HTTP, SOCKS, CONNECT and SSL
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.mockserver.logging.LoggingHandler
 

A B C D E F G H I L M O P R S U W

Copyright © 2014. All rights reserved.