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

A

addLastIfNotPresent(ChannelPipeline, ChannelHandler) - Method in class org.mockserver.proxy.unification.PortUnificationHandler
 
apply(Statement, Description) - Method in class org.mockserver.junit.MockServerRule
 
apply(Statement, Description) - Method in class org.mockserver.junit.ProxyRule
 

B

bindToPorts(List<Integer>) - Method in class org.mockserver.lifecycle.LifeCycle
 
bossGroup - Variable in class org.mockserver.lifecycle.LifeCycle
 
build() - Method in class org.mockserver.mockserver.MockServerBuilder
Build an instance of the MockServer
build() - Method in class org.mockserver.proxy.ProxyBuilder
Build an instance of the HttpProxy

C

channelActive(ChannelHandlerContext) - Method in class org.mockserver.proxy.relay.DownstreamProxyRelayHandler
 
channelActive(ChannelHandlerContext) - Method in class org.mockserver.proxy.relay.ProxyRelayHandler
 
channelActive(ChannelHandlerContext) - Method in class org.mockserver.proxy.relay.UpstreamProxyRelayHandler
 
channelInactive(ChannelHandlerContext) - Method in class org.mockserver.proxy.relay.DownstreamProxyRelayHandler
 
channelInactive(ChannelHandlerContext) - Method in class org.mockserver.proxy.relay.ProxyRelayHandler
 
channelInactive(ChannelHandlerContext) - Method in class org.mockserver.proxy.relay.UpstreamProxyRelayHandler
 
channelOpenedFutures - Variable in class org.mockserver.lifecycle.LifeCycle
 
channelRead0(ChannelHandlerContext, HttpRequest) - Method in class org.mockserver.mockserver.MockServerHandler
 
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.ProxyRelayHandler
 
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
 
clear() - Method in class org.mockserver.stop.StopEventQueue
 
ClientAndProxy - Class in org.mockserver.integration
 
ClientAndProxy(Integer) - Constructor for class org.mockserver.integration.ClientAndProxy
 
ClientAndProxy(Integer, String, 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(MockServer) - Constructor for class org.mockserver.integration.ClientAndServer
 
closeOnFlush(Channel) - Static method in class org.mockserver.exception.ExceptionHandler
Closes the specified channel after all queued write requests are flushed.
configurePipeline(ChannelHandlerContext, ChannelPipeline) - Method in class org.mockserver.mockserver.MockServerInitializer
 
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
 

D

DirectProxy - Class in org.mockserver.proxy.direct
This class should not be constructed directly instead use HttpProxyBuilder to build and configure this class
DirectProxy(String, Integer, Integer...) - Constructor for class org.mockserver.proxy.direct.DirectProxy
Start the instance using the ports provided
DirectProxyUnificationHandler - Class in org.mockserver.proxy.direct
 
DirectProxyUnificationHandler() - Constructor for class org.mockserver.proxy.direct.DirectProxyUnificationHandler
 
disableSslDownstream(Channel) - Static method in class org.mockserver.proxy.unification.PortUnificationHandler
 
DownstreamProxyRelayHandler - Class in org.mockserver.proxy.relay
 
DownstreamProxyRelayHandler(Channel, Logger) - Constructor for class org.mockserver.proxy.relay.DownstreamProxyRelayHandler
 

E

enabledSslDownstream(Channel) - Static method in class org.mockserver.proxy.unification.PortUnificationHandler
 
enabledSslUpstreamAndDownstream(Channel) - Static method in class org.mockserver.proxy.unification.PortUnificationHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.mockserver.mockserver.MockServerHandler
 
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.ProxyRelayHandler
 
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
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.mockserver.proxy.unification.PortUnificationHandler
 
ExceptionHandler - Class in org.mockserver.exception
 
ExceptionHandler() - Constructor for class org.mockserver.exception.ExceptionHandler
 

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
 

G

getHttpPort() - Method in class org.mockserver.junit.ProxyRule
 
getLocalPort() - Method in class org.mockserver.proxy.direct.DirectProxy
 
getPort() - Method in class org.mockserver.integration.ClientAndProxy
 
getPort() - Method in class org.mockserver.integration.ClientAndServer
 
getPort() - Method in class org.mockserver.junit.MockServerRule
 
getPort() - Method in class org.mockserver.lifecycle.LifeCycle
 
getPorts() - Method in class org.mockserver.integration.ClientAndProxy
 
getPorts() - Method in class org.mockserver.integration.ClientAndServer
 
getPorts() - Method in class org.mockserver.junit.MockServerRule
 
getPorts() - Method in class org.mockserver.lifecycle.LifeCycle
 
getRemoteAddress() - Method in class org.mockserver.proxy.direct.DirectProxy
 

H

HTTP_CONNECT_SOCKET - Static variable in class org.mockserver.proxy.Proxy
 
HTTP_PROXY - Static variable in class org.mockserver.proxy.Proxy
 
HttpConnectHandler - Class in org.mockserver.proxy.connect
 
HttpConnectHandler(String, int) - 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
Start the instance using the ports provided
HttpProxyHandler - Class in org.mockserver.proxy.http
 
HttpProxyHandler(Proxy, HttpStateHandler) - 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

isRunning() - Method in class org.mockserver.integration.ClientAndProxy
 
isRunning() - Method in class org.mockserver.integration.ClientAndServer
 
isRunning() - Method in class org.mockserver.lifecycle.LifeCycle
 
isSslEnabledDownstream(Channel) - Static method in class org.mockserver.proxy.unification.PortUnificationHandler
 
isSslEnabledUpstream(Channel) - Static method in class org.mockserver.proxy.unification.PortUnificationHandler
 

L

LifeCycle<T extends LifeCycle> - Class in org.mockserver.lifecycle
 
LifeCycle() - Constructor for class org.mockserver.lifecycle.LifeCycle
 
logger - Variable in class org.mockserver.lifecycle.LifeCycle
 
logger - Static variable in class org.mockserver.proxy.relay.RelayConnectHandler
 
logger - Static variable in class org.mockserver.proxy.unification.PortUnificationHandler
 

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).
MockServer - Class in org.mockserver.mockserver
 
