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

BasicHttpDecoder - Class in org.mockserver.proxy.http.relay
 
BasicHttpDecoder(ByteBuf) - Constructor for class org.mockserver.proxy.http.relay.BasicHttpDecoder
 
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.http.HttpProxyBuilder
Build an instance of the HttpProxy
buildAndReturnThread() - Method in class org.mockserver.mockserver.MockServerBuilder
Build an instance of the HttpProxy
buildAndReturnThread() - Method in class org.mockserver.proxy.http.HttpProxyBuilder
Build an instance of the HttpProxy

C

channelActive(ChannelHandlerContext) - Method in class org.mockserver.logging.LoggingHandler
 
channelActive(ChannelHandlerContext) - Method in class org.mockserver.proxy.http.direct.DirectProxyUpstreamHandler
 
channelActive(ChannelHandlerContext) - Method in class org.mockserver.proxy.http.relay.DirectClientHandler
 
channelActive(ChannelHandlerContext) - Method in class org.mockserver.proxy.http.relay.ProxyRelayHandler
 
channelInactive(ChannelHandlerContext) - Method in class org.mockserver.logging.LoggingHandler
 
channelInactive(ChannelHandlerContext) - Method in class org.mockserver.proxy.http.direct.DirectProxyUpstreamHandler
 
channelInactive(ChannelHandlerContext) - Method in class org.mockserver.proxy.http.relay.ProxyRelayHandler
 
channelRead(ChannelHandlerContext, Object) - Method in class org.mockserver.logging.LoggingHandler
 
channelRead(ChannelHandlerContext, Object) - Method in class org.mockserver.proxy.http.direct.DirectProxyUpstreamHandler
 
channelRead(ChannelHandlerContext, Object) - Method in class org.mockserver.proxy.http.relay.ProxyRelayHandler
 
channelRead0(ChannelHandlerContext, HttpRequest) - Method in class org.mockserver.mockserver.MockServerHandler
 
channelRead0(ChannelHandlerContext, HttpRequest) - Method in class org.mockserver.proxy.http.HttpProxyHandler
 
channelRead0(ChannelHandlerContext, T) - Method in class org.mockserver.proxy.http.relay.RelayConnectHandler
 
channelRead0(ChannelHandlerContext, SocksRequest) - Method in class org.mockserver.proxy.http.SocksProxyHandler
 
channelReadComplete(ChannelHandlerContext) - Method in class org.mockserver.mockserver.MockServerHandler
 
channelReadComplete(ChannelHandlerContext) - Method in class org.mockserver.proxy.http.direct.DirectProxyUpstreamHandler
 
channelReadComplete(ChannelHandlerContext) - Method in class org.mockserver.proxy.http.HttpProxyHandler
 
channelReadComplete(ChannelHandlerContext) - Method in class org.mockserver.proxy.http.relay.ProxyRelayHandler
 
channelReadComplete(ChannelHandlerContext) - Method in class org.mockserver.proxy.http.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
 
ClientAndProxy(Integer, 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
 
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
 
decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.mockserver.proxy.http.ProxyUnificationHandler
 
deregister(ChannelHandlerContext, ChannelPromise) - Method in class org.mockserver.logging.LoggingHandler
 
DirectClientHandler - Class in org.mockserver.proxy.http.relay
 
DirectClientHandler(Promise<Channel>) - Constructor for class org.mockserver.proxy.http.relay.DirectClientHandler
 
DirectProxyUpstreamHandler - Class in org.mockserver.proxy.http.direct
 
DirectProxyUpstreamHandler(InetSocketAddress, boolean, int, Interceptor, String) - Constructor for class org.mockserver.proxy.http.direct.DirectProxyUpstreamHandler
 
disconnect(ChannelHandlerContext, ChannelPromise) - Method in class org.mockserver.logging.LoggingHandler
 

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.http.direct.DirectProxyUpstreamHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.mockserver.proxy.http.HttpProxyHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.mockserver.proxy.http.relay.DirectClientHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.mockserver.proxy.http.relay.ProxyRelayHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.mockserver.proxy.http.relay.RelayConnectHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.mockserver.proxy.http.SocksProxyHandler
 

F

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

G

getContentLength() - Method in class org.mockserver.proxy.http.relay.BasicHttpDecoder
 
getContentStart() - Method in class org.mockserver.proxy.http.relay.BasicHttpDecoder
 
getHttpPort() - Method in class org.mockserver.junit.MockServerRule
 
getHttpPort() - Method in class org.mockserver.junit.ProxyRule
 
getHttpsPort() - Method in class org.mockserver.junit.MockServerRule
 
getHttpsPort() - Method in class org.mockserver.junit.ProxyRule
 

H

handlerAdded(ChannelHandlerContext) - Method in class org.mockserver.proxy.http.direct.DirectProxyUpstreamHandler
 
handlerAdded(ChannelHandlerContext) - Method in class org.mockserver.proxy.http.relay.ProxyRelayHandler
 
handlerRemoved(ChannelHandlerContext) - Method in class org.mockserver.proxy.http.direct.DirectProxyUpstreamHandler
 
handlerRemoved(ChannelHandlerContext) - Method in class org.mockserver.proxy.http.relay.ProxyRelayHandler
 
HeadAwareHttpResponseDecoder - Class in org.mockserver.proxy.interceptor
 
HeadAwareHttpResponseDecoder(int, int, int) - Constructor for class org.mockserver.proxy.interceptor.HeadAwareHttpResponseDecoder
 
HttpConnectHandler - Class in org.mockserver.proxy.http.connect
 
HttpConnectHandler(InetSocketAddress, boolean) - Constructor for class org.mockserver.proxy.http.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() - Constructor for class org.mockserver.proxy.http.HttpProxy
 
HttpProxyBuilder - Class in org.mockserver.proxy.http
This class should be used to configure the HttpProxy, using this class is the simplest way to create an HttpProxy instance
HttpProxyBuilder() - Constructor for class org.mockserver.proxy.http.HttpProxyBuilder
 
HttpProxyHandler - Class in org.mockserver.proxy.http
 
HttpProxyHandler(LogFilter, HttpProxy, InetSocketAddress) - Constructor for class org.mockserver.proxy.http.HttpProxyHandler
 

I

initChannel(SocketChannel) - Method in class org.mockserver.mockserver.MockServerInitializer
 
intercept(ChannelHandlerContext, ByteBuf, Logger) - Method in interface org.mockserver.proxy.interceptor.Interceptor
 
intercept(ChannelHandlerContext, ByteBuf, Logger) - Method in class org.mockserver.proxy.interceptor.RequestInterceptor
 
intercept(ChannelHandlerContext, ByteBuf, Logger) - Method in class org.mockserver.proxy.interceptor.ResponseInterceptor
 
Interceptor - Interface in org.mockserver.proxy.interceptor
 
isContentAlwaysEmpty(HttpMessage) - Method in class org.mockserver.proxy.interceptor.HeadAwareHttpResponseDecoder
 
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.http.HttpProxy
 

L

logger - Variable in class org.mockserver.logging.LoggingHandler
 
logger - Static variable in class org.mockserver.proxy.http.relay.BasicHttpDecoder
 
logger - Variable in class org.mockserver.proxy.http.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() - Constructor for class org.mockserver.mockserver.MockServer
 
MockServerBuilder - Class in org.mockserver.mockserver
 
MockServerBuilder() - Constructor for class org.mockserver.mockserver.MockServerBuilder
 
MockServerHandler - Class in org.mockserver.mockserver
 
MockServerHandler(MockServerMatcher, LogFilter, MockServer) - Constructor for class org.mockserver.mockserver.MockServerHandler
 
MockServerInitializer - Class in org.mockserver.mockserver
 
MockServerInitializer(MockServerMatcher, LogFilter, 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.http - package org.mockserver.proxy.http
 
org.mockserver.proxy.http.connect - package org.mockserver.proxy.http.connect
 
org.mockserver.proxy.http.direct - package org.mockserver.proxy.http.direct
 
org.mockserver.proxy.http.relay - package org.mockserver.proxy.http.relay
 
org.mockserver.proxy.http.socks - package org.mockserver.proxy.http.socks
 
org.mockserver.proxy.interceptor - package org.mockserver.proxy.interceptor
 
overrideLogLevel(String) - Static method in class org.mockserver.logging.Logging
Override the debug WARN logging level
overrideLogLevel(String) - Method in class org.mockserver.proxy.http.HttpProxy
Override the debug WARN logging level

P

parameters() - Method in class org.mockserver.mockserver.MappedRequest
 
PROXY_PORT_KEY - Static variable in class org.mockserver.cli.Main
 
PROXY_SECURE_PORT_KEY - Static variable in class org.mockserver.cli.Main
 
ProxyRelayHandler - Class in org.mockserver.proxy.http.relay
 
ProxyRelayHandler(Channel, int, Interceptor, Logger) - Constructor for class org.mockserver.proxy.http.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.
ProxyRule(Integer, 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.
proxySelector() - Static method in class org.mockserver.proxy.http.HttpProxy
 
proxyStarted(Integer, boolean) - Method in class org.mockserver.proxy.http.HttpProxy
 
proxyStopping() - Method in class org.mockserver.proxy.http.HttpProxy
 
ProxyUnificationHandler - Class in org.mockserver.proxy.http
 
ProxyUnificationHandler(int) - Constructor for class org.mockserver.proxy.http.ProxyUnificationHandler
 

R

RelayConnectHandler<T> - Class in org.mockserver.proxy.http.relay
 
RelayConnectHandler(InetSocketAddress, boolean) - Constructor for class org.mockserver.proxy.http.relay.RelayConnectHandler
 
removeCodecSupport(ChannelHandlerContext) - Method in class org.mockserver.proxy.http.connect.HttpConnectHandler
 
removeCodecSupport(ChannelHandlerContext) - Method in class org.mockserver.proxy.http.relay.RelayConnectHandler
 
removeCodecSupport(ChannelHandlerContext) - Method in class org.mockserver.proxy.http.socks.SocksConnectHandler
 
RequestInterceptor - Class in org.mockserver.proxy.interceptor
 
RequestInterceptor(InetSocketAddress) - Constructor for class org.mockserver.proxy.interceptor.RequestInterceptor
 
ResponseInterceptor - Class in org.mockserver.proxy.interceptor
 
ResponseInterceptor() - Constructor for class org.mockserver.proxy.interceptor.ResponseInterceptor
 

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.http.socks
 
SocksConnectHandler(InetSocketAddress, boolean) - Constructor for class org.mockserver.proxy.http.socks.SocksConnectHandler
 
SocksProxyHandler - Class in org.mockserver.proxy.http
 
SocksProxyHandler(InetSocketAddress, boolean) - Constructor for class org.mockserver.proxy.http.SocksProxyHandler
 
start(Integer, Integer) - Method in class org.mockserver.mockserver.MockServer
Start the instance using the ports provided
startClientAndProxy(Integer) - Static method in class org.mockserver.integration.ClientAndProxy
 
startClientAndProxy(Integer, 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.http.HttpProxy
 
successResponse(Object) - Method in class org.mockserver.proxy.http.connect.HttpConnectHandler
 
successResponse(Object) - Method in class org.mockserver.proxy.http.relay.RelayConnectHandler
 
successResponse(Object) - Method in class org.mockserver.proxy.http.socks.SocksConnectHandler
 

U

USAGE - Static variable in class org.mockserver.cli.Main
 
userEventTriggered(ChannelHandlerContext, Object) - Method in class org.mockserver.logging.LoggingHandler
 

W

withDirect(Integer, String, Integer) - Method in class org.mockserver.proxy.http.HttpProxyBuilder
Configure a direct proxy that forwards all requests on the fromPort to the toHost and toPort
withDirectSSL(Integer, String, Integer) - Method in class org.mockserver.proxy.http.HttpProxyBuilder
Configure a secure direct proxy that forwards all requests on the fromSecurePort to the toHost and toPort using SSL
withHTTPPort(Integer) - Method in class org.mockserver.mockserver.MockServerBuilder
Configure HTTP port for proxy, setting this value will ensure HTTP is supported
withHTTPPort(Integer) - Method in class org.mockserver.proxy.http.HttpProxyBuilder
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)
withHTTPSPort(Integer) - Method in class org.mockserver.proxy.http.HttpProxyBuilder
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)
withSOCKSPort(Integer) - Method in class org.mockserver.proxy.http.HttpProxyBuilder
Configure SOCKS port for proxy, setting this value will ensure SOCKS is supported Note: currently clients using SSL after connecting with SOCKS are not current supported
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.