Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.github.kristofa.test.http;
A LoggingHttpProxy that will behave as a pass-through proxy between the system-under-test and the external service.

public class PassthroughLoggingHttpProxy extends LoggingHttpProxy {

Construct a new instance.

port the local port.
targetDomain the target domain.
targetPort the target port.
loggerFactory the HttpRequestResponseLoggerFactory.
	public PassthroughLoggingHttpProxy(int portString targetDomainint targetPortHttpRequestResponseLoggerFactory loggerFactory) {
		super(port, Collections.<ForwardHttpRequestBuilder>singleton(new PassthroughForwardHttpRequestBuilder(targetDomaintargetPort)), loggerFactory);
New to GrepCode? Check out our FAQ X