MockServer(Integer...) - Constructor for class org.mockserver.mockserver.MockServer
Start the instance using the port provided
MockServerBuilder - Class in org.mockserver.mockserver
 
MockServerBuilder() - Constructor for class org.mockserver.mockserver.MockServerBuilder
 
MockServerHandler - Class in org.mockserver.mockserver
 
MockServerHandler(MockServer, HttpStateHandler, WebSocketClientRegistry) - Constructor for class org.mockserver.mockserver.MockServerHandler
 
MockServerInitializer - Class in org.mockserver.mockserver
 
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(Object, Integer...) - Constructor for class org.mockserver.junit.MockServerRule
Start the proxy prior to test execution and stop the proxy after the tests have completed.
MockServerRule(Object, boolean, Integer...) - Constructor for class org.mockserver.junit.MockServerRule
Start the proxy prior to test execution and stop the proxy after the tests have completed.

N

NettyResponseWriter - Class in org.mockserver.mockserver
 
NettyResponseWriter(ChannelHandlerContext) - Constructor for class org.mockserver.mockserver.NettyResponseWriter
 

O

org.mockserver.cli - package org.mockserver.cli
 
org.mockserver.exception - package org.mockserver.exception
 
org.mockserver.integration - package org.mockserver.integration
 
org.mockserver.junit - package org.mockserver.junit
 
org.mockserver.lifecycle - package org.mockserver.lifecycle
 
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
 
org.mockserver.stop - package org.mockserver.stop
 

P

PortUnificationHandler - Class in org.mockserver.proxy.unification
 
PortUnificationHandler() - Constructor for class org.mockserver.proxy.unification.PortUnificationHandler
 
Proxy<T extends LifeCycle> - Class in org.mockserver.proxy
This class should not be constructed directly instead use HttpProxyBuilder to build and configure this class
Proxy() - Constructor for class org.mockserver.proxy.Proxy
 
PROXY_PORT_KEY - Static variable in class org.mockserver.cli.Main
 
PROXY_REMOTE_HOST_KEY - Static variable in class org.mockserver.cli.Main
 
PROXY_REMOTE_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
 
ProxyRelayHandler<T extends io.netty.handler.codec.http.HttpMessage> - Class in org.mockserver.proxy.relay
 
