| Package | Description |
|---|---|
| com.github.kristofa.test.http | |
| com.github.kristofa.test.http.file |
Provides implementations for storing http request/responses to disk using
LoggingHttpProxy and replaying them using
MockHttpServer. |
| Modifier and Type | Method and Description |
|---|---|
MockAndProxyFacade.Builder |
MockAndProxyFacade.Builder.httpRequestResponseLoggerFactory(HttpRequestResponseLoggerFactory loggerFactory)
Sets the
HttpRequestResponseLoggerFactory that will be used with LoggingHttpProxy. |
| Constructor and Description |
|---|
LoggingHttpProxy(int port,
Collection<ForwardHttpRequestBuilder> requestBuilders,
HttpRequestResponseLoggerFactory loggerFactory)
Create a new instance.
|
PassthroughLoggingHttpProxy(int port,
String targetDomain,
int targetPort,
HttpRequestResponseLoggerFactory loggerFactory)
Construct a new instance.
|
| Modifier and Type | Class and Description |
|---|---|
class |
HttpRequestResponseFileLoggerFactory
Factory that creates
HttpRequestResponseFileLogger instances. |
Copyright © 2014. All Rights Reserved.