com.github.kristofa.test.http
Class PassthroughLoggingHttpProxy

java.lang.Object
  extended by com.github.kristofa.test.http.LoggingHttpProxy
      extended by com.github.kristofa.test.http.PassthroughLoggingHttpProxy

public class PassthroughLoggingHttpProxy
extends LoggingHttpProxy

A LoggingHttpProxy that will behave as a pass-through proxy between the system-under-test and the external service.

Author:
dominiek

Constructor Summary
PassthroughLoggingHttpProxy(int port, String targetDomain, int targetPort, HttpRequestResponseLoggerFactory loggerFactory)
          Construct a new instance.
 
Method Summary
 
Methods inherited from class com.github.kristofa.test.http.LoggingHttpProxy
start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PassthroughLoggingHttpProxy

public PassthroughLoggingHttpProxy(int port,
                                   String targetDomain,
                                   int targetPort,
                                   HttpRequestResponseLoggerFactory loggerFactory)
Construct a new instance.

Parameters:
port - the local port.
targetDomain - the target domain.
targetPort - the target port.
loggerFactory - the HttpRequestResponseLoggerFactory.


Copyright © 2014. All Rights Reserved.