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.

Author(s):
dominiek
 
public class PassthroughLoggingHttpProxy extends LoggingHttpProxy {

Construct a new instance.

Parameters:
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