ProxyRelayHandler(Channel, Logger) - Constructor for class org.mockserver.proxy.relay.ProxyRelayHandler
 
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.

R

register(Stoppable) - Method in class org.mockserver.stop.StopEventQueue
 
RelayConnectHandler<T> - Class in org.mockserver.proxy.relay
 
RelayConnectHandler(String, int) - Constructor for class org.mockserver.proxy.relay.RelayConnectHandler
 
REMOTE_SOCKET - Static variable in class 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
 
removeHandler(ChannelPipeline, Class<? extends ChannelHandler>) - Method in class org.mockserver.proxy.relay.RelayConnectHandler
 
removeHandler(ChannelPipeline, ChannelHandler) - Method in class org.mockserver.proxy.relay.RelayConnectHandler
 

S

SERVER_PORT_KEY - Static variable in class org.mockserver.cli.Main
 
serverBootstrap - Variable in class org.mockserver.lifecycle.LifeCycle
 
shouldIgnoreException(Throwable) - Static method in class org.mockserver.exception.ExceptionHandler
returns true is the exception was caused by the connection being closed
SocksConnectHandler - Class in org.mockserver.proxy.socks
 
SocksConnectHandler(String, int) - 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_DOWNSTREAM - Static variable in class org.mockserver.proxy.unification.PortUnificationHandler
 
SSL_ENABLED_UPSTREAM - Static variable in class org.mockserver.proxy.unification.PortUnificationHandler
 
startClientAndDirectProxy(Integer, String, Integer) - Static method in class org.mockserver.integration.ClientAndProxy
 
startClientAndProxy(Integer) - Static method in class org.mockserver.integration.ClientAndProxy
 
startClientAndServer(Integer...) - Static method in class org.mockserver.integration.ClientAndServer
 
started(Integer) - Method in class org.mockserver.lifecycle.LifeCycle
 
started(Integer) - Method in class org.mockserver.proxy.http.HttpProxy
 
STATE_HANDLER - Static variable in class org.mockserver.proxy.Proxy
 
stop() - Method in class org.mockserver.lifecycle.LifeCycle
 
stop(Stoppable, SettableFuture<String>, EventLoopGroup, EventLoopGroup) - Method in class org.mockserver.stop.StopEventQueue
 
stop() - Method in interface org.mockserver.stop.Stoppable
 
stopEventQueue - Variable in class org.mockserver.lifecycle.LifeCycle
 
StopEventQueue - Class in org.mockserver.stop
 
StopEventQueue() - Constructor for class org.mockserver.stop.StopEventQueue
 
stopOthers(Stoppable) - Method in class org.mockserver.stop.StopEventQueue
 
Stoppable - Interface in org.mockserver.stop
 
stoppables - Variable in class org.mockserver.stop.StopEventQueue
 
stopped() - Method in class org.mockserver.lifecycle.LifeCycle
 
stopped() - Method in class org.mockserver.proxy.http.HttpProxy
 
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

unregister(Stoppable) - Method in class org.mockserver.stop.StopEventQueue
 
UpstreamProxyRelayHandler - Class in org.mockserver.proxy.relay
 
UpstreamProxyRelayHandler(Channel, Channel, Logger) - Constructor for class org.mockserver.proxy.relay.UpstreamProxyRelayHandler
 
USAGE - Static variable in class org.mockserver.cli.Main
 

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 and HTTPS ports
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
withStopEventQueue(StopEventQueue) - Method in class org.mockserver.lifecycle.LifeCycle
 
withStopEventQueue(StopEventQueue) - Method in class org.mockserver.mockserver.MockServerBuilder
 
withStopEventQueue(StopEventQueue) - Method in class org.mockserver.proxy.ProxyBuilder
 
workerGroup - Variable in class org.mockserver.lifecycle.LifeCycle
 
writeResponse(HttpRequest, HttpResponseStatus) - Method in class org.mockserver.mockserver.NettyResponseWriter
 
writeResponse(HttpRequest, HttpResponseStatus, String, String) - Method in class org.mockserver.mockserver.NettyResponseWriter
 
writeResponse(HttpRequest, HttpResponse) - Method in class org.mockserver.mockserver.NettyResponseWriter
 
A B C D E F G H I L M N O P R S U W 

Copyright © 2017. All rights reserved.