Class HttpActionHandler
java.lang.Object
software.xdev.mockserver.mock.action.http.HttpActionHandler
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHttpActionHandler(ServerConfiguration configuration, io.netty.channel.EventLoopGroup eventLoopGroup, HttpState httpStateHandler, List<ProxyConfiguration> proxyConfigurations) -
Method Summary
Modifier and TypeMethodDescriptionstatic InetSocketAddressgetRemoteAddress(io.netty.channel.ChannelHandlerContext ctx) voidprocessAction(HttpRequest request, ResponseWriter responseWriter, io.netty.channel.ChannelHandlerContext ctx, Set<String> localAddresses, boolean proxyingRequest, boolean synchronous) static voidsetRemoteAddress(io.netty.channel.ChannelHandlerContext ctx, InetSocketAddress inetSocketAddress)
-
Field Details
-
REMOTE_SOCKET
-
-
Constructor Details
-
HttpActionHandler
public HttpActionHandler(ServerConfiguration configuration, io.netty.channel.EventLoopGroup eventLoopGroup, HttpState httpStateHandler, List<ProxyConfiguration> proxyConfigurations)
-
-
Method Details
-
processAction
public void processAction(HttpRequest request, ResponseWriter responseWriter, io.netty.channel.ChannelHandlerContext ctx, Set<String> localAddresses, boolean proxyingRequest, boolean synchronous) -
getHttpClient
-
getRemoteAddress
-
setRemoteAddress
public static void setRemoteAddress(io.netty.channel.ChannelHandlerContext ctx, InetSocketAddress inetSocketAddress)